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

Side by Side Diff: ui/views/views_switches.h

Issue 1429083002: gl_surface_egl: ensure off and on screen surfaces use the same EGLConfig (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « ui/gl/gl_surface_egl.cc ('k') | ui/views/views_switches.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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[]; 16 VIEWS_EXPORT extern const char kDisableViewsRectBasedTargeting[];
17 17
18 #if defined(USE_X11) && !defined(OS_CHROMEOS)
19 VIEWS_EXPORT extern const char kEnableTransparentVisuals[];
20 #endif
21
22 // Returns true if rect-based targeting in views should be used. 18 // Returns true if rect-based targeting in views should be used.
23 VIEWS_EXPORT bool IsRectBasedTargetingEnabled(); 19 VIEWS_EXPORT bool IsRectBasedTargetingEnabled();
24 20
25 } // namespace switches 21 } // namespace switches
26 } // namespace views 22 } // namespace views
27 23
28 #endif // UI_VIEWS_VIEWS_SWITCHES_H_ 24 #endif // UI_VIEWS_VIEWS_SWITCHES_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_surface_egl.cc ('k') | ui/views/views_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698