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

Unified Diff: ui/views/views_switches.cc

Issue 374993002: Enable rect-based targeting in views on Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for landing Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/views_switches.cc
diff --git a/ui/views/views_switches.cc b/ui/views/views_switches.cc
index 342deeec600b144c67a6835480f375485cf9a050..df711c8ab54d8d4d9b5040ced624f3c3e605404a 100644
--- a/ui/views/views_switches.cc
+++ b/ui/views/views_switches.cc
@@ -26,7 +26,7 @@ const char kEnableTransparentVisuals[] = "enable-transparent-visuals";
#endif
bool IsRectBasedTargetingEnabled() {
-#if defined(OS_CHROMEOS) || defined(OS_WIN)
+#if defined(OS_CHROMEOS) || defined(OS_WIN) || defined(OS_LINUX)
return !CommandLine::ForCurrentProcess()->
HasSwitch(kDisableViewsRectBasedTargeting);
#else
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698