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

Unified Diff: ui/events/blink/input_scroll_elasticity_controller.h

Issue 1415953004: Move content/renderer input handling for web input events to ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 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
Index: ui/events/blink/input_scroll_elasticity_controller.h
diff --git a/content/renderer/input/input_scroll_elasticity_controller.h b/ui/events/blink/input_scroll_elasticity_controller.h
similarity index 94%
rename from content/renderer/input/input_scroll_elasticity_controller.h
rename to ui/events/blink/input_scroll_elasticity_controller.h
index c60a86e25b5f269bc14c1a06f94c5363b227579c..8c6468109c8e6df47efbf2565493b6c6999dfc5b 100644
--- a/content/renderer/input/input_scroll_elasticity_controller.h
+++ b/ui/events/blink/input_scroll_elasticity_controller.h
@@ -2,13 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_RENDERER_INPUT_INPUT_SCROLL_ELASTICITY_CONTROLLER_H_
-#define CONTENT_RENDERER_INPUT_INPUT_SCROLL_ELASTICITY_CONTROLLER_H_
+#ifndef UI_EVENTS_BLINK_INPUT_SCROLL_ELASTICITY_CONTROLLER_H_
+#define UI_EVENTS_BLINK_INPUT_SCROLL_ELASTICITY_CONTROLLER_H_
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "cc/input/scroll_elasticity_helper.h"
-#include "content/common/content_export.h"
#include "third_party/WebKit/public/web/WebInputEvent.h"
// InputScrollElasticityController is based on
@@ -42,9 +41,9 @@ namespace cc {
struct InputHandlerScrollResult;
} // namespace cc
-namespace content {
+namespace ui {
-class CONTENT_EXPORT InputScrollElasticityController {
+class InputScrollElasticityController {
public:
explicit InputScrollElasticityController(cc::ScrollElasticityHelper* helper);
virtual ~InputScrollElasticityController();
@@ -143,6 +142,6 @@ class CONTENT_EXPORT InputScrollElasticityController {
DISALLOW_COPY_AND_ASSIGN(InputScrollElasticityController);
};
-} // namespace content
+} // namespace ui
-#endif // CONTENT_RENDERER_INPUT_INPUT_SCROLL_ELASTICITY_CONTROLLER_H_
+#endif // UI_EVENTS_BLINK_INPUT_SCROLL_ELASTICITY_CONTROLLER_H_
« no previous file with comments | « ui/events/blink/input_handler_proxy_unittest.cc ('k') | ui/events/blink/input_scroll_elasticity_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698