evgenyzinoviev
b75dccb0be
arguments handing rewritten, doc updated
2016-01-15 17:31:31 +01:00
evgenyzinoviev
2598b00b41
Animate window resizing on OS X
2016-01-15 05:59:58 +01:00
Omri Litov
3f0c007578
Added getNativeWindowHandle
2016-01-07 22:38:35 +02:00
Cheng Zhao
e90435e236
Remove visual artifacts of hidden-inset window
2015-12-23 12:38:11 +08:00
jaanus
aa2f7aaf3a
Fixes #2810 : correct look of hidden-inset windows in full screen.
...
`hidden` and `hidden-inset` windows differ only by the hidden-inset window having a toolbar. Yet, the toolbar yields an incorrect look in fullscreen mode. So, we hide and recreate the toolbar for such windows when going to/from fullscreen.
There are some visible artifacts during the fullscreen animations, as the toolbar gets created and destroyed. When entering fullscreen, you see a toolbar that then disappears. When going back to normal window, you see the traffic light buttons jump around a little bit. Yet, this is definitely better than the current broken fullscreen look.
2015-12-22 20:31:55 +02:00
billyct
5f092a6c65
support an api with SetIgnoreMouseEvents, and worked fine with osx
2015-12-06 10:14:54 +08:00
Cheng Zhao
e36d455d51
Add setBackgroundColor method
2015-10-23 11:35:33 +08:00
Cheng Zhao
d092c6acc9
osx: Implement draggable region with mouseDownCanMoveWindow
...
Previously we implemented draggable region by tracking mouse position,
it is buggy and causing some problems. But it is interesting that until
this didn't cause troubles until recently.
2015-10-21 08:54:46 +08:00
Cheng Zhao
8577f2b52f
osx: Add NativeWindow::SetSizeConstraints
2015-10-05 20:07:20 +08:00
Cheng Zhao
290b221d79
mac: Do not set rounded corner by adding layer
2015-08-26 15:58:44 +08:00
Cheng Zhao
58c0486236
Remove duplicate UpdateDraggableRegions
2015-08-05 12:32:22 +08:00
Cheng Zhao
fb5fe7a714
Decouple WebContentsDelegate from NativeWindow
2015-06-25 11:07:23 +08:00
Cheng Zhao
5236b0c067
Don't create WebContents in NativeWindow
2015-06-25 09:47:57 +08:00
Cheng Zhao
0d4d2080ca
Implement size and position APIs with bounds API
2015-05-04 12:47:56 +08:00
deepak1556
9ae59e8ac7
removed move utility and replaced with setbounds
2015-05-01 20:10:46 +05:30
deepak1556
ae6a1b409f
window: adding setBounds and getBounds api
2015-05-01 16:20:53 +05:30
deepak1556
20b4cae980
window: supports HTML5 fullscreen api
2015-04-23 12:14:29 +05:30
Haojian Wu
0342854e25
Update workspace visible APIs.
2015-03-29 10:01:52 +08:00
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
62f9c3def0
mac: Don't rely on autorelease to delete window delegate
...
When quiting while closing window, it will leave the window delegate out
of the autorelease pool and crash.
Fixes #881 .
2015-03-25 18:51:29 +08:00
Paul Betts
86de75deef
Style fixups
2015-02-10 17:14:26 -08:00
Paul Betts
03a88883b6
Fix build on OS X
2015-02-07 11:56:03 -08:00
Cheng Zhao
85685feff4
mac: Simplify frameless window dragging code
2014-12-23 15:55:56 -08:00
Cheng Zhao
4ca0458b37
OVERRIDE => override in native_window_mac.h
2014-12-23 15:31:39 -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
Kevin Sawicki
b6b6fc3bfd
Remove All Rights Reserved after GitHub copyright
...
Closes #762
2014-10-31 11:17:05 -07:00
Cheng Zhao
141894aacd
Implement BrowserWindow::ShowInactive
2014-10-17 22:51:20 +08:00
Haojian Wu
c5e0b65cc7
mac: Implement SetProgressBar API.
2014-09-18 10:20:55 +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
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
70d3365414
gtk: Add BrowserWindow.setSkipTaskbar API.
2014-06-16 10:29:51 +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
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
1cb23a958c
Should send "closed" event when native window is closed.
2014-04-23 10:24:46 +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
516d46444d
Move all sources under atom/.
2014-03-16 08:30:26 +08:00