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

Side by Side Diff: content/renderer/gpu/input_handler_proxy_client.h

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_GPU_INPUT_HANDLER_PROXY_CLIENT_H_ 5 #ifndef CONTENT_RENDERER_GPU_INPUT_HANDLER_PROXY_CLIENT_H_
6 #define CONTENT_RENDERER_GPU_INPUT_HANDLER_PROXY_CLIENT_H_ 6 #define CONTENT_RENDERER_GPU_INPUT_HANDLER_PROXY_CLIENT_H_
7 7
8 namespace WebKit { 8 namespace blink {
9 class WebGestureCurve; 9 class WebGestureCurve;
10 struct WebActiveWheelFlingParameters; 10 struct WebActiveWheelFlingParameters;
11 struct WebFloatPoint; 11 struct WebFloatPoint;
12 struct WebSize; 12 struct WebSize;
13 } 13 }
14 14
15 namespace content { 15 namespace content {
16 16
17 // All callbacks invoked from the compositor thread. 17 // All callbacks invoked from the compositor thread.
18 class InputHandlerProxyClient { 18 class InputHandlerProxyClient {
19 public: 19 public:
20 // Called just before the InputHandlerProxy shuts down. 20 // Called just before the InputHandlerProxy shuts down.
21 virtual void WillShutdown() = 0; 21 virtual void WillShutdown() = 0;
22 22
23 // Transfers an active wheel fling animation initiated by a previously 23 // Transfers an active wheel fling animation initiated by a previously
24 // handled input event out to the client. 24 // handled input event out to the client.
25 virtual void TransferActiveWheelFlingAnimation( 25 virtual void TransferActiveWheelFlingAnimation(
26 const WebKit::WebActiveWheelFlingParameters& params) = 0; 26 const blink::WebActiveWheelFlingParameters& params) = 0;
27 27
28 // Creates a new fling animation curve instance for device |device_source| 28 // Creates a new fling animation curve instance for device |device_source|
29 // with |velocity| and already scrolled |cumulative_scroll| pixels. 29 // with |velocity| and already scrolled |cumulative_scroll| pixels.
30 virtual WebKit::WebGestureCurve* CreateFlingAnimationCurve( 30 virtual blink::WebGestureCurve* CreateFlingAnimationCurve(
31 int device_source, 31 int device_source,
32 const WebKit::WebFloatPoint& velocity, 32 const blink::WebFloatPoint& velocity,
33 const WebKit::WebSize& cumulative_scroll) = 0; 33 const blink::WebSize& cumulative_scroll) = 0;
34 34
35 virtual void DidOverscroll(const cc::DidOverscrollParams& params) = 0; 35 virtual void DidOverscroll(const cc::DidOverscrollParams& params) = 0;
36 36
37 protected: 37 protected:
38 virtual ~InputHandlerProxyClient() {} 38 virtual ~InputHandlerProxyClient() {}
39 }; 39 };
40 40
41 } // namespace content 41 } // namespace content
42 42
43 #endif // CONTENT_RENDERER_GPU_INPUT_HANDLER_PROXY_CLIENT_H_ 43 #endif // CONTENT_RENDERER_GPU_INPUT_HANDLER_PROXY_CLIENT_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/input_handler_proxy.cc ('k') | content/renderer/gpu/input_handler_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698