Paul Betts
0afac1e05a
Plumb code all the way up
2015-02-06 16:12:32 -08:00
Cheng Zhao
071a55974a
A little clean up
2015-02-05 00:19:30 -08:00
Cheng Zhao
7c8bed7bfc
Get the WebViewManager from embedder WebContents
...
This make our lives easier when we have multiple BrowserContext support.
2015-02-04 15:52:59 -08:00
Cheng Zhao
209840871c
Seperate the API implementation of WebViewManager
2015-02-04 15:39:41 -08:00
Cheng Zhao
331d0481bb
Move web_view_manager to atom/browser
2015-02-04 15:17:28 -08:00
Cheng Zhao
2c61070b36
Avoid using global BrowserContext
2015-02-04 15:08:29 -08:00
Cheng Zhao
502c0f0df7
Remove the WebViewRendererState class
2015-02-04 14:58:03 -08:00
Cheng Zhao
92142ee372
Fix the API to set opaque background
2015-01-27 13:18:31 -08:00
Cheng Zhao
43421aedcf
OVERRIDE macro is now removed
2015-01-27 13:18:30 -08:00
Cheng Zhao
20431f4f2f
No need to route via ATOM_INTERNAL_MESSAGE
2015-01-27 10:47:11 -08:00
Cheng Zhao
81b370ee9f
Implement CheckMediaAccessPermission, fixes #1017
2015-01-23 15:13:49 -08:00
Cheng Zhao
3d858bee95
Guard against bad events in screen module
...
It can happen that the DisplayObserver methods are called without a
valid Display object passed.
2015-01-19 14:46:29 -08:00
Cheng Zhao
7fbf4246ac
Add editing commands for WebContents
2015-01-19 12:09:47 -08:00
Cheng Zhao
4604c9bb0e
Add a few more paths for app.getPath
2015-01-18 21:43:23 -08:00
Cheng Zhao
ce52a87477
Add "cache" and "userCache" directories
2015-01-18 21:43:22 -08:00
Cheng Zhao
3d398458a8
Throw error when PathService call failed
2015-01-18 21:43:21 -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
45c26e0e5a
Add app.setDataPath API
2015-01-18 21:43:18 -08:00
Cheng Zhao
c6fb645f6b
Warning of app not ready in screen module
2015-01-18 21:42:46 -08:00
Cheng Zhao
b3c3556286
Update the displays when there is metrics change
2015-01-16 12:04:35 -08:00
Cheng Zhao
50b96ca7ef
Pass the display in screen events
2015-01-16 12:02:32 -08:00
Cheng Zhao
7749484628
Make getAllDisplays return current displays.
2015-01-16 11:39:25 -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
2d6dc9c527
Convert arguments to V8 directly in EventEmitter::Emmit
...
This gets rid of the extra conversion between ListValue.
2015-01-14 17:51:54 -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
ab83b21fa6
Use gfx::Image instead of gfx::ImageSkia in API
...
The gfx::Image can use NSImage directly as underlying format, so we
don't have to decode images ourselves on Mac, and we will also be able
to make use of template images.
2015-01-02 18:43:56 -08:00
Cheng Zhao
6cdc8e4b96
Small style fixes
2014-12-19 12:48:53 -08:00
Hajime Morrita
dc9329ff43
Add BrowserWindow.showDefinitionForSelection()
...
This API shows the system-provided pop-up dictionary.
Some Mac apps including Chrome have "Look Up in in Dictionary" context
menu item. This API can be used to implement it.
2014-12-18 16:45:45 -08:00
Cheng Zhao
47d7a355f2
Make file dialogs work in <webview>, fixes #930
2014-12-18 12:58:17 -08:00
Cheng Zhao
a1ae399d10
Make getUserMedia work in <webview>, fixes #845
2014-12-18 12:02:53 -08:00
Cheng Zhao
da54ac5f55
Don't leak listeners in embedder when guest is destroyed
2014-12-17 20:44:15 -08:00
Cheng Zhao
c2975d2bcc
Redirect BrowserWindow's "will-navigate" event to WebContents
2014-12-17 14:56:51 -08:00
Cheng Zhao
60df32aab5
Add "will-navigate" event for WebContents
2014-12-17 14:55:22 -08:00
Cheng Zhao
fd596d4a65
Add "will-navigate" event for BrowserWindow
2014-12-17 14:40:19 -08:00
Cheng Zhao
d50eeb04d5
Upgrade cpplint
2014-12-15 17:15:56 -08:00
Cheng Zhao
68381e1b76
Use element instant id for GetGuestByInstanceID
2014-12-09 14:38:43 -08:00
Cheng Zhao
882a08f61a
Fix browser plugin API changes
2014-12-08 09:00:00 -08:00
Cheng Zhao
7bc364a374
Upgrade node for new V8 API
2014-12-07 13:09:50 -08:00
Cheng Zhao
10823eeeaa
Fix compilation errors caused by Chrome 39
2014-12-07 07:43:26 -08:00
Cheng Zhao
f78f94d4f1
Fix building on Mac
2014-11-28 19:50:10 +08:00
Cheng Zhao
9f99209733
win: Add "balloon-show" and "balloon-closed" events
2014-11-28 19:42:57 +08:00
Cheng Zhao
210c97f957
win: Add "balloon-clicked" event for Tray
2014-11-28 18:50:31 +08:00
Cheng Zhao
8097cb2b9e
Add Tray.displayBallon API
2014-11-28 18:39:30 +08:00
Cheng Zhao
f6c66a7374
Add Tray.destroy() API, fixes #871
2014-11-28 18:06:51 +08:00
Cheng Zhao
86cf5e0028
OVERRIDE => override in atom_api_tray.h
2014-11-28 17:54:38 +08:00
Cheng Zhao
ff26c3c16f
Some coding style fixes
2014-11-28 15:59:03 +08:00
Cheng Zhao
8a736abac7
Merge pull request #870 from joaomoreno/popup
...
Allow positioning the context menu
2014-11-28 12:42:49 +08:00
Joao Moreno
c06e844ef4
fix build
2014-11-26 15:28:03 +01:00
Joao Moreno
46e6b5ec3e
Allow positioning the context menu
2014-11-26 13:54:05 +01:00
Benjamin Winkler
bf85e61dc2
fix typo in variable name
...
This is just for the looks. No errors where throws, because the variable
name was misspelled in all occurences.
2014-11-25 20:57:55 +01:00
Cheng Zhao
271eb63083
SetFullscreen => SetFullScreen
2014-11-25 14:34:14 +08:00
Cheng Zhao
b77e6c369a
x11: Implement window state events
2014-11-25 12:43:25 +08:00
Cheng Zhao
ee9964c141
AddUserTasks => setUserTasks
2014-11-17 19:32:11 +08:00
Cheng Zhao
0b1b0940d2
Enable setting icon for addUserTasks
2014-11-17 17:35:51 +08:00
Cheng Zhao
0db2769781
Only "title" and "program" are required for AddUserTasks
2014-11-17 17:26:44 +08:00
Cheng Zhao
47c18fef7f
win: Add app.addUserTasks API
2014-11-17 17:19:41 +08:00
Cheng Zhao
48412769df
win: Add app.clearRecentDocuments API
2014-11-17 16:13:47 +08:00
Cheng Zhao
c23ba7b504
mac: Add app.addRecentDocument API
2014-11-17 13:05:06 +08:00
Cheng Zhao
0e94977d42
Add app.dock.setMenu API
2014-11-16 23:04:31 +08:00
Cheng Zhao
ba4f502b1e
OVERRIDE => override in atom_api_app.h
2014-11-16 22:45:29 +08:00
Cheng Zhao
ab6cb042f6
OVERRIDE => override in atom_api_menu.h
2014-11-16 10:45:53 +08:00
Cheng Zhao
cb8f975528
Add JS menubar APIs
2014-11-12 20:31:55 +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
c5212b36f7
External links should have "foreground-tab" disposition
2014-11-04 18:49:57 +08:00
Cheng Zhao
f29c7164f3
Translate |disposition| to string
2014-11-04 18:12:57 +08:00
Cheng Zhao
013593ccf8
Emit "new-window" event for dispositions other than CURRENT_TAB
2014-11-04 17:59:15 +08:00
Cheng Zhao
4c12a4369d
Fixes Event.prevenDefault() not working, closes #771
2014-11-03 23:24:20 +08:00
Cheng Zhao
4ebe58df57
Also add closeDevTools and isDevToolsOpened for webview
2014-11-03 22:12:56 +08:00
Cheng Zhao
accd08a2bf
Show devtools for guest page in undocked mode
2014-11-03 21:48:25 +08:00
Cheng Zhao
1731d609b7
Fix double freeing WebContents
2014-11-03 19:45:09 +08:00
gray
6c3f065147
force devtools to show as undocked.
2014-11-02 11:32:06 -08:00
gray
45f4a25ac9
fix for cpplint
2014-11-02 07:32:33 -08:00
gray
f43c227806
update and document openDevTools on web view.
2014-11-02 07:20:10 -08:00
gray
368d23ef5b
add open devtools api to webview tag
2014-11-02 06:34:22 -08:00
Kevin Sawicki
b6b6fc3bfd
Remove All Rights Reserved after GitHub copyright
...
Closes #762
2014-10-31 11:17:05 -07:00
Cheng Zhao
9ed6ad8165
Forbid using protocol module before app is ready, fixes #661
2014-10-30 22:27:29 +08:00
Cheng Zhao
25f69df341
Throw error when BrowserWindow is created before app is ready
2014-10-30 21:32:35 +08:00
Cheng Zhao
0c21c863d7
Simplify the GuestWindowManager
...
Instead of recording guest explicitly in a map, we just make use of
closure for bookkeeping.
2014-10-28 18:51:28 +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
94818aef26
Set "defaultPrevented" when "preventDefault()" is called
2014-10-27 17:55:28 +08:00
Cheng Zhao
e9b344b200
OVERRIDE => override in atom_api_window.h
2014-10-27 16:58:35 +08:00
Cheng Zhao
e110f5c37c
Remove unneeded cleanup code
2014-10-25 23:09:45 +08:00
Cheng Zhao
194ed3884c
Add 'new-window' event for <webview>
2014-10-25 13:21:09 +08:00
Cheng Zhao
d8447524cb
Allow passing V8 objects in EventEmitter
2014-10-25 11:30:35 +08:00
Cheng Zhao
485bd7bbd3
Add 'close' and 'console-message' for <webview>
2014-10-25 10:01:19 +08:00
Cheng Zhao
d63f44cd07
Add more events for WebContents
2014-10-24 23:05:25 +08:00
Cheng Zhao
2d56067819
Fix creating window in <webview>
2014-10-24 22:14:12 +08:00
Cheng Zhao
a96cde254b
Send unhandled key event to embedder
2014-10-24 21:46:47 +08:00
Cheng Zhao
e214ce6bc4
Add WebContents.insertCSS
2014-10-24 21:04:50 +08:00
Cheng Zhao
1f08d50e98
Add WebContents.setUserAgent
2014-10-24 20:57:44 +08:00
Cheng Zhao
46ed83a057
Assign a new SiteInstance for guest
2014-10-24 20:20:56 +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
4f43c41577
Enable navigation from webview
2014-10-24 18:44:32 +08:00
Cheng Zhao
6336edbe92
Implement allowtransparency attribute
2014-10-24 16:48:21 +08:00
Cheng Zhao
993f66bd02
Fix initializing webview
2014-10-24 16:09:18 +08:00
Cheng Zhao
39e75574f4
Attach <webview> with guest WebContents
2014-10-24 14:37:14 +08:00
Cheng Zhao
2d8fe489a7
Add converters between gfx:: and v8
2014-10-24 12:48:52 +08:00
Cheng Zhao
dacbf7a042
Register guest web view
2014-10-23 23:08:48 +08:00
Cheng Zhao
a22a5c67bd
Implement GuestViewInternal.createGuest and destroyGuest
2014-10-23 17:54:52 +08:00
Cheng Zhao
d34cff2eef
api: Add webContent.create() to create detached WebContents
2014-10-23 14:04:13 +08:00
Cheng Zhao
c72d769ff0
Make WebContents cache object template
2014-10-23 13:31:10 +08:00
Cheng Zhao
141894aacd
Implement BrowserWindow::ShowInactive
2014-10-17 22:51:20 +08:00
Cheng Zhao
4ca6ac34ac
Do not create native Event object when not needed
2014-10-17 14:36:43 +08:00
Cheng Zhao
e4a71b86df
Caching object templates for Event, fixes #705
2014-10-17 13:53:18 +08:00
Cheng Zhao
a95679c212
Enable mnemonics in menu, fixes atom/atom#3844
2014-10-16 21:22:22 +08:00
Cheng Zhao
69a89303d0
Fix building on Linux
2014-10-13 11:03:56 +08:00
Cheng Zhao
32dff999a5
Fix API changes of Chrome 38
2014-10-11 19:11:34 +08:00
Cheng Zhao
909ff085ac
Add "quit" event for app.
2014-09-25 21:48:15 +08:00
Haojian Wu
d9ce3f0ca3
linux: Implement SetProgressBar API.
2014-09-18 19:26:52 +08:00
Haojian Wu
b5e82dac6f
win: Implement SetProgressBar API.
2014-09-17 09:42:47 +08:00
Cheng Zhao
67cbecaba0
mac: Add "double-clicked" event for Tray.
2014-09-09 19:45:21 +08:00
Cheng Zhao
ec1db0c7bb
mac: Add Tray.setHighlightMode API, fixes #425 .
2014-09-09 19:39:39 +08:00
Cheng Zhao
4330d67e0d
mac: Add Tray.setTitle API, fixes #560 .
2014-09-09 19:36:15 +08:00
Cheng Zhao
33b94edcf0
Use PersistentDictionary to store web perferences.
2014-09-09 14:13:21 +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
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
0b24883649
Merge pull request #599 from atom/printing
...
Add support for printing
2014-08-22 17:48:36 +08:00
Cheng Zhao
17c0888932
Make print settings optional.
2014-08-22 15:05:30 +08:00
Cheng Zhao
e43b3309af
Add "silent" and "print_background" option for printing.
2014-08-22 15:01:07 +08:00
Cheng Zhao
f28e4574b0
Simplify global-shortcut's code.
2014-08-22 10:53:37 +08:00
Cheng Zhao
11b9a06639
Add BrowserWindow.print() method.
2014-08-21 21:00:49 +08:00
Cheng Zhao
cfae3cd3af
Add app.resolveProxy API, fixes #545 .
2014-08-19 21:26:45 +08:00
Cheng Zhao
78afa29ade
Little formating on app.getDataPath.
2014-08-17 11:33:55 +08:00
Cheng Zhao
f96c6e4bd7
Merge pull request #578 from cornedor/appdata
...
Fixed #442 added app.getDataPath()
2014-08-16 20:34:01 +08:00
Corne Dorrestijn
54ee12308d
reused converted and fixed indentation
2014-08-15 16:52:16 +02:00
Cheng Zhao
1b70ca2098
Initialize job factory as early as possible.
...
Fixes atom/atom#3255 .
2014-08-15 11:35:13 +08:00
Corne Dorrestijn
e9879a3e4b
Removed whitespace and added vector import
2014-08-13 14:24:35 +02:00
Corne Dorrestijn
dec05988f4
Fixes for windows
2014-08-13 14:16:55 +02:00
Cheng Zhao
226cbda7a6
Avoid creating our own URLRequestContextGetter.
2014-08-13 17:40:31 +08:00
Corne Dorrestijn
be6599807d
Added getAppData function to the app api
2014-08-12 17:01:56 +02:00
Cheng Zhao
f60d8066f8
Use the function converter from native_mate.
2014-08-10 19:14:20 +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
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
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