electron/shell/browser/ui/views
Michaela Laurencin 41646d1168
feat: enable windows control overlay on Windows (#29600)
* rebase "feat: enable windows control overlay on Windows"

* correct compilation error

* fix linting errors

* modify includes and build file

* change `hidden` option to `overlay`

* add patch to fix visual layout

* add button background color parameter

* add button text color parameter

* modify `overlay` in docs and modify button hover/press transition color

* change `text` to `symbol`

* remove todo and fix `text` replacement

* add new titleBarOverlay property and remove titleBarStyle `overlay`

* update browser and frameless window docs

* remove chromium patches

* chore: update patches

* change button hover color, update trailing `_`, update test file

* add dchecks, update title bar drawing checks, update test file

* modify for mac and linux builds

* update docs with overlayColor and overlaySymbolColor

* add corner and side hit test info

* modify docs and copyright info

* modify `titlebar_overlay_` as boolean or object

* move `title_bar_style_ to `NativeWindow`

* update docs with boolean and object titlebar_overlay_

* add `IsEmpty` checks

* move get options for boolean and object checks

* fix linting error

* disable `use_lld` for macos

* Update docs/api/frameless-window.md

Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>

* Update docs/api/frameless-window.md

Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>

* Update docs/api/frameless-window.md

Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>

* Apply docs suggestions from code review

Co-authored-by: Jeremy Rose <jeremya@chromium.org>

* modify `true` option description `titleBarOverlay`

* ci: cleanup keychain after tests on arm64 mac (#30472)

Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
2021-08-11 14:07:36 -04:00
..
autofill_popup_view.cc chore: bump chromium to 93.0.4530.0 (master) (#29256) 2021-06-03 01:05:04 -07:00
autofill_popup_view.h chore: bump chromium to 93.0.4530.0 (master) (#29256) 2021-06-03 01:05:04 -07:00
electron_views_delegate.cc refactor: use auto env = base::Environment::Create(); everywhere (#29502) 2021-06-04 09:23:06 +09:00
electron_views_delegate.h 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-16 12:18:45 -04:00
electron_views_delegate_win.cc chore: bump chromium to 92.0.4475.0 (master) (#28462) 2021-04-15 10:44:35 -07:00
frameless_view.cc feat: enable windows control overlay on Windows (#29600) 2021-08-11 14:07:36 -04:00
frameless_view.h feat: enable windows control overlay on Windows (#29600) 2021-08-11 14:07:36 -04:00
global_menu_bar_x11.cc 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-16 13:58:27 -04:00
global_menu_bar_x11.h chore: bump chromium to 6d130075d378a64187360ba4e7820 (master) (#24256) 2020-07-13 21:13:34 -04:00
inspectable_web_contents_view_views.cc chore: bump chromium to 93.0.4550.0 (main) (#29751) 2021-06-22 12:17:16 -07:00
inspectable_web_contents_view_views.h fix: BrowserViews not painting their WebContents (#29919) 2021-07-30 08:59:24 +09:00
menu_bar.cc fix: correctly handle Alt+Key shortcuts (#29328) 2021-06-01 10:48:52 +09:00
menu_bar.h refactor: remove accessible_pane_view.patch (#29262) 2021-05-21 10:00:47 -07:00
menu_delegate.cc chore: bump chromium to 94.0.4584.0 (main) (#30030) 2021-07-26 09:02:16 -07:00
menu_delegate.h chore: bump chromium to 94.0.4584.0 (main) (#30030) 2021-07-26 09:02:16 -07:00
menu_model_adapter.cc chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
menu_model_adapter.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
native_frame_view.cc feat: make win.setAspectRatio() work on Windows (#26941) 2021-01-05 17:17:33 +09:00
native_frame_view.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
root_view.cc fix: correctly handle Alt+Key shortcuts (#29328) 2021-06-01 10:48:52 +09:00
root_view.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
submenu_button.cc chore: bump chromium to 93.0.4536.0 (main) (#29586) 2021-06-08 15:22:43 -05:00
submenu_button.h chore: bump chromium to 92.0.4498.0 (master) (#28991) 2021-05-05 16:26:17 -07:00
win_caption_button.cc feat: enable windows control overlay on Windows (#29600) 2021-08-11 14:07:36 -04:00
win_caption_button.h feat: enable windows control overlay on Windows (#29600) 2021-08-11 14:07:36 -04:00
win_caption_button_container.cc feat: enable windows control overlay on Windows (#29600) 2021-08-11 14:07:36 -04:00
win_caption_button_container.h feat: enable windows control overlay on Windows (#29600) 2021-08-11 14:07:36 -04:00
win_frame_view.cc feat: enable windows control overlay on Windows (#29600) 2021-08-11 14:07:36 -04:00
win_frame_view.h feat: enable windows control overlay on Windows (#29600) 2021-08-11 14:07:36 -04:00