Cheng Zhao
dbecc8d5f5
Merge pull request #1701 from CharlieHess/paste-and-match-style
...
Paste and Match Style
2015-05-20 23:12:46 +08:00
Cheng Zhao
4ae1998d09
Revert #1604
2015-05-20 20:35:54 +08:00
deepak1556
04b797ff0c
webContents: providing response headers in did-get-response-details event
2015-05-20 15:54:30 +05:30
deepak1556
c548b9c87e
webContents: adding events to detect gpu and plugin process crashes
2015-05-20 15:05:48 +05:30
Paul Betts
5ee0ff9ee9
Fixup code review items
2015-05-19 14:27:15 -07:00
Paul Betts
22f51372f5
Fix typo
2015-05-19 14:27:15 -07:00
Paul Betts
e4d90f747f
Pass user agent along like http referrer and set user agent in C++
2015-05-19 14:27:15 -07:00
Paul Betts
4a8d7c1819
Right before navigate, set the user agent
2015-05-19 14:27:15 -07:00
Paul Betts
3a81a5224d
Set up a class for it in web-view-attributes
2015-05-19 14:27:14 -07:00
Paul Betts
3993161a63
Define a new useragent attribute on WebView tag
2015-05-19 14:27:14 -07:00
Charlie Hess
3913e18447
Add WebContents API for PasteAndMatchStyle.
2015-05-15 00:15:19 -07:00
Cheng Zhao
e817192df3
Make history.go work
2015-05-11 16:44:01 +08:00
Cheng Zhao
82ffa4d2b1
Send history operations as asynchronous messages
...
Sending as sync message will cause weird results for
NavigationController
2015-05-11 16:03:25 +08:00
Cheng Zhao
4d1cd7e15f
Redirect history operations in renderer to browser
2015-05-11 14:29:44 +08:00
deepak1556
22c50d0800
webContents: removing getFavicon api
2015-05-04 13:39:13 +05:30
Paul Betts
e2ec50173f
Log errors in preload script instead of rethrowing
...
At some point, unhandled errors in preload scripts stopped being logged
to console, meaning that preload scripts were very difficult to debug.
Instead, print the error to console (which is what we wanted to have
happen anyways)
2015-05-01 16:11:56 -07:00
deepak1556
8c5f171a93
webContents: providing dom-ready event
2015-04-30 09:58:29 +05:30
Cheng Zhao
23afffa46d
Chaning src of webview should always do a load
...
Previously changing src to the same value won't have any effect, which
does not follow the behavior of browsers.
2015-04-29 17:57:16 +08:00
Cheng Zhao
858198a2bd
Merge pull request #1461 from deepak1556/webview_devtools_patch
...
webview: add inspectElement method
2015-04-25 16:14:13 +08:00
deepak1556
18b3dfa350
removed will-navigate and did-navigate events
2015-04-25 09:50:28 +05:30
deepak1556
05be71e9bc
fix getFavcion api in webview to return dataUrl
2015-04-25 09:50:28 +05:30
deepak1556
36819e2638
added did-navigate event, getFavicon api and workaround webview spec
2015-04-25 09:50:28 +05:30
deepak1556
9b585458c1
webview: will-navigate and page-favicon-set navigation events
2015-04-25 09:50:28 +05:30
deepak1556
cdb1711fe1
webview: add inspectElement method
2015-04-23 15:18:13 +05:30
Cheng Zhao
cd0aa4a956
Merge pull request #1389 from atom/rename-to-electron
...
Rename to electron
2015-04-17 15:22:07 +08:00
Cheng Zhao
2d8d328f02
Rename hard-coded application names in code
2015-04-14 15:55:41 +08:00
deepak1556
15a648a879
webContents: event to detect status of requested resource
2015-04-08 19:14:47 +05:30
Robo
87af6f9c80
webview: adding page-title-set event
2015-04-05 14:50:42 +05:30
Cheng Zhao
d46c64f64b
Clean up WebView's ipc listeners when detached, fix #1185
2015-03-23 23:07:53 +08:00
Cheng Zhao
ceccf1b48a
Fix devtools override for its new architecture
2015-03-18 09:57:44 +08:00
Cheng Zhao
eb31df2940
Rename FakeWindow to BrowserWindowProxy
2015-03-04 08:46:45 -08:00
Cheng Zhao
99f6bf045f
Improve #1137
2015-03-04 07:58:06 -08:00
Cheng Zhao
fac9ea3356
Merge pull request #1137 from bundyo/implement-some-popup-methods
...
Implement FakeWindow.postMessage, window.opener.postMessage and window.closed flag for popup windows
2015-03-04 07:28:33 -08:00
Bundyo
dbbc35bd13
Fixes after code review.
2015-03-04 11:29:52 +02:00
Cheng Zhao
54c948409e
Merge pull request #1167 from mal/patch-1
...
Prevent overflow on webview with height: 100%
2015-02-27 15:30:17 -08:00
Mal Graty
7eecb84898
Prevent overflow on webview with height: 100%
...
Without this, the object element gets displayed `inline` which in chromium means that it slightly exceeds it's bounds. Unfortunately there's no nice way to mitigate this issue as I can't find a way to get extra css into this intermediate page. However, forcing a block display solves the issue.
2015-02-21 22:34:57 +00:00
Bundyo
43e44f8c35
Fix window.open options parsing:
...
remove excessive whitespace (gets inserted in property names),
avoid creating dummy properties if not needed,
turn 1/0 to true/false, convert integer strings to strings (fixes width/height).
2015-02-18 14:36:05 +02:00
Bundyo
4e82f4c672
Remove two semicolons.
2015-02-13 18:54:18 +02:00
Bundyo
7fa1296a17
Implement FakeWindow.postMessage, window.opener.postMessage and window.closed flag for popup windows.
2015-02-13 18:45:12 +02:00
Cheng Zhao
4834eed520
Set process.resourcesPath in C++
2015-02-13 13:32:58 +08:00
Cheng Zhao
0b8efc434d
Use __dirname when setting globalPaths
2015-02-13 12:55:06 +08:00
Cheng Zhao
23b5c1f782
Cleanup usaages of asar: protocol
2015-01-31 18:50:26 -08:00
Cheng Zhao
4217b70331
Return null in window.open if failed to open new window, fixes #1067
2015-01-28 21:07:57 -08:00
Cheng Zhao
a10782cdea
Don't rely on the global process object for message dispatching
2015-01-26 18:42:43 -08:00
Cheng Zhao
4ba3e101f6
Clean the init.coffee
2015-01-21 17:38:26 -08:00
Cheng Zhao
ef15b670a9
Initialize node integration after window object is cleared
2015-01-21 16:40:19 -08:00
Cheng Zhao
7e33e26465
Add atom-shell bindings before loading environment
2015-01-21 15:02:09 -08:00
Cheng Zhao
ff856e679d
Make editing commands available in <webview>
2015-01-19 12:15:07 -08:00
Cheng Zhao
b4cdb546fe
Don't set contentWindow property for <webview>
...
This property is only available in Chrome and we don't need it in
atom-shell, so remove it to avoid confusions.
Fixes #997 .
2015-01-12 14:17:49 -08:00
Cheng Zhao
da54ac5f55
Don't leak listeners in embedder when guest is destroyed
2014-12-17 20:44:15 -08:00