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

Unified Diff: ui/views/views_switches.h

Issue 22891016: Add support for rect-based event targeting in views (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tests added Created 7 years, 2 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
Index: ui/views/views_switches.h
diff --git a/ui/views/views_switches.h b/ui/views/views_switches.h
new file mode 100644
index 0000000000000000000000000000000000000000..3c9050755e4fc64aff93c7744ca512bab84ab1a3
--- /dev/null
+++ b/ui/views/views_switches.h
@@ -0,0 +1,27 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_VIEWS_VIEWS_SWITCHES_H_
+#define UI_VIEWS_VIEWS_SWITCHES_H_
+
+#include "ui/views/views_export.h"
+
+#include "build/build_config.h"
+
+namespace views {
+namespace switches {
+
+// Please keep alphabetized.
+
+#if defined(OS_CHROMEOS)
sky 2013/10/30 14:03:49 I wouldn't bother ifdefing this now.
tdanderson 2013/10/30 20:55:50 Done.
+VIEWS_EXPORT extern const char kViewsUseRectBasedTargeting[];
+#endif
+
+// Returns true if rect-based targeting in views should be used.
+VIEWS_EXPORT bool UseRectBasedTargeting();
+
+} // namespace switches
+} // namespace views
+
+#endif // UI_VIEWS_VIEWS_SWITCHES_H_
« ui/views/view.cc ('K') | « ui/views/views.gyp ('k') | ui/views/views_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698