Cheng Zhao
fb7e7b315c
mac: Close all child windows before closing current window
2016-06-20 11:16:41 +09:00
Cheng Zhao
fd42e3dc84
mac: Add win.setParentWindow(parent) API
2016-06-20 11:16:41 +09:00
Cheng Zhao
6f4899bd94
Merge pull request #6068 from electron/redispatch-events
...
Redispatch events to handle native OSX shortcuts
2016-06-19 11:22:02 +00:00
Leonard Lamprecht
67dd19ed0f
Replace OS X and Mac OS with macOS
2016-06-18 15:26:26 +02:00
Kevin Sawicki
0e65977a3c
Use EventDispatchingWindow from brightray
2016-06-17 11:11:50 -07:00
Kevin Sawicki
1762599df0
Remove unused variable
2016-06-17 09:12:59 -07:00
Kevin Sawicki
a2bbfea9e0
Redispatch events to handle native shortcuts
2016-06-17 09:12:59 -07:00
Cheng Zhao
57ed682e34
Merge pull request #6091 from electron/icon-progress-crash
...
Fix crash setting progress after setting dock icon
2016-06-17 03:29:49 +00:00
Cheng Zhao
6b20d6c189
Don't change the behavior of transparent window
2016-06-17 11:02:37 +09:00
Cheng Zhao
9eea973d31
Use the setTitleVisibility to control tittlebar's visibility
2016-06-17 10:54:50 +09:00
Kevin Sawicki
5f0238ebf4
Add subview whenever content view is empty
2016-06-16 14:57:23 -07:00
bridiver
2094b39460
set the title for hidden and hidden-inset windows so they show up in the window menu list
...
fixes #6088
2016-06-16 13:12:53 -07:00
Cheng Zhao
8eca728e0a
Add focusable option
2016-06-13 17:10:28 +09:00
Milan Burda
7a1d1ee0ea
Add BrowserWindow.prototype.setIgnoreFocus
2016-06-12 20:20:57 +02:00
Kevin Sawicki
9f93f4e27f
Set maximizable state after installing view
2016-06-08 13:56:45 -07:00
Kevin Sawicki
70996c79ba
Add showDefinitionForSelection webContents proxy method
2016-06-08 10:19:43 -07:00
Kevin Sawicki
6360a5cae4
Add deprecation TODO for BrowserWindow.showDefinitionForSelection
2016-06-08 10:15:36 -07:00
Cheng Zhao
b444211d6f
Fix title of frameless window showing as empty under fullscreen
2016-06-07 17:26:26 +09:00
Cheng Zhao
a176aaee01
Merge pull request #5734 from danhp/fix-aspect-ratio
...
Fix 'setAspectRatio(0)' not resetting the default behaviour.
2016-05-30 01:14:03 +00:00
Kevin Sawicki
b465f2c3c4
Remove duplicate hidden-inset check
2016-05-27 13:27:35 -07:00
Daniel Pham
0c710fce33
🍎 Fix 'setAspectRatio(0)' not resetting the default behaviour.
2016-05-27 08:56:34 -04:00
Daniel Pham
d1c302800f
Fix: Properly notify observers when window prevents close
2016-05-25 19:26:57 -04:00
Cheng Zhao
9f858e1243
Merge branch 'master' into chrome51
2016-05-23 19:49:43 +09:00
Cheng Zhao
1b9bced8c0
Merge pull request #5644 from leethomas/fix/osx-aspect-ratio
...
🍎 let Cocoa handle keeping aspect ratio on window resize
2016-05-23 08:15:44 +00:00
leethomas
de27b34891
disregard extraSize when initially setting the aspect ratio
2016-05-22 19:09:21 -07:00
Cheng Zhao
7ba391da7c
Update to API changes of Chrome 51
2016-05-23 10:59:39 +09:00
leethomas
1d61f987cb
code styling
2016-05-22 18:59:00 -07:00
leethomas
09de0c2766
call base SetAspectRatio in NativeWindowMac implementation
2016-05-22 17:22:57 -07:00
leethomas
ac6e4aff5e
comments
2016-05-22 17:00:14 -07:00
leethomas
7aaf974362
override SetAspectRatio for NativeWindowMac
2016-05-22 16:50:50 -07:00
leethomas
8f7a04f9c3
🍎 let Cocoa handle keeping the aspect ratio whenever the edges are dragged
2016-05-22 15:43:47 -07:00
leethomas
359123458d
🍎 allow x-axis offset to be set for sheets
2016-05-18 23:45:54 -07:00
Cheng Zhao
5f6c468f0f
Handle keyboard events for WebContents that do not have owner window
2016-05-18 13:57:48 +09:00
Cheng Zhao
13bfb099a2
Fix the toolbar showing when titleBarStyle is hidden-inset
2016-05-17 16:25:18 +09:00
Cheng Zhao
f53aabaef5
Implement titleBarStyle without using NSFullSizeContentViewWindowMask
2016-05-17 15:48:14 +09:00
Milan Burda
e1516d4244
Fix BrowserWindow.maximize/unmaximize on Mac
2016-04-23 01:16:31 +02:00
Cheng Zhao
18f5fcde60
Fix some coding style issues
2016-04-20 09:18:50 +09:00
Ben Gotow
65c37fe64b
Create local variable to typecast view
2016-04-16 10:57:39 -04:00
Ben Gotow
c87c49f4c8
Allow sheets to be attached at a custom offset #4679
...
Adds a new "setSheetOffset" API to the `dialog` module, which allows you to change the attachment point for sheets on Mac OS X. I put the API on the dialog module, even though Mac OS X requires that the native window hold and return the desired offset.
1. I was originally hoping to make this an argument on the actual dialog.show* calls, but it seems the parameter set is defined in `libchromiumcontent` and I wasn't sure it would be appropriate to add there?
2. The API could also be on the BrowserWindow (eg `BrowserWindow.setSheetOffset`). I don't have a strong preference, but I think it's more discoverable on the `dialog` module.
2016-04-16 10:16:43 -04:00
Cheng Zhao
b84a178ceb
Set the backgroundColor of RenderWidgetHostView
2016-04-14 21:52:17 +09:00
Cheng Zhao
f94661547c
mac: backgroundColor should not change titlebar color
2016-04-03 11:59:21 +09:00
Cheng Zhao
1980d85f3e
Fix converting SkColor to NSColor
...
Close #4992 .
2016-04-02 21:18:15 +09:00
Cheng Zhao
cb470cb94b
Use BrowserWindow's backgroundColor as renderer view's background color
2016-04-02 20:46:50 +09:00
James Wheare
8482109dea
Switch to a single OS X swipe event with a direction argument
2016-03-23 15:20:11 +00:00
James Wheare
03319a5426
OSX: Capture 3-finger swipe events in NativeWindow
2016-03-18 15:21:19 +00:00
Arek Sredzki
fcc1f4d7ed
Finalized browser-window show & hide events, added tests & fixed os x implementation
2016-03-10 13:51:31 -08:00
Cheng Zhao
2a0be28111
Merge pull request #4682 from phamdaniel/ismaximized
...
Fix `isMaximized()` in window for when resizable is set to false on OSX
2016-03-06 19:23:46 +09:00
Cheng Zhao
d93ccd47a8
Merge pull request #4670 from atom/cmd-backtick-order
...
Use sendAction for cycling windows
2016-03-06 16:17:38 +09:00
Cheng Zhao
114801d412
Remove the duplicate logic on OS X
2016-03-05 21:54:41 +09:00
Daniel Pham
d5f5cdb45a
🍎 Fix 'isMaximized()' for non resizable windows
2016-03-05 01:39:48 -05:00