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

Side by Side Diff: blimp/client/core/input/blimp_input_handler_wrapper.h

Issue 2576013002: Introducing WebCoalescedInputEvent and inclusion in content/common (Closed)
Patch Set: Fix a few DCHECK hits Created 3 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 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_CORE_INPUT_BLIMP_INPUT_HANDLER_WRAPPER_H_ 5 #ifndef BLIMP_CLIENT_CORE_INPUT_BLIMP_INPUT_HANDLER_WRAPPER_H_
6 #define BLIMP_CLIENT_CORE_INPUT_BLIMP_INPUT_HANDLER_WRAPPER_H_ 6 #define BLIMP_CLIENT_CORE_INPUT_BLIMP_INPUT_HANDLER_WRAPPER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 void HandleWebGestureEvent(const blink::WebGestureEvent& gesture_event); 48 void HandleWebGestureEvent(const blink::WebGestureEvent& gesture_event);
49 49
50 void InitOnCompositorThread(cc::InputHandler* input_handler); 50 void InitOnCompositorThread(cc::InputHandler* input_handler);
51 51
52 private: 52 private:
53 // InputHandlerProxyClient implementation. 53 // InputHandlerProxyClient implementation.
54 void WillShutdown() override; 54 void WillShutdown() override;
55 void TransferActiveWheelFlingAnimation( 55 void TransferActiveWheelFlingAnimation(
56 const blink::WebActiveWheelFlingParameters& params) override; 56 const blink::WebActiveWheelFlingParameters& params) override;
57 void DispatchNonBlockingEventToMainThread( 57 void DispatchNonBlockingEventToMainThread(
58 ui::ScopedWebInputEvent event, 58 blink::WebScopedInputEvent event,
59 const ui::LatencyInfo& latency_info) override; 59 const ui::LatencyInfo& latency_info) override;
60 blink::WebGestureCurve* CreateFlingAnimationCurve( 60 blink::WebGestureCurve* CreateFlingAnimationCurve(
61 blink::WebGestureDevice device_source, 61 blink::WebGestureDevice device_source,
62 const blink::WebFloatPoint& velocity, 62 const blink::WebFloatPoint& velocity,
63 const blink::WebSize& cumulative_scroll) override; 63 const blink::WebSize& cumulative_scroll) override;
64 void DidOverscroll(const gfx::Vector2dF& accumulated_overscroll, 64 void DidOverscroll(const gfx::Vector2dF& accumulated_overscroll,
65 const gfx::Vector2dF& latest_overscroll_delta, 65 const gfx::Vector2dF& latest_overscroll_delta,
66 const gfx::Vector2dF& current_fling_velocity, 66 const gfx::Vector2dF& current_fling_velocity,
67 const gfx::PointF& causal_event_viewport_point) override; 67 const gfx::PointF& causal_event_viewport_point) override;
68 void DidStopFlinging() override; 68 void DidStopFlinging() override;
(...skipping 17 matching lines...) Expand all
86 // beyond this point. 86 // beyond this point.
87 base::WeakPtrFactory<BlimpInputHandlerWrapper> weak_factory_; 87 base::WeakPtrFactory<BlimpInputHandlerWrapper> weak_factory_;
88 88
89 DISALLOW_COPY_AND_ASSIGN(BlimpInputHandlerWrapper); 89 DISALLOW_COPY_AND_ASSIGN(BlimpInputHandlerWrapper);
90 }; 90 };
91 91
92 } // namespace client 92 } // namespace client
93 } // namespace blimp 93 } // namespace blimp
94 94
95 #endif // BLIMP_CLIENT_CORE_INPUT_BLIMP_INPUT_HANDLER_WRAPPER_H_ 95 #endif // BLIMP_CLIENT_CORE_INPUT_BLIMP_INPUT_HANDLER_WRAPPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698