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

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

Issue 139563004: Notification on finish handling of top control gesture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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_WRAPPER_H_ 5 #ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_WRAPPER_H_
6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_WRAPPER_H_ 6 #define CONTENT_RENDERER_INPUT_INPUT_HANDLER_WRAPPER_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "content/renderer/input/input_handler_manager.h" 9 #include "content/renderer/input/input_handler_manager.h"
10 #include "content/renderer/input/input_handler_proxy.h" 10 #include "content/renderer/input/input_handler_proxy.h"
(...skipping 16 matching lines...) Expand all
27 27
28 // InputHandlerProxyClient implementation. 28 // InputHandlerProxyClient implementation.
29 virtual void WillShutdown() OVERRIDE; 29 virtual void WillShutdown() OVERRIDE;
30 virtual void TransferActiveWheelFlingAnimation( 30 virtual void TransferActiveWheelFlingAnimation(
31 const blink::WebActiveWheelFlingParameters& params) OVERRIDE; 31 const blink::WebActiveWheelFlingParameters& params) OVERRIDE;
32 virtual blink::WebGestureCurve* CreateFlingAnimationCurve( 32 virtual blink::WebGestureCurve* CreateFlingAnimationCurve(
33 int deviceSource, 33 int deviceSource,
34 const blink::WebFloatPoint& velocity, 34 const blink::WebFloatPoint& velocity,
35 const blink::WebSize& cumulativeScroll) OVERRIDE; 35 const blink::WebSize& cumulativeScroll) OVERRIDE;
36 virtual void DidOverscroll(const cc::DidOverscrollParams& params) OVERRIDE; 36 virtual void DidOverscroll(const cc::DidOverscrollParams& params) OVERRIDE;
37 virtual void DidFinishTopControlsGesture() OVERRIDE;
37 38
38 private: 39 private:
39 InputHandlerManager* input_handler_manager_; 40 InputHandlerManager* input_handler_manager_;
40 int routing_id_; 41 int routing_id_;
41 InputHandlerProxy input_handler_proxy_; 42 InputHandlerProxy input_handler_proxy_;
42 scoped_refptr<base::MessageLoopProxy> main_loop_; 43 scoped_refptr<base::MessageLoopProxy> main_loop_;
43 44
44 // Can only be accessed on the main thread. 45 // Can only be accessed on the main thread.
45 base::WeakPtr<RenderViewImpl> render_view_impl_; 46 base::WeakPtr<RenderViewImpl> render_view_impl_;
46 47
47 DISALLOW_COPY_AND_ASSIGN(InputHandlerWrapper); 48 DISALLOW_COPY_AND_ASSIGN(InputHandlerWrapper);
48 }; 49 };
49 50
50 } // namespace content 51 } // namespace content
51 52
52 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_WRAPPER_H_ 53 #endif // CONTENT_RENDERER_INPUT_INPUT_HANDLER_WRAPPER_H_
OLDNEW
« no previous file with comments | « content/renderer/input/input_handler_proxy_client.h ('k') | content/renderer/input/input_handler_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698