Index: ui/events/gesture_detection/gesture_configuration_default.cc |
diff --git a/components/search_engines/search_engines_switches.h b/ui/events/gesture_detection/gesture_configuration_default.cc |
similarity index 52% |
copy from components/search_engines/search_engines_switches.h |
copy to ui/events/gesture_detection/gesture_configuration_default.cc |
index 42b9253ed29a059135fe452dffd9cd96fd691ce3..337804b5c6b2dcd8b6d3f0bd03769070fa6141df 100644 |
--- a/components/search_engines/search_engines_switches.h |
+++ b/ui/events/gesture_detection/gesture_configuration_default.cc |
@@ -2,13 +2,14 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef COMPONENTS_SEARCH_ENGINES_SEARCH_ENGINES_SWITCHES_H_ |
-#define COMPONENTS_SEARCH_ENGINES_SEARCH_ENGINES_SWITCHES_H_ |
+#include "ui/events/gesture_detection/gesture_configuration.h" |
-namespace switches { |
+#include "ui/gfx/screen.h" |
-extern const char kExtraSearchQueryParams[]; |
+namespace ui { |
-} // namespace switches |
+GestureConfiguration* GestureConfiguration::GetInstance() { |
+ return Singleton<GestureConfiguration>::get(); |
+} |
-#endif // COMPONENTS_SEARCH_ENGINES_SEARCH_ENGINES_SWITCHES_H_ |
+} // namespace ui |