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

Unified Diff: ui/views/corewm/corewm_switches.cc

Issue 23874013: Remove old activation code and disable-focus-controller flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
Index: ui/views/corewm/corewm_switches.cc
diff --git a/ui/views/corewm/corewm_switches.cc b/ui/views/corewm/corewm_switches.cc
index 450738e6a21b2cdd9889d040fc701ec68cf93b16..8f0dd82a6a9b5e6d9ce25f944601ebcd29ebb690 100644
--- a/ui/views/corewm/corewm_switches.cc
+++ b/ui/views/corewm/corewm_switches.cc
@@ -10,14 +10,6 @@ namespace views {
namespace corewm {
namespace switches {
-// When set uses the old ActivationController/FocusManager instead of the new
-// CoreWM FocusController.
-const char kDisableFocusController[] = "disable-focus-controller";
-
-// When set uses the FocusController in desktop mode.
-const char kDisableFocusControllerOnDesktop[] =
- "disable-focus-controller-on-desktop";
-
const char kNoDropShadows[] = "aura-no-shadows";
// If present animations are disabled.
@@ -25,16 +17,5 @@ const char kWindowAnimationsDisabled[] =
"views-corewm-window-animations-disabled";
} // namespace switches
-
-bool UseFocusController() {
- return !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableFocusController);
-}
-
-bool UseFocusControllerOnDesktop() {
- return !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableFocusControllerOnDesktop);
-}
-
} // namespace corewm
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698