OLD | NEW |
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 kWindowAnimationsDisabled[]; | 20 VIEWS_EXPORT extern const char kWindowAnimationsDisabled[]; |
21 | 21 |
22 } // namespace switches | 22 } // namespace switches |
23 | 23 |
24 // Returns true if the new FocusController should be used as the | 24 // Returns true if the new FocusController should be used as the |
25 // Activation/FocusClient. | 25 // Activation/FocusClient. |
26 VIEWS_EXPORT bool UseFocusController(); | 26 VIEWS_EXPORT bool UseFocusController(); |
27 | 27 |
| 28 // Same as above but for Desktop mode. |
| 29 VIEWS_EXPORT bool UseFocusControllerOnDesktop(); |
| 30 |
28 } // namespace corewm | 31 } // namespace corewm |
29 } // namespace views | 32 } // namespace views |
30 | 33 |
31 #endif // UI_VIEWS_COREWM_COREWM_SWITCHES_H_ | 34 #endif // UI_VIEWS_COREWM_COREWM_SWITCHES_H_ |
OLD | NEW |