Paul Betts
03a88883b6
Fix build on OS X
2015-02-07 11:56:03 -08:00
Cheng Zhao
21ba5b867d
Merge branch 'master' into window-transparency
...
Conflicts:
script/lib/config.py
2015-01-12 13:39:32 -08:00
Cheng Zhao
ded58b8e65
mac: BrowserWindow.show() should also focus on window
2014-12-27 17:41:13 -08:00
Cheng Zhao
85685feff4
mac: Simplify frameless window dragging code
2014-12-23 15:55:56 -08:00
Cheng Zhao
5b312e8f64
mac: Fix a crash when closing window
2014-12-23 12:31:27 -08:00
Cheng Zhao
8506725b54
mac: Don't show title text in transparent window
2014-12-23 11:48:20 -08:00
Cheng Zhao
45c41fe880
mac: Use transparent window
2014-12-23 11:17: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
7457f81283
mac: Fix installing view on frameless window
...
Closes #601 .
2014-12-11 14:25:51 -08:00
Cheng Zhao
271eb63083
SetFullscreen => SetFullScreen
2014-11-25 14:34:14 +08:00
Cheng Zhao
3c7e5e47b8
mac: Implement window state events
2014-11-25 13:16:51 +08:00
Kevin Sawicki
b6b6fc3bfd
Remove All Rights Reserved after GitHub copyright
...
Closes #762
2014-10-31 11:17:05 -07:00
patr0nus
915a6196cc
Remove the deprecated convertScreenToBase and convertBaseToScreen.
2014-10-25 11:06:39 +08:00
Cheng Zhao
ab652b738c
mac: Should restart renderer when reloading
...
Fixes #692 .
2014-10-19 16:27:50 +08:00
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