OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_VIEWS_SWITCHES_H_ | 5 #ifndef UI_VIEWS_VIEWS_SWITCHES_H_ |
6 #define UI_VIEWS_VIEWS_SWITCHES_H_ | 6 #define UI_VIEWS_VIEWS_SWITCHES_H_ |
7 | 7 |
8 #include "ui/views/views_export.h" | 8 #include "ui/views/views_export.h" |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
11 | 11 |
12 namespace views { | 12 namespace views { |
13 namespace switches { | 13 namespace switches { |
14 | 14 |
15 // Please keep alphabetized. | 15 // Please keep alphabetized. |
16 VIEWS_EXPORT extern const char kDisableViewsRectBasedTargeting[]; | |
17 VIEWS_EXPORT extern const char kDrawViewBoundsRects[]; | 16 VIEWS_EXPORT extern const char kDrawViewBoundsRects[]; |
18 | 17 |
19 // Returns true if rect-based targeting in views should be used. | |
20 VIEWS_EXPORT bool IsRectBasedTargetingEnabled(); | |
21 | |
22 } // namespace switches | 18 } // namespace switches |
23 } // namespace views | 19 } // namespace views |
24 | 20 |
25 #endif // UI_VIEWS_VIEWS_SWITCHES_H_ | 21 #endif // UI_VIEWS_VIEWS_SWITCHES_H_ |
OLD | NEW |