DescriptionLinux Aura: Added --use-system-title-bar flag.
This flag makes browser windows use the system window dressing and title
bar, instead of the custom frame. This is a Linux Aura equivalent of the
"Use System Title Bar and Border" preference in Linux GTK. (Eventually,
this part will be controlled by the same preference, rather than this
flag.)
With this flag, browser windows use the native system window decoration,
with our custom close/minimize/maximize buttons removed, and the tab
strip being condensed vertically with square corners (like the maximized
tab strip). Popup browser windows (including V1 apps and the Developer
Tools window) drop the blue custom frame altogether in favour of the
native frame.
BUG=317859
TEST=With --use-system-title-bar, open a browser window. Both maximized
and restored windows should have a system native title bar, and the tab
strip should be compacted into a single row (as when maximized).
TEST=With --use-system-title-bar, open a hosted app window. It should
have a system native title bar, with no second blue title bar.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245433
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=246244
Patch Set 1 #Patch Set 2 : Revert some unneeded changes in DesktopRootWindowHostX11. #Patch Set 3 : Fixed Chrome app and developer tools windows. #Patch Set 4 : Blank line. #Patch Set 5 : Only obey --use-system-title-bar on Linux. #Patch Set 6 : Formatting. #
Total comments: 7
Patch Set 7 : Rebase. #Patch Set 8 : Fixing jamescook nits. #
Total comments: 3
Patch Set 9 : Rebase. #Patch Set 10 : Clarify comment (suggested by jamescook). #Patch Set 11 : Rebase. #Patch Set 12 : Revert changes relating to app windows. Will deal with this in another CL. #Patch Set 13 : Fix spelling mistake. #Patch Set 14 : Set remove_standard_frame = true for dialogs on Linux. #Patch Set 15 : Rebase. #Patch Set 16 : Fixed DesktopScreenX11Test (remove standard frame; otherwise widget dimensions exclude the standard… #Patch Set 17 : Rebase. #Patch Set 18 : Rebase. #Messages
Total messages: 27 (0 generated)
|