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

Side by Side Diff: ui/views/corewm/corewm_switches.h

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_COREWM_COREWM_SWITCHES_H_ 5 #ifndef UI_VIEWS_COREWM_COREWM_SWITCHES_H_
6 #define UI_VIEWS_COREWM_COREWM_SWITCHES_H_ 6 #define UI_VIEWS_COREWM_COREWM_SWITCHES_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "ui/views/views_export.h" 9 #include "ui/views/views_export.h"
10 10
11 namespace views { 11 namespace views {
12 namespace corewm { 12 namespace corewm {
13 namespace switches { 13 namespace switches {
14 14
15 // Note: If you add a switch, consider if it needs to be copied to a subsequent 15 // Note: If you add a switch, consider if it needs to be copied to a subsequent
16 // command line if the process executes a new copy of itself. (For example, 16 // command line if the process executes a new copy of itself. (For example,
17 // see chromeos::LoginUtil::GetOffTheRecordCommandLine().) 17 // see chromeos::LoginUtil::GetOffTheRecordCommandLine().)
18 18
19 // Please keep alphabetized. 19 // Please keep alphabetized.
20 VIEWS_EXPORT extern const char kNoDropShadows[]; 20 VIEWS_EXPORT extern const char kNoDropShadows[];
21 VIEWS_EXPORT extern const char kWindowAnimationsDisabled[]; 21 VIEWS_EXPORT extern const char kWindowAnimationsDisabled[];
22 22
23 } // namespace switches 23 } // namespace switches
24
25 // Returns true if the new FocusController should be used as the
26 // Activation/FocusClient.
27 VIEWS_EXPORT bool UseFocusController();
28
29 // Same as above but for Desktop mode.
30 VIEWS_EXPORT bool UseFocusControllerOnDesktop();
31
32 } // namespace corewm 24 } // namespace corewm
33 } // namespace views 25 } // namespace views
34 26
35 #endif // UI_VIEWS_COREWM_COREWM_SWITCHES_H_ 27 #endif // UI_VIEWS_COREWM_COREWM_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698