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