Cheng Zhao
cde6b41a05
Merge pull request #1730 from deepak1556/webview_navigation_patch
...
navigation: adding clearHistory method
2015-05-21 14:56:30 +08:00
deepak1556
b0e8cafa00
navigation: adding clearHistory method
2015-05-19 22:41:03 +05:30
deepak1556
ef30adcaef
navigation: fix accessing url from history array for goToIndex
2015-05-17 03:31:24 +05:30
Cheng Zhao
e817192df3
Make history.go work
2015-05-11 16:44:01 +08:00
Cheng Zhao
2bb7497312
Handle when in-page entries are cleared
2015-05-11 16:37:53 +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
40631edb70
Use Chrome's navigation controller for in-page navigations
2015-05-11 14:30:26 +08:00
Cheng Zhao
fc2bc20572
Determine wheter a navigation entry is in-page
2015-05-11 13:51:52 +08:00
deepak1556
9ab53b0e4b
protocol: adding error job to log error with custom protocols
2015-05-11 10:17:31 +05:30
Cheng Zhao
dde791d475
Allow calling goBack for multiple times
2015-04-27 15:11:59 +08:00
Cheng Zhao
0143a45488
Implement our own NavigationController
2015-04-27 15:11:59 +08:00
Cheng Zhao
6137c2317d
Improves #1373
...
* Don't pollute Menu API.
* Add examples in docs.
* Moves the docs from menu-item.md to menu.md.
2015-04-13 11:22:33 +08:00
Jesse Grosjean
c8a3c14a8c
Add position attribute for menu items
...
This commit adds a position attribute for menu items defined in menu
templates. When the final menu is built the position attribute is used
to determine menu item positions in a similar design to how Eclipse
positions menu items.
2015-04-07 11:14:28 -04:00
Cheng Zhao
32cd068427
Improve #1307
2015-03-27 16:24:33 +08:00
deepak1556
69d958b94e
providing option to undock devtools from browser-window
2015-03-27 13:32:08 +05:30
deepak1556
9eac8ef266
add protocol.RequestBuffer api
2015-03-19 09:36:57 +05:30
deepak1556
adb130cefa
define devToolsWebContents for use from remote module
2015-03-11 19:58:12 +05:30
deepak1556
0b780def24
avoid overriding type value of showMessageBox
2015-03-06 17:56:26 +05:30
Cheng Zhao
e81baf759a
Enable setting icon of menu item
2015-02-13 12:11:50 +08:00
Cheng Zhao
20431f4f2f
No need to route via ATOM_INTERNAL_MESSAGE
2015-01-27 10:47:11 -08:00
Cheng Zhao
a988b48016
Implement app.getHomeDir with app.getPath
2015-01-18 21:43:20 -08:00
Cheng Zhao
06da5f254a
Add app.setPath and app.getPath APIs
...
They can be used to set/get any path defined in PathService
2015-01-18 21:43:19 -08:00
Cheng Zhao
b5898d3355
Add events on display add/remove.
2015-01-16 11:01:38 -08:00
Cheng Zhao
809c995c0b
Make "screen" module a browser module
2015-01-16 11:01:38 -08:00
Cheng Zhao
1a1cf57097
Unpack the arguments in ipc message
2015-01-14 19:33:24 -08:00
Cheng Zhao
ecb9e93394
File dialogs don't need icon
2015-01-05 15:29:26 -08:00
Cheng Zhao
8457090b18
Add "icon" option for message box
2015-01-05 15:08:42 -08:00
Cheng Zhao
c2975d2bcc
Redirect BrowserWindow's "will-navigate" event to WebContents
2014-12-17 14:56:51 -08:00
Joao Moreno
46e6b5ec3e
Allow positioning the context menu
2014-11-26 13:54:05 +01:00
Cheng Zhao
0e94977d42
Add app.dock.setMenu API
2014-11-16 23:04:31 +08:00
Cheng Zhao
fbd74c0e2d
Various fixes of #801
2014-11-12 10:28:50 +08:00
Frank Hale
747698fe9b
Fix code style formatting
...
- Fix code style formatting to be <= 80 lines
- Add default parameter for urlOptions to loadUrl, reload and
reloadIgnoringCache functions to be compatible with old API.
2014-11-11 13:33:15 -05:00
Frank Hale
ef255db069
Making Http Referrer addition better!
...
- Code cleanup
2014-11-07 21:54:36 -05:00
Frank Hale
f56d1ea7b4
Add support for setting http referrer
...
- Add url option to specify the http referrer
- Add httpReferrer attribute to webview
NOTE: This is still not complete. Some love has to be done to
guest-view-manager.coffee and very likely the function calls called
createGuest and to the code that uses them.
2014-11-06 14:29:41 -05:00
Cheng Zhao
058046304d
Forbid using dialog module before app is ready
2014-11-05 19:50:24 +08:00
Cheng Zhao
490a12d38a
Add dialog.showErrorBox API
2014-11-05 16:04:39 +08:00
Cheng Zhao
f29c7164f3
Translate |disposition| to string
2014-11-04 18:12:57 +08:00
Cheng Zhao
9ed6ad8165
Forbid using protocol module before app is ready, fixes #661
2014-10-30 22:27:29 +08:00
Cheng Zhao
cc9ff77dd2
Make <a target="_blank"> open window by default
2014-10-27 23:46:47 +08:00
Cheng Zhao
6f41598962
Use GuestWindowManager to mange windows created by window.open
2014-10-27 21:56:04 +08:00
Cheng Zhao
fefeb39757
Add "frameName" as paramter for "new-window" event
2014-10-27 19:14:57 +08:00
Cheng Zhao
389e56ce36
Route window.open to "new-window" event
2014-10-27 18:52:55 +08:00
Cheng Zhao
e110f5c37c
Remove unneeded cleanup code
2014-10-25 23:09:45 +08:00
Cheng Zhao
58a38d90b8
Don't fork renderer process for guest
2014-10-24 19:08:26 +08:00
Cheng Zhao
4ccb0cccf3
Rename web-view module to web-frame
2014-10-24 18:45:03 +08:00
Cheng Zhao
6336edbe92
Implement allowtransparency attribute
2014-10-24 16:48:21 +08:00
Cheng Zhao
39e75574f4
Attach <webview> with guest WebContents
2014-10-24 14:37:14 +08:00
Cheng Zhao
d34cff2eef
api: Add webContent.create() to create detached WebContents
2014-10-23 14:04:13 +08:00
Jeffrey Morgan
8367071dc6
Fixing dialog api parameter parsing
2014-09-07 15:14:43 -07:00
Cheng Zhao
19b25c0d83
Make dialog API's parameters more flexible.
2014-09-06 18:56:28 +08:00