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
6dc01945af
Make Accelerator a standalone JS type.
...
This makes menu and global-shortcut share the same code on accelerator.
2014-08-05 00:03:58 +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
b2217474c1
Nits: Fix code style.
2014-07-31 09:12:44 +08:00
Haojian Wu
ad827eee90
Emit failed message when fail to register shortcut.
2014-07-31 09:12:43 +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
1c415b0666
win: No more need to convert to DIP point for context menu.
2014-07-28 20:44:11 +08:00
Cheng Zhao
10c52bd6a6
Fix building on Linux.
2014-07-28 20:28:53 +08:00
Cheng Zhao
7a89a08534
Update to new Chromium APIs.
2014-07-28 20:28:49 +08:00
Cheng Zhao
ce50b38a75
Add BrowserWindow.isMaximized API.
2014-07-26 13:58:26 +08:00
Haojian Wu
6f231d5860
mac: Add BrowserWindow.isDoucumentEdited API, fixes #459 .
2014-07-24 16:01:04 +08:00
Haojian Wu
acb8b7771e
mac: Add BrowserWindow.getRepresentedFilename API, fixes #460 .
2014-07-24 15:59:35 +08:00
Cheng Zhao
21949e2f0c
views: Don't retain MenuRunner on heap.
...
Sometimes the MenuHost would crash when the window is closed, the author
didn't recommend using MenuRunner on stack, but since we always run the
menu synchronously, this is no problem.
2014-07-21 21:42:01 +08:00
Cheng Zhao
365638f1d5
win: Remove dead menu code.
2014-07-21 11:23:01 +08:00
Cheng Zhao
adec718503
win: Fix showing menu on High DPI display.
2014-07-13 22:22:56 +08:00
Cheng Zhao
b2afe7b3bf
win: Fix notify icon and context menu.
2014-07-11 19:42:53 +08:00
Cheng Zhao
8d4211bd3a
win: Fix compilation errors for chrome35.
2014-07-11 12:19:01 +08:00
Cheng Zhao
49160819d2
linux: Implement context menu with views.
2014-07-10 12:07:01 +08:00
Cheng Zhao
ee5312fff9
Merge branch 'master' into chrome35
...
Conflicts:
atom/browser/native_window_gtk.h
2014-07-07 23:49:28 +08:00
Cheng Zhao
3c892b8591
views: Make acceleratros work.
2014-07-04 16:54:10 +08:00
Cheng Zhao
61db17412c
Use views to implement NativeWindow and MessageBox on Linux.
2014-07-04 01:30:36 +08:00
Cheng Zhao
84878c4c77
Initial work for Aura on Linux.
2014-07-02 22:49:45 +08:00
Cheng Zhao
ba46f2c820
Use new context aware module API in builtin modules.
2014-06-29 20:48:44 +08:00
Cheng Zhao
cd4c5d976b
Adapt to API changes of Chromium and node.
2014-06-28 22:33:00 +08:00
Cheng Zhao
58ccb27792
There is no more node_isolate.
2014-06-28 19:49:55 +08:00
Cheng Zhao
e0e1d45859
Rename string16 to base::string16.
2014-06-28 19:49:22 +08:00
Cheng Zhao
c713deb1e8
Upgrade to new V8 APIs.
2014-06-28 19:31:23 +08:00
Anthony Van de Gejuchte
348dc8365b
Fix return types
2014-06-28 10:17:37 +09:00
Anthony Van de Gejuchte
dad7aa6a20
Add BrowserWindow::isMaximized.
2014-06-28 09:56:39 +09:00
Cheng Zhao
0440c59d18
Remove native_window's dead code.
2014-06-25 13:21:04 +08:00
Cheng Zhao
8ecc4061a8
mac: Add app.dock.hide()/show() APIs, closes #422 .
2014-06-25 11:55:33 +08:00
Cheng Zhao
84e2c35611
Use mate::Dictionary instead of base::DictionaryValue for options.
...
mate::Dictionary can represent arbitray type, which matches our use.
2014-06-23 21:56:22 +08:00
Cheng Zhao
70d3365414
gtk: Add BrowserWindow.setSkipTaskbar API.
2014-06-16 10:29:51 +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
7d38fe61d2
"did-finish-load" should only emit for main frame, fixes #385 .
2014-06-09 12:03:19 +08:00
Cheng Zhao
da31588e0d
mac: Implement the "click" event of TrayIcon.
2014-06-02 11:28:23 +08:00
Cheng Zhao
cbd9366898
Add "click" event for TrayIcon.
2014-06-02 11:08:29 +08:00
Cheng Zhao
9699dbb71f
gtk: Add app indicator support as tray icon.
2014-06-01 10:20:06 +08:00
Cheng Zhao
6c7fe80ec5
Bind TrayIcon to JS.
2014-05-30 23:57:54 +08:00
Cheng Zhao
a7b730654c
mac: Add APIs on setting icon in titlebar.
2014-05-27 14:15:34 +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
541b855512
Move the ability of calling _init to native_mate.
2014-05-27 08:47:53 +08:00