electron/atom
trop[bot] 85526c7f21 fix: fallback to FullSizeContentView for frameless window on mac (#13600)
When using `views::Widget` to create window, Chromium will automatically
use a `BridgedContentView` as content view, which however does not
support draggable regions inside it.

By fallback to `FullSizeContentView` we can work around this problem,
with the price of losing the ability to use `views::View` APIs. Since
we don't expect users to use the new `View` APIs in `BrowserWindow`
anyway, it should not be a problem.

This change does not affect users of `TopLevelWindow`, and for users of
`BrowserWindow` there is nothing to lose.

In the long term we should look into how to make draggable regions work
with `BridgedContentView`. The related Chromium code is still being
changed rapidly, we can wait until Chromium migrated its
`NativeAppWindowCocoa` class to use `views::Widget`.
2018-07-10 13:09:46 +09:00
..
app Default LoadV8Snapshot changed in C66 2018-06-19 11:49:46 +10:00
browser fix: fallback to FullSizeContentView for frameless window on mac (#13600) 2018-07-10 13:09:46 +09:00
common Bump v3.0.0-beta.1 2018-06-20 12:52:49 -04:00
node also format missing .cc files 2018-04-18 20:48:45 -04:00
renderer refactoring: use std::make_unique<T> (#13245) 2018-06-18 16:32:55 +09:00
utility also format missing .cc files 2018-04-18 20:48:45 -04:00