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

Side by Side Diff: content/renderer/input/input_handler_manager_client.h

Issue 2683043004: Remove ui/events/blink dependency on blink_minimal. (Closed)
Patch Set: fix win debug Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_ 5 #ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_
6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_ 6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/callback_forward.h" 9 #include "base/callback_forward.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 #include "content/common/input/input_event_ack_state.h" 12 #include "content/common/input/input_event_ack_state.h"
13 #include "third_party/WebKit/public/platform/WebCoalescedInputEvent.h"
14 #include "third_party/WebKit/public/platform/WebInputEventResult.h" 13 #include "third_party/WebKit/public/platform/WebInputEventResult.h"
14 #include "ui/events/blink/web_input_event_traits.h"
15 #include "ui/gfx/geometry/vector2d_f.h" 15 #include "ui/gfx/geometry/vector2d_f.h"
16 16
17 namespace ui { 17 namespace ui {
18 class LatencyInfo; 18 class LatencyInfo;
19 class SynchronousInputHandlerProxy; 19 class SynchronousInputHandlerProxy;
20 struct DidOverscrollParams; 20 struct DidOverscrollParams;
21 } 21 }
22 22
23 namespace content { 23 namespace content {
24 class InputHandlerManager; 24 class InputHandlerManager;
(...skipping 15 matching lines...) Expand all
40 virtual void UnregisterRoutingID(int routing_id) = 0; 40 virtual void UnregisterRoutingID(int routing_id) = 0;
41 41
42 // |HandleInputEvent| will respond to overscroll by calling the passed in 42 // |HandleInputEvent| will respond to overscroll by calling the passed in
43 // callback. 43 // callback.
44 // Otherwise |DidOverscroll| will be fired. 44 // Otherwise |DidOverscroll| will be fired.
45 virtual void DidOverscroll(int routing_id, 45 virtual void DidOverscroll(int routing_id,
46 const ui::DidOverscrollParams& params) = 0; 46 const ui::DidOverscrollParams& params) = 0;
47 virtual void DidStopFlinging(int routing_id) = 0; 47 virtual void DidStopFlinging(int routing_id) = 0;
48 virtual void DispatchNonBlockingEventToMainThread( 48 virtual void DispatchNonBlockingEventToMainThread(
49 int routing_id, 49 int routing_id,
50 blink::WebScopedInputEvent event, 50 ui::WebScopedInputEvent event,
51 const ui::LatencyInfo& latency_info) = 0; 51 const ui::LatencyInfo& latency_info) = 0;
52 52
53 protected: 53 protected:
54 InputHandlerManagerClient() {} 54 InputHandlerManagerClient() {}
55 55
56 private: 56 private:
57 DISALLOW_COPY_AND_ASSIGN(InputHandlerManagerClient); 57 DISALLOW_COPY_AND_ASSIGN(InputHandlerManagerClient);
58 }; 58 };
59 59
60 class CONTENT_EXPORT SynchronousInputHandlerProxyClient { 60 class CONTENT_EXPORT SynchronousInputHandlerProxyClient {
61 public: 61 public:
62 virtual ~SynchronousInputHandlerProxyClient() {} 62 virtual ~SynchronousInputHandlerProxyClient() {}
63 63
64 virtual void DidAddSynchronousHandlerProxy( 64 virtual void DidAddSynchronousHandlerProxy(
65 int routing_id, 65 int routing_id,
66 ui::SynchronousInputHandlerProxy* synchronous_handler) = 0; 66 ui::SynchronousInputHandlerProxy* synchronous_handler) = 0;
67 virtual void DidRemoveSynchronousHandlerProxy(int routing_id) = 0; 67 virtual void DidRemoveSynchronousHandlerProxy(int routing_id) = 0;
68 68
69 protected: 69 protected:
70 SynchronousInputHandlerProxyClient() {} 70 SynchronousInputHandlerProxyClient() {}
71 71
72 private: 72 private:
73 DISALLOW_COPY_AND_ASSIGN(SynchronousInputHandlerProxyClient); 73 DISALLOW_COPY_AND_ASSIGN(SynchronousInputHandlerProxyClient);
74 }; 74 };
75 75
76 } // namespace content 76 } // namespace content
77 77
78 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_ 78 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698