Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1577)

Unified Diff: ash/ash_switches.cc

Issue 263083005: Remove "Alternate frame caption button style" command line flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/ash_switches.h ('k') | ash/frame/caption_buttons/alternate_frame_size_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/ash_switches.cc
diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc
index faeb16853b58ab590a80d3253f5b4d7795c07446..acc29b113c946d41583ca84710bdda5ba3e50bf8 100644
--- a/ash/ash_switches.cc
+++ b/ash/ash_switches.cc
@@ -38,11 +38,6 @@ const char kAshDefaultWallpaperIsOem[] = "ash-default-wallpaper-is-oem";
const char kAshDefaultWallpaperLarge[] = "ash-default-wallpaper-large";
const char kAshDefaultWallpaperSmall[] = "ash-default-wallpaper-small";
-// Use the normal visual style for the caption buttons (minimize, maximize,
-// restore, close).
-const char kAshDisableAlternateFrameCaptionButtonStyle[] =
- "ash-disable-alternate-caption-button";
-
// Disable ability to dock windows at the desktop edge.
const char kAshDisableDockedWindows[] = "ash-disable-docked-windows";
@@ -51,13 +46,6 @@ const char kAshDisableDockedWindows[] = "ash-disable-docked-windows";
const char kAshEnableTouchExplorationMode[] =
"ash-enable-touch-exploration-mode";
-// Use alternate visual style for the caption buttons (minimize, maximize,
-// restore, close). The alternate style:
-// - Adds a dedicated button for minimize.
-// - Removes the maximize button's help bubble.
-const char kAshEnableAlternateFrameCaptionButtonStyle[] =
- "ash-enable-alternate-caption-button";
-
#if defined(OS_CHROMEOS)
// Enables key bindings to scroll magnified screen.
const char kAshEnableMagnifierKeyScroller[] =
@@ -122,11 +110,6 @@ const char kForceAshToDesktop[] = "ash-force-desktop";
#endif
-bool UseAlternateFrameCaptionButtonStyle() {
- return !CommandLine::ForCurrentProcess()->
- HasSwitch(kAshDisableAlternateFrameCaptionButtonStyle);
-}
-
bool UseDockedWindows() {
return !CommandLine::ForCurrentProcess()->HasSwitch(kAshDisableDockedWindows);
}
« no previous file with comments | « ash/ash_switches.h ('k') | ash/frame/caption_buttons/alternate_frame_size_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698