[email protected] | c4f51d2 | 2013-11-05 03:11:26 | [diff] [blame] | 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 | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #ifndef UI_VIEWS_VIEWS_SWITCHES_H_ | ||||
6 | #define UI_VIEWS_VIEWS_SWITCHES_H_ | ||||
7 | |||||
8 | #include "ui/views/views_export.h" | ||||
9 | |||||
10 | #include "build/build_config.h" | ||||
11 | |||||
12 | namespace views { | ||||
13 | namespace switches { | ||||
14 | |||||
15 | // Please keep alphabetized. | ||||
[email protected] | 88b47ad7 | 2013-11-21 03:34:38 | [diff] [blame] | 16 | VIEWS_EXPORT extern const char kDisableViewsRectBasedTargeting[]; |
[email protected] | c4f51d2 | 2013-11-05 03:11:26 | [diff] [blame] | 17 | |
[email protected] | a1e109c | 2014-05-02 01:25:39 | [diff] [blame] | 18 | #if defined(USE_X11) && !defined(OS_CHROMEOS) |
19 | VIEWS_EXPORT extern const char kEnableTransparentVisuals[]; | ||||
20 | #endif | ||||
21 | |||||
[email protected] | c4f51d2 | 2013-11-05 03:11:26 | [diff] [blame] | 22 | // Returns true if rect-based targeting in views should be used. |
[email protected] | 88b47ad7 | 2013-11-21 03:34:38 | [diff] [blame] | 23 | VIEWS_EXPORT bool IsRectBasedTargetingEnabled(); |
[email protected] | c4f51d2 | 2013-11-05 03:11:26 | [diff] [blame] | 24 | |
25 | } // namespace switches | ||||
26 | } // namespace views | ||||
27 | |||||
28 | #endif // UI_VIEWS_VIEWS_SWITCHES_H_ |