Cheng Zhao
141894aacd
Implement BrowserWindow::ShowInactive
2014-10-17 22:51:20 +08:00
Haojian Wu
fa8e158587
mac: Fix dock progress bar doesn't show after hiding, fixes #658 .
2014-09-21 18:56:03 +08:00
Haojian Wu
d8f57a0ecc
Correct code style.
2014-09-18 16:48:00 +08:00
Haojian Wu
c5e0b65cc7
mac: Implement SetProgressBar API.
2014-09-18 10:20:55 +08:00
Cheng Zhao
700510d63a
mac: Don't activate window when showing.
2014-09-09 14:47:04 +08:00
Cheng Zhao
2a9f5a5fb8
Add "enable-larger-than-screen" option for BrowserWindow.
...
From now on BrowserWindow can only be resized larger than screen or
moved out of screen when this option is set to "true".
Fixes #582 .
2014-08-17 12:23:00 +08:00
Cheng Zhao
73bb05e530
mac: Make "Text to Speech" work, fixes atom/atom#3288 .
2014-08-17 11:30:26 +08:00
Cheng Zhao
4b90c02420
mac: Override system's default on resizing window no larger than screen.
2014-08-11 10:24:36 +08:00
Cheng Zhao
e3118359ad
Destroy web contents when window is closed.
...
Previously this was reverted because of Chromium's spammy error
loggings, but it also causes the renderer process not to exit when the
page has been closed. After fixing the spammy error logging, we can now
bring this back.
Fixes atom/atom#3141 .
2014-08-04 14:55:08 +08:00
Cheng Zhao
89f565906b
mac: No need to set wantsLayer, it is already done in brightray.
2014-07-31 18:02:12 +08:00
Cheng Zhao
6a5f732bba
mac: Emit focus/blur events after page has actually focus/blur-ed.
...
Otherwise the page would receive the blur event when it has not blured
yet.
Fixes atom/atom#3124 .
2014-07-31 17:35:08 +08:00
Cheng Zhao
ec4275ca13
Make sure window is closed before WebContents is destroyed.
...
Otherwise we would get "RawChannel fatal error".
2014-07-28 20:28:51 +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
Cheng Zhao
f7a9b56e93
mac: Make cmd+~ work for devtools window, fixes #508 .
2014-07-25 11:03:25 +08:00
Cheng Zhao
53c73c0631
mac: Fix crash when closing window, closes #504 .
2014-07-25 10:38:19 +08:00
Cheng Zhao
99ef165884
Merge pull request #493 from hokein/issue460
...
mac: Add BrowserWindow.getRepresentedFilename API, fixes #460 .
2014-07-24 21:10:43 +08:00
Cheng Zhao
640ac43059
mac: Fix the focus event of web contents.
2014-07-24 16:42:38 +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
949821f255
Use new devtools structure in brightray.
...
Fixes #210 .
Fixes #275 .
2014-07-02 16:38:11 +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
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
81eedd4faf
mac: Fix handling event from other windows.
2014-06-17 16:35:19 +08:00
Cheng Zhao
70d3365414
gtk: Add BrowserWindow.setSkipTaskbar API.
2014-06-16 10:29:51 +08:00
Cheng Zhao
b431566421
mac: Make sure web view is the first responder of window, fixes #382 .
2014-06-11 15:57:40 +08:00
Cheng Zhao
1d6b02f304
mac: Restore presentation options when leaving kiosk mode, fixes #272 .
2014-06-09 13:04:59 +08:00
Cheng Zhao
a7b730654c
mac: Add APIs on setting icon in titlebar.
2014-05-27 14:15:34 +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
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
074ac051d2
mac: Respect use-content-size when creating window.
2014-05-15 15:19:02 +08:00
Cheng Zhao
f176b2c58f
Switch to use MIT license.
2014-05-04 20:29:08 +08:00
Cheng Zhao
486dd9edfa
mac: Avoid sending "blur" event when closing window.
2014-04-24 16:17:35 +08:00
Cheng Zhao
1cb23a958c
Should send "closed" event when native window is closed.
2014-04-23 10:24:46 +08:00
Cheng Zhao
5c5cf3c66e
Fix a crash when destroying window.
2014-04-11 18:43:01 +08:00
Cheng Zhao
84d458687a
mac: Avoid managing NSWindow by hand.
2014-04-11 12:47:22 +08:00
Cheng Zhao
2ab5d6e35a
Remove unneeded accessor.
2014-04-11 12:45:48 +08:00
Cheng Zhao
d6079782d1
mac: InspectableWebContents should be destroyed before release NSWindow.
...
Fixes atom/atom#1841 .
2014-04-11 12:32:42 +08:00
Cheng Zhao
395eb067d1
mac: Do not destroy window immediately.
...
Fixes atom/atom#1841 .
2014-04-07 17:20:08 +08:00
Cheng Zhao
516d46444d
Move all sources under atom/.
2014-03-16 08:30:26 +08:00