summaryrefslogtreecommitdiffstats
path: root/ash/ash_switches.h
diff options
context:
space:
mode:
authorjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-05 02:10:16 +0000
committerjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-05 02:10:16 +0000
commit9c66adca4f62f3b85593068aea30cf1568690987 (patch)
treef20fc834b45b09babbfb19742b2c7b39b471e02f /ash/ash_switches.h
parentfdf1c47e612fb821ed0336a07929514e7d2441a2 (diff)
downloadchromium_src-9c66adca4f62f3b85593068aea30cf1568690987.zip
chromium_src-9c66adca4f62f3b85593068aea30cf1568690987.tar.gz
chromium_src-9c66adca4f62f3b85593068aea30cf1568690987.tar.bz2
Aura: Toggling window mode in about:flags works on CrOS devices
The problem was that programmatically modifying the command line doesn't change switches visible in about:flags -- they are in a special section. Reworked the code to: * Not modify the command line when automatically setting the mode. We now store the mode in ash::Shell. * Add an "automatic" option for window mode, equivalent to not specifying anything on the command line. BUG=109002 TEST=aura_shell_unittests for Shell, manual on device modifying about:flags Review URL: http://codereview.chromium.org/9093002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116438 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/ash_switches.h')
-rw-r--r--ash/ash_switches.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ash/ash_switches.h b/ash/ash_switches.h
index a1044ae..2480bb6 100644
--- a/ash/ash_switches.h
+++ b/ash/ash_switches.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -20,9 +20,6 @@ ASH_EXPORT extern const char kAuraWindowModeCompact[];
ASH_EXPORT extern const char kAuraWindowModeNormal[];
ASH_EXPORT extern const char kAuraWorkspaceManager[];
-// Utilities for testing multi-valued switches.
-ASH_EXPORT bool IsAuraWindowModeCompact();
-
} // namespace switches
} // namespace ash