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

Unified Diff: ui/events/gesture_detection/gesture_configuration_default.cc

Issue 613373004: Adopt ui::GestureConfiguration on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move DefaultGestureProviderConfig function to gesture_provider_config_helper class Created 6 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/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

Powered by Google App Engine
This is Rietveld 408576698