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

Side by Side Diff: blimp/client/feature/compositor/blimp_input_handler_wrapper.h

Issue 2363553004: Fix build breakage from f9743ba418f7c50e0d0aae830a01669d42ea0eb2 (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | blimp/client/feature/compositor/blimp_input_handler_wrapper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_INPUT_HANDLER_WRAPPER_H_ 5 #ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_INPUT_HANDLER_WRAPPER_H_
6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_INPUT_HANDLER_WRAPPER_H_ 6 #define BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_INPUT_HANDLER_WRAPPER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/threading/thread_checker.h" 10 #include "base/threading/thread_checker.h"
(...skipping 25 matching lines...) Expand all
36 36
37 private: 37 private:
38 // InputHandlerProxyClient implementation. 38 // InputHandlerProxyClient implementation.
39 void WillShutdown() override; 39 void WillShutdown() override;
40 void TransferActiveWheelFlingAnimation( 40 void TransferActiveWheelFlingAnimation(
41 const blink::WebActiveWheelFlingParameters& params) override; 41 const blink::WebActiveWheelFlingParameters& params) override;
42 blink::WebGestureCurve* CreateFlingAnimationCurve( 42 blink::WebGestureCurve* CreateFlingAnimationCurve(
43 blink::WebGestureDevice device_source, 43 blink::WebGestureDevice device_source,
44 const blink::WebFloatPoint& velocity, 44 const blink::WebFloatPoint& velocity,
45 const blink::WebSize& cumulative_scroll) override; 45 const blink::WebSize& cumulative_scroll) override;
46 void DispatchNonBlockingEventToMainThread(
47 ui::ScopedWebInputEvent event,
48 const ui::LatencyInfo& latency_info) override;
46 void DidOverscroll(const gfx::Vector2dF& accumulated_overscroll, 49 void DidOverscroll(const gfx::Vector2dF& accumulated_overscroll,
47 const gfx::Vector2dF& latest_overscroll_delta, 50 const gfx::Vector2dF& latest_overscroll_delta,
48 const gfx::Vector2dF& current_fling_velocity, 51 const gfx::Vector2dF& current_fling_velocity,
49 const gfx::PointF& causal_event_viewport_point) override; 52 const gfx::PointF& causal_event_viewport_point) override;
50 void DidStartFlinging() override; 53 void DidStartFlinging() override;
51 void DidStopFlinging() override; 54 void DidStopFlinging() override;
52 void DidAnimateForInput() override; 55 void DidAnimateForInput() override;
53 56
54 base::ThreadChecker compositor_thread_checker_; 57 base::ThreadChecker compositor_thread_checker_;
55 58
56 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; 59 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_;
57 60
58 // Used to queue calls to the BlimpInputManager to be run on the main 61 // Used to queue calls to the BlimpInputManager to be run on the main
59 // thread. This ensures that any tasks queued are abandoned after the 62 // thread. This ensures that any tasks queued are abandoned after the
60 // BlimpInputManager is destroyed. 63 // BlimpInputManager is destroyed.
61 base::WeakPtr<BlimpInputManager> input_manager_weak_ptr_; 64 base::WeakPtr<BlimpInputManager> input_manager_weak_ptr_;
62 65
63 std::unique_ptr<ui::InputHandlerProxy> input_handler_proxy_; 66 std::unique_ptr<ui::InputHandlerProxy> input_handler_proxy_;
64 67
65 DISALLOW_COPY_AND_ASSIGN(BlimpInputHandlerWrapper); 68 DISALLOW_COPY_AND_ASSIGN(BlimpInputHandlerWrapper);
66 }; 69 };
67 70
68 } // namespace client 71 } // namespace client
69 } // namespace blimp 72 } // namespace blimp
70 73
71 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_INPUT_HANDLER_WRAPPER_H_ 74 #endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_BLIMP_INPUT_HANDLER_WRAPPER_H_
OLDNEW
« no previous file with comments | « no previous file | blimp/client/feature/compositor/blimp_input_handler_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698