Index: ui/views/views_switches.cc |
diff --git a/ui/views/views_switches.cc b/ui/views/views_switches.cc |
index 79fe2574aec3a54d270d5d6d8924241e58550a6d..cdf8e39726b3853ae33f4f151fd9eb6acddb1c54 100644 |
--- a/ui/views/views_switches.cc |
+++ b/ui/views/views_switches.cc |
@@ -4,7 +4,6 @@ |
#include "ui/views/views_switches.h" |
-#include "base/command_line.h" |
#include "build/build_config.h" |
namespace views { |
@@ -12,22 +11,8 @@ namespace switches { |
// Please keep alphabetized. |
-// Specifies if a heuristic should be used to determine the most probable |
-// target of a gesture, where the touch region is represented by a rectangle. |
-const char kDisableViewsRectBasedTargeting[] = |
- "disable-views-rect-based-targeting"; |
- |
// Draws a semitransparent rect to indicate the bounds of each view. |
const char kDrawViewBoundsRects[] = "draw-view-bounds-rects"; |
-bool IsRectBasedTargetingEnabled() { |
-#if defined(OS_CHROMEOS) || defined(OS_WIN) || defined(OS_LINUX) |
- return !base::CommandLine::ForCurrentProcess()->HasSwitch( |
- kDisableViewsRectBasedTargeting); |
-#else |
- return false; |
-#endif |
-} |
- |
} // namespace switches |
} // namespace views |