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

Side by Side Diff: ui/events/blink/input_handler_proxy.h

Issue 2240273002: Move |DidOverscrollParams| from |content::| to "ui/events/blink" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move DidOverscrollParams to ui:: Created 4 years, 4 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 UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_ 5 #ifndef UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_
6 #define UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_ 6 #define UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "cc/input/input_handler.h" 12 #include "cc/input/input_handler.h"
13 #include "third_party/WebKit/public/platform/WebGestureCurve.h" 13 #include "third_party/WebKit/public/platform/WebGestureCurve.h"
14 #include "third_party/WebKit/public/platform/WebGestureCurveTarget.h" 14 #include "third_party/WebKit/public/platform/WebGestureCurveTarget.h"
15 #include "third_party/WebKit/public/web/WebActiveWheelFlingParameters.h" 15 #include "third_party/WebKit/public/web/WebActiveWheelFlingParameters.h"
16 #include "third_party/WebKit/public/web/WebInputEvent.h" 16 #include "third_party/WebKit/public/web/WebInputEvent.h"
17 #include "ui/events/blink/input_scroll_elasticity_controller.h" 17 #include "ui/events/blink/input_scroll_elasticity_controller.h"
18 #include "ui/events/blink/synchronous_input_handler_proxy.h" 18 #include "ui/events/blink/synchronous_input_handler_proxy.h"
19 19
20 namespace ui { 20 namespace ui {
21 21
22 namespace test { 22 namespace test {
23 class InputHandlerProxyTest; 23 class InputHandlerProxyTest;
24 } 24 }
25 25
26 class InputHandlerProxyClient; 26 class InputHandlerProxyClient;
27 class InputScrollElasticityController; 27 class InputScrollElasticityController;
28 class SynchronousInputHandler; 28 class SynchronousInputHandler;
29 class SynchronousInputHandlerProxy; 29 class SynchronousInputHandlerProxy;
30 struct DidOverscrollParams;
30 31
31 // This class is a proxy between the blink web input events for a WebWidget and 32 // This class is a proxy between the blink web input events for a WebWidget and
32 // the compositor's input handling logic. InputHandlerProxy instances live 33 // the compositor's input handling logic. InputHandlerProxy instances live
33 // entirely on the compositor thread. Each InputHandler instance handles input 34 // entirely on the compositor thread. Each InputHandler instance handles input
34 // events intended for a specific WebWidget. 35 // events intended for a specific WebWidget.
35 class InputHandlerProxy 36 class InputHandlerProxy
36 : public cc::InputHandlerClient, 37 : public cc::InputHandlerClient,
37 public SynchronousInputHandlerProxy, 38 public SynchronousInputHandlerProxy,
38 public NON_EXPORTED_BASE(blink::WebGestureCurveTarget) { 39 public NON_EXPORTED_BASE(blink::WebGestureCurveTarget) {
39 public: 40 public:
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 int32_t touch_start_result_; 209 int32_t touch_start_result_;
209 210
210 base::TimeTicks last_fling_animate_time_; 211 base::TimeTicks last_fling_animate_time_;
211 212
212 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy); 213 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy);
213 }; 214 };
214 215
215 } // namespace ui 216 } // namespace ui
216 217
217 #endif // UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_ 218 #endif // UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698