Cheng Zhao
d78efe7c22
Use Local instead of Handle
2015-05-22 19:11:22 +08:00
deepak1556
9a60fde59b
alias move and moved event on OS X
2015-05-22 12:24:12 +05:30
Robo
1b1735bca9
avoid unnecessary api calls
2015-05-22 12:13:00 +05:30
deepak1556
3a5977e09f
window: adding resize and move events
2015-05-22 12:13:00 +05:30
deepak1556
f2d91bc53c
adding events to notify fullscreen state
2015-05-21 10:16:11 +05:30
deepak1556
9963ddc485
implement method on browser window
2015-05-18 20:08:08 +05:30
deepak1556
ae6a1b409f
window: adding setBounds and getBounds api
2015-05-01 16:20:53 +05:30
Robo
3aefa5f549
browserWindow: adding devtools-focused event
2015-04-02 12:23:57 +05:30
Cheng Zhao
3b1be743ef
Merge pull request #1309 from hokein/workspace-visible-api
...
Add workspace visible APIs
2015-03-29 20:37:07 +08:00
Haojian Wu
0342854e25
Update workspace visible APIs.
2015-03-29 10:01:52 +08: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
Haojian Wu
476b61322f
Add SetVisibleOnAllWorkspaces/IsVisibleOnAllWorkspaces API.
...
These two APIs are only available on OS X/Linux platforms.
2015-03-26 14:18:37 +08:00
Cheng Zhao
a4342fd5ba
Unify how we throw exceptions
2015-03-26 11:34:41 +08:00
Cheng Zhao
9bae54f917
Avoid extra copy of data in capturePage
2015-03-20 10:26:42 +08:00
Cheng Zhao
da407200d2
Return NativeImage in BrowserWindow.capturePage
2015-02-12 13:45:50 +08:00
Paul Betts
86de75deef
Style fixups
2015-02-10 17:14:26 -08:00
Paul Betts
f55379ed5b
Add missing trampoline method
2015-02-06 17:07:29 -08:00
Paul Betts
1b9649b481
Switch to gfx::Image
2015-02-06 17:00:26 -08:00
Paul Betts
0afac1e05a
Plumb code all the way up
2015-02-06 16:12:32 -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
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
c2975d2bcc
Redirect BrowserWindow's "will-navigate" event to WebContents
2014-12-17 14:56:51 -08:00
Cheng Zhao
fd596d4a65
Add "will-navigate" event for BrowserWindow
2014-12-17 14:40:19 -08:00
Cheng Zhao
7bc364a374
Upgrade node for new V8 API
2014-12-07 13:09:50 -08: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
cb8f975528
Add JS menubar APIs
2014-11-12 20:31:55 +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
Kevin Sawicki
b6b6fc3bfd
Remove All Rights Reserved after GitHub copyright
...
Closes #762
2014-10-31 11:17:05 -07: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
389e56ce36
Route window.open to "new-window" event
2014-10-27 18:52:55 +08:00
Cheng Zhao
2d8fe489a7
Add converters between gfx:: and v8
2014-10-24 12:48:52 +08:00
Cheng Zhao
d34cff2eef
api: Add webContent.create() to create detached WebContents
2014-10-23 14:04:13 +08:00
Cheng Zhao
141894aacd
Implement BrowserWindow::ShowInactive
2014-10-17 22:51:20 +08:00
Haojian Wu
b5e82dac6f
win: Implement SetProgressBar API.
2014-09-17 09:42:47 +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
11b9a06639
Add BrowserWindow.print() method.
2014-08-21 21:00:49 +08:00
Cheng Zhao
f60d8066f8
Use the function converter from native_mate.
2014-08-10 19:14:20 +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
ee5312fff9
Merge branch 'master' into chrome35
...
Conflicts:
atom/browser/native_window_gtk.h
2014-07-07 23:49:28 +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
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
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
a7b730654c
mac: Add APIs on setting icon in titlebar.
2014-05-27 14:15:34 +08:00
Cheng Zhao
541b855512
Move the ability of calling _init to native_mate.
2014-05-27 08:47:53 +08:00
Gavin M. Roy
b08ec402d2
Add a focus
event to BrowserWindow
...
- Tested in OSX
- Untested in GTK, but I expect it should work
- Did not see any similar constructs for notifications in Windows
2014-05-21 13:46:13 -04:00
Cheng Zhao
972bb2e9fb
Make sure webContents is created when opening devtools.
...
Fixes atom/atom#2270 .
2014-05-20 20:58:11 +08:00
Cheng Zhao
5150fd6946
Add BrowserWindow::setContentSize.
2014-05-15 16:06:12 +08:00
Cheng Zhao
76cc3eeb6d
Get BrowserWindow::getContentSize API.
2014-05-15 15:30:04 +08:00
Cheng Zhao
f176b2c58f
Switch to use MIT license.
2014-05-04 20:29:08 +08:00
Cheng Zhao
c8a82e6e50
Move navigator related APIs to webContents.
2014-04-25 12:52:30 +08:00
Cheng Zhao
4135040449
Move loading events to webContents.
2014-04-25 12:22:16 +08:00
Cheng Zhao
859606e88c
Move webContents events away from window.
2014-04-25 11:51:05 +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
Cheng Zhao
26e93e8798
Initial empty api_web_contents.
2014-04-24 16:45:25 +08:00
Cheng Zhao
e8bf798b52
Fix using an null dictionary.
2014-04-24 11:25:06 +08:00
Cheng Zhao
babfbe40d2
Fix the capturePage method.
2014-04-23 11:39:40 +08:00
Cheng Zhao
0eb982a972
Make sure window object is destryed.
2014-04-23 10:53:07 +08:00
Cheng Zhao
8417f158b4
Do not free memory used by native window immediately.
...
Otherwise we would have two ways to destroy a window, making code much
more complicated.
2014-04-23 09:53:38 +08:00
Cheng Zhao
db39910455
Remove window from observers when it's closed instead of deleted.
2014-04-23 09:25:04 +08:00
Cheng Zhao
bccbc5e821
Fix parameter detection in capturePage.
2014-04-23 09:09:28 +08:00
Cheng Zhao
5a316c0c41
Free memory when native window is closed.
2014-04-23 08:50:26 +08:00
Cheng Zhao
a040a96652
Discard all our custom V8 helpers, use native-mate instead.
2014-04-22 23:07:21 +08:00
Cheng Zhao
5dae7b8658
Put converters under atom/common/native_mate_converters.
2014-04-17 13:45:14 +08:00
Cheng Zhao
d7a54cf3a6
Add API to execute javascript in devtools.
2014-04-08 12:50:12 +08:00
Cheng Zhao
f5fc26d8fc
Enable getting a window according to its attached devtools.
2014-04-04 22:28:18 +08:00
Cheng Zhao
d7261073e7
Free window object immediately in destory().
...
This put everything back to the original design, since now it's not
possible to destory a window while a context menu is showing.
2014-03-26 09:58:40 +08:00
Cheng Zhao
8b41e78245
Fix a possible crash when destroying window.
...
It could happend that the JS BrowserWindow object being double deleted
when calling the destroy() method.
2014-03-26 09:14:05 +08:00
Cheng Zhao
679959eeb5
BrowserWindow.destroy() should not delete window immediately.
...
It could cause crash when context menu is showing.
2014-03-25 17:00:03 +08:00
Cheng Zhao
2d808d30a2
Bring back build/include_order cpplint.
2014-03-16 09:13:06 +08:00
Cheng Zhao
516d46444d
Move all sources under atom/.
2014-03-16 08:30:26 +08:00