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

Unified Diff: ui/events/blink/synchronous_input_handler_proxy.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
« no previous file with comments | « ui/events/blink/input_scroll_elasticity_controller_unittest.cc ('k') | ui/events/events.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/synchronous_input_handler_proxy.h
diff --git a/content/renderer/input/synchronous_input_handler_proxy.h b/ui/events/blink/synchronous_input_handler_proxy.h
similarity index 86%
rename from content/renderer/input/synchronous_input_handler_proxy.h
rename to ui/events/blink/synchronous_input_handler_proxy.h
index 3bf39900eb9d4117f3d72dc9042a7a7fbf8dd535..36485f0d72feac2fffbc9a27f7364e5877ca8889 100644
--- a/content/renderer/input/synchronous_input_handler_proxy.h
+++ b/ui/events/blink/synchronous_input_handler_proxy.h
@@ -2,20 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_RENDERER_INPUT_SYNCHRONOUS_INPUT_HANDLER_PROXY_H_
-#define CONTENT_RENDERER_INPUT_SYNCHRONOUS_INPUT_HANDLER_PROXY_H_
+#ifndef UI_EVENTS_BLINK_SYNCHRONOUS_INPUT_HANDLER_PROXY_H_
+#define UI_EVENTS_BLINK_SYNCHRONOUS_INPUT_HANDLER_PROXY_H_
#include "base/time/time.h"
-#include "content/common/content_export.h"
namespace gfx {
class ScrollOffset;
class SizeF;
}
-namespace content {
+namespace ui {
-class CONTENT_EXPORT SynchronousInputHandler {
+class SynchronousInputHandler {
public:
virtual ~SynchronousInputHandler() {}
@@ -40,7 +39,7 @@ class CONTENT_EXPORT SynchronousInputHandler {
// This interface provides support for that behaviour. The WebView embedder will
// act as the InputHandler for controlling the timing of input (fling)
// animations.
-class CONTENT_EXPORT SynchronousInputHandlerProxy {
+class SynchronousInputHandlerProxy {
public:
virtual ~SynchronousInputHandlerProxy() {}
@@ -68,6 +67,6 @@ class CONTENT_EXPORT SynchronousInputHandlerProxy {
const gfx::ScrollOffset& root_offset) = 0;
};
-} // namespace content
+} // namespace ui
-#endif // CONTENT_RENDERER_INPUT_SYNCHRONOUS_INPUT_HANDLER_PROXY_H_
+#endif // UI_EVENTS_BLINK_SYNCHRONOUS_INPUT_HANDLER_PROXY_H_
« no previous file with comments | « ui/events/blink/input_scroll_elasticity_controller_unittest.cc ('k') | ui/events/events.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698