electron/shell/browser/ui
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
..
cocoa fix: move window buttons in-place on macOS (#30322) 2021-08-04 09:31:12 +09:00
gtk chore: use std::make_unique/base::MakeRefCounted when possible (#29510) 2021-06-08 11:00:05 +09:00
views feat: enable windows control overlay on Windows (#29600) 2021-08-11 14:07:36 -04:00
webui chore: use std::make_unique/base::MakeRefCounted when possible (#29510) 2021-06-08 11:00:05 +09:00
win chore: bump chromium to 94.0.4584.0 (main) (#30030) 2021-07-26 09:02:16 -07:00
x chore: bump chromium to 93.0.4558.0 (main) (#29895) 2021-06-29 13:02:27 -07:00
accelerator_util.cc chore: bump chromium to 93.0.4530.0 (master) (#29256) 2021-06-03 01:05:04 -07:00
accelerator_util.h chore: use consistent parameter names (#29361) 2021-06-01 10:46:25 +09:00
accelerator_util_unittests.cc
autofill_popup.cc chore: trim unused STL includes (#29414) 2021-06-01 10:34:44 +09:00
autofill_popup.h 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-16 12:18:45 -04:00
certificate_trust.h chore: clean up forward declarations (#29904) 2021-07-02 09:51:37 +09:00
certificate_trust_mac.mm chore: use std::make_unique/base::MakeRefCounted when possible (#29510) 2021-06-08 11:00:05 +09:00
certificate_trust_win.cc
devtools_manager_delegate.cc refactor: use PathProvider for user-data-dir and others (#29649) 2021-06-15 09:32:56 +09:00
devtools_manager_delegate.h chore: trim unused STL includes (#29414) 2021-06-01 10:34:44 +09:00
devtools_ui.cc
devtools_ui.h chore: clean up forward declarations (#29904) 2021-07-02 09:51:37 +09:00
drag_util.cc
drag_util.h
drag_util_mac.mm
drag_util_views.cc chore: bump chromium to 90.0.4415.0 (master) (#27694) 2021-03-04 09:27:05 -08:00
electron_menu_model.cc chore: bump chromium to 93.0.4530.0 (master) (#29256) 2021-06-03 01:05:04 -07:00
electron_menu_model.h chore: bump chromium to 93.0.4530.0 (master) (#29256) 2021-06-03 01:05:04 -07:00
file_dialog.h
file_dialog_gtk.cc chore: bump chromium to 93.0.4530.0 (master) (#29256) 2021-06-03 01:05:04 -07:00
file_dialog_mac.mm
file_dialog_win.cc linter 2021-03-24 10:53:07 -07:00
gtk_util.cc
gtk_util.h
inspectable_web_contents.cc fix: respect LogJsConsoleMessages feature in InspectableWebContents::DidAddMessageToConsole (#30312) 2021-07-30 10:18:49 -07:00
inspectable_web_contents.h fix: respect LogJsConsoleMessages feature in InspectableWebContents::DidAddMessageToConsole (#30312) 2021-07-30 10:18:49 -07:00
inspectable_web_contents_delegate.h fix: color select eyedropper not working within DevTools (#29729) 2021-06-17 08:42:51 -05:00
inspectable_web_contents_view.h Fixup 2752406: [LSC] Replace base::string16 with std::u16string in //ui 2021-03-16 15:43:51 -04:00
inspectable_web_contents_view_delegate.cc chore: bump chromium to 93.0.4536.0 (main) (#29586) 2021-06-08 15:22:43 -05:00
inspectable_web_contents_view_delegate.h chore: bump chromium to 93.0.4536.0 (main) (#29586) 2021-06-08 15:22:43 -05:00
inspectable_web_contents_view_mac.h 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-16 12:18:45 -04:00
inspectable_web_contents_view_mac.mm 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-16 12:18:45 -04:00
message_box.h feat: add signal option to dialog.showMessageBox (#26102) 2021-07-15 07:59:27 +09:00
message_box_gtk.cc feat: add signal option to dialog.showMessageBox (#26102) 2021-07-15 07:59:27 +09:00
message_box_mac.mm feat: add signal option to dialog.showMessageBox (#26102) 2021-07-15 07:59:27 +09:00
message_box_win.cc feat: add signal option to dialog.showMessageBox (#26102) 2021-07-15 07:59:27 +09:00
run_all_unittests.cc
tray_icon.cc
tray_icon.h chore: bump chromium to 93.0.4530.0 (master) (#29256) 2021-06-03 01:05:04 -07:00
tray_icon_cocoa.h
tray_icon_cocoa.mm fix: allow colored tray titles when font type is specified (#30146) 2021-07-15 16:45:20 -07:00
tray_icon_gtk.cc chore: bump chromium to 93.0.4530.0 (master) (#29256) 2021-06-03 01:05:04 -07:00
tray_icon_gtk.h chore: clean up forward declarations (#29904) 2021-07-02 09:51:37 +09:00
tray_icon_observer.h
tray_icon_win.cc chore: bump chromium to 93.0.4530.0 (master) (#29256) 2021-06-03 01:05:04 -07:00