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

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

Issue 2363553004: Fix build breakage from f9743ba418f7c50e0d0aae830a01669d42ea0eb2 (Closed)
Patch Set: Created 4 years, 3 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 | « blimp/client/feature/compositor/blimp_input_handler_wrapper.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "blimp/client/feature/compositor/blimp_input_handler_wrapper.h" 5 #include "blimp/client/feature/compositor/blimp_input_handler_wrapper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "blimp/client/feature/compositor/blimp_input_manager.h" 10 #include "blimp/client/feature/compositor/blimp_input_manager.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 const blink::WebSize& cumulative_scroll) { 82 const blink::WebSize& cumulative_scroll) {
83 DCHECK(compositor_thread_checker_.CalledOnValidThread()); 83 DCHECK(compositor_thread_checker_.CalledOnValidThread());
84 84
85 return ui::WebGestureCurveImpl::CreateFromDefaultPlatformCurve( 85 return ui::WebGestureCurveImpl::CreateFromDefaultPlatformCurve(
86 gfx::Vector2dF(velocity.x, velocity.y), 86 gfx::Vector2dF(velocity.x, velocity.y),
87 gfx::Vector2dF(cumulative_scroll.width, 87 gfx::Vector2dF(cumulative_scroll.width,
88 cumulative_scroll.height), 88 cumulative_scroll.height),
89 false /* on_main_thread */).release(); 89 false /* on_main_thread */).release();
90 } 90 }
91 91
92 void BlimpInputHandlerWrapper::DispatchNonBlockingEventToMainThread(
93 ui::ScopedWebInputEvent event,
94 const ui::LatencyInfo& latency_info) {
95 DCHECK(compositor_thread_checker_.CalledOnValidThread());
96 DCHECK_EQ(event->type, blink::WebInputEvent::MouseWheel);
97
98 NOTIMPLEMENTED()
99 << "Dispatching Non Blocking Events to the engine is not supported";
100 }
101
92 void BlimpInputHandlerWrapper::DidOverscroll( 102 void BlimpInputHandlerWrapper::DidOverscroll(
93 const gfx::Vector2dF& accumulated_overscroll, 103 const gfx::Vector2dF& accumulated_overscroll,
94 const gfx::Vector2dF& latest_overscroll_delta, 104 const gfx::Vector2dF& latest_overscroll_delta,
95 const gfx::Vector2dF& current_fling_velocity, 105 const gfx::Vector2dF& current_fling_velocity,
96 const gfx::PointF& causal_event_viewport_point) { 106 const gfx::PointF& causal_event_viewport_point) {
97 DCHECK(compositor_thread_checker_.CalledOnValidThread()); 107 DCHECK(compositor_thread_checker_.CalledOnValidThread());
98 } 108 }
99 109
100 void BlimpInputHandlerWrapper::DidStartFlinging() { 110 void BlimpInputHandlerWrapper::DidStartFlinging() {
101 DCHECK(compositor_thread_checker_.CalledOnValidThread()); 111 DCHECK(compositor_thread_checker_.CalledOnValidThread());
102 } 112 }
103 113
104 void BlimpInputHandlerWrapper::DidStopFlinging() { 114 void BlimpInputHandlerWrapper::DidStopFlinging() {
105 DCHECK(compositor_thread_checker_.CalledOnValidThread()); 115 DCHECK(compositor_thread_checker_.CalledOnValidThread());
106 } 116 }
107 117
108 void BlimpInputHandlerWrapper::DidAnimateForInput() { 118 void BlimpInputHandlerWrapper::DidAnimateForInput() {
109 DCHECK(compositor_thread_checker_.CalledOnValidThread()); 119 DCHECK(compositor_thread_checker_.CalledOnValidThread());
110 } 120 }
111 121
112 } // namespace client 122 } // namespace client
113 } // namespace blimp 123 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/feature/compositor/blimp_input_handler_wrapper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698