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

Unified Diff: chrome/browser/about_flags.cc

Issue 22891016: Add support for rect-based event targeting in views (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 7 years, 1 month 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/app/generated_resources.grd ('k') | chrome/browser/ui/views/autofill/autofill_dialog_views.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 1fe5e779f44a39d281d890ef55c718a16be4e19d..4ef2cce21c70e57ae2b0e5d7a4dc8fdfaa7d6b0a 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -36,6 +36,7 @@
#include "ui/keyboard/keyboard_switches.h"
#include "ui/message_center/message_center_switches.h"
#include "ui/surface/surface_switches.h"
+#include "ui/views/views_switches.h"
#if defined(USE_ASH)
#include "ash/ash_switches.h"
@@ -1836,6 +1837,15 @@ const Experiment kExperiments[] = {
kOsDesktop,
SINGLE_VALUE_TYPE(switches::kEnableTranslateNewUX)
},
+#if defined(TOOLKIT_VIEWS)
+ {
+ "views-use-rect-based-targeting", // FLAGS:RECORD_UMA
+ IDS_FLAGS_VIEWS_USE_RECT_BASED_TARGETING_NAME,
+ IDS_FLAGS_VIEWS_USE_RECT_BASED_TARGETING_DESCRIPTION,
+ kOsCrOS | kOsWin,
+ SINGLE_VALUE_TYPE(views::switches::kViewsUseRectBasedTargeting)
+ },
+#endif
};
const Experiment* experiments = kExperiments;
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/views/autofill/autofill_dialog_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698