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
Cheng Zhao
aa8f5e54df
dev-tools => devtools.
2014-08-28 16:00:29 +08:00
Cheng Zhao
8134585578
Remember loaded extensions.
2014-08-28 15:58:36 +08:00
Cheng Zhao
a59388ecdd
Add "dev-tools-opened" and "dev-tools-closed" events.
2014-08-28 14:25:00 +08:00
Cheng Zhao
fe9f94555b
win: Implement the filters option.
2014-08-06 21:51:36 +08:00
Cheng Zhao
0721b34847
mac: Implement the filters option.
2014-08-06 13:58:42 +08:00
Cheng Zhao
dc257f1f86
Add "filters" parameter for file dialogs.
2014-08-06 13:58:42 +08:00
Cheng Zhao
9c038a2402
Merge pull request #534 from hokein/hotkey
...
Implement global shortcut API, fixes #439
2014-08-03 22:34:59 +08:00
Haojian Wu
035679057e
Update GlobalShortcut API design.
...
* Rename Shortcut API to GlobalShortcut for better suite.
* Implement the new design interfaces.
* Put the chromium related source code to the same directory as in chrome.
2014-07-31 20:58:43 +08:00
Cheng Zhao
f3e49b0696
Fix typo.
2014-07-31 15:49:14 +08:00
Cheng Zhao
10c862f0bb
Add options defines.
2014-07-31 15:12:02 +08:00
Cheng Zhao
d993c92cea
Add content-tracing module.
2014-07-31 15:11:34 +08:00
Haojian Wu
4b3bd9c3cc
mac: Implement global keyboard shortcut API.
2014-07-31 09:12:41 +08:00
Cheng Zhao
5db31517cb
mac: Fix app.dock.show/hide, close #520 .
2014-07-29 22:31:51 +08:00
Cheng Zhao
365638f1d5
win: Remove dead menu code.
2014-07-21 11:23:01 +08:00
Cheng Zhao
b2afe7b3bf
win: Fix notify icon and context menu.
2014-07-11 19:42:53 +08:00
Cheng Zhao
8ecc4061a8
mac: Add app.dock.hide()/show() APIs, closes #422 .
2014-06-25 11:55:33 +08:00
Cheng Zhao
a8cb839734
webContents.executeJavaScript should run code after page is loaded.
...
Fixes atom/atom#1805 .
2014-06-16 09:10:41 +08:00
Cheng Zhao
5270eab512
Do not assume trailing callback in dialog API, fixes #395 .
2014-06-15 12:43:28 +08:00
Cheng Zhao
6c7fe80ec5
Bind TrayIcon to JS.
2014-05-30 23:57:54 +08:00
Cheng Zhao
2f5dfb1dc7
Do not init Menu lazily, otherwise empty menus would be invalid.
2014-05-27 09:10:54 +08:00
Cheng Zhao
9b8edeb609
Fix specs.
2014-05-26 13:01:26 +08:00
Cheng Zhao
15d9b320db
💄 Organize Menu and MenuItem's code.
2014-05-26 12:40:21 +08:00
Cheng Zhao
d38ffea4a3
win: Setting enabled/visiable should also update menu.
2014-05-26 12:00:20 +08:00
Cheng Zhao
dfa1ae1c20
win: Update states when setting checked property.
2014-05-26 11:34:36 +08:00
Cheng Zhao
6ee437e9bf
win: Force menuWillShow to be called when setting window menu.
2014-05-26 09:38:04 +08:00
Cheng Zhao
22927c9478
Fix error when showing empty menu.
2014-05-25 16:37:45 +08:00
Cheng Zhao
cd35430d0e
mac: Make sure menuWillShow is called when setting application menu.
2014-05-25 15:42:23 +08:00
Cheng Zhao
6a48568911
Radio menu items should have at least one item checked.
...
This is to force all platforms to match the same behavior in GTK+.
2014-05-25 15:25:36 +08:00
Cheng Zhao
aa17b3adc2
Setting a radio menu item should flip other items in the group.
2014-05-25 12:47:38 +08:00
Cheng Zhao
04fbec5120
Generate menu group id automatically.
...
In GTK+ radio menu items are managed automatically, so group id won't
have any effect there, in the meanwhile we need to maintain the same
behavior on all platforms, so we have to generate group id instead of
letting users specifying it.
2014-05-25 12:37:00 +08:00
Cheng Zhao
fd99d21c8f
Make menu's checked property flipped automatically, fixes #349 .
2014-05-25 11:32:29 +08:00
Cheng Zhao
d49060d659
Add "id" property for BrowserWindow, fixes #218 .
2014-05-22 09:51:58 +08:00
Cheng Zhao
972bb2e9fb
Make sure webContents is created when opening devtools.
...
Fixes atom/atom#2270 .
2014-05-20 20:58:11 +08:00
Pascal Borreli
831c7f5924
Fixed typos
2014-05-07 07:34:53 +01:00
Cheng Zhao
a69c312389
Fixes auto updater regression, closes atom/atom#1949 .
2014-05-07 11:32:06 +08:00
Cheng Zhao
a85db2d780
Deprecate the BrowserWindow.restart.
...
Now BrowserWindow.reload would just do the same thing.
2014-04-29 15:44:41 +08:00
Cheng Zhao
19698fc739
Move "restart()" API to webContents.
2014-04-29 15:22:06 +08:00
Cheng Zhao
1bba15cb7f
Avoid using processId and routingId directly.
2014-04-25 16:45:14 +08:00
Cheng Zhao
23ccad4915
Separate the webContents code in a new file.
2014-04-25 16:23:40 +08:00
Cheng Zhao
c0875864dc
Handle IPC messages in webContents instead of BrowserWindow.
2014-04-25 16:13:16 +08:00
Cheng Zhao
1815f8b40d
Make send and loadUrl also supported methods of BrowserWindow.
2014-04-25 13:14:11 +08:00
Cheng Zhao
c8a82e6e50
Move navigator related APIs to webContents.
2014-04-25 12:52:30 +08:00
Cheng Zhao
744895f9d8
Add destroyed event for webContents.
2014-04-25 11:59:33 +08:00
Cheng Zhao
859606e88c
Move webContents events away from window.
2014-04-25 11:51:05 +08:00
Cheng Zhao
9eeec9aa0b
Be safe on lifetime of webContents.
2014-04-25 11:22:51 +08:00
Cheng Zhao
b02bcc0016
Get webContents on request.
2014-04-25 10:57:45 +08:00
Cheng Zhao
c5f8fbf471
Add getter for devToolsWebContents.
2014-04-25 10:48:11 +08:00
Cheng Zhao
79babe858d
Move some APIs from Window to WebContents.
2014-04-24 17:00:41 +08:00