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

Side by Side Diff: content/renderer/mus/render_widget_mus_connection.cc

Issue 1749343004: Implement Wheel Gesture Scrolling on OSX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure only high precision scroll begins are used Created 4 years, 9 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 | « content/renderer/mus/render_widget_mus_connection.h ('k') | content/renderer/render_widget.h » ('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 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 "content/renderer/mus/render_widget_mus_connection.h" 5 #include "content/renderer/mus/render_widget_mus_connection.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 return true; 99 return true;
100 } 100 }
101 101
102 void RenderWidgetMusConnection::ObserveWheelEventAndResult( 102 void RenderWidgetMusConnection::ObserveWheelEventAndResult(
103 const blink::WebMouseWheelEvent& wheel_event, 103 const blink::WebMouseWheelEvent& wheel_event,
104 const gfx::Vector2dF& wheel_unused_delta, 104 const gfx::Vector2dF& wheel_unused_delta,
105 bool event_processed) { 105 bool event_processed) {
106 NOTIMPLEMENTED(); 106 NOTIMPLEMENTED();
107 } 107 }
108 108
109 void RenderWidgetMusConnection::ObserveGestureEventAndResult(
110 const blink::WebGestureEvent& gesture_event,
111 const gfx::Vector2dF& wheel_unused_delta,
112 bool event_processed) {
113 NOTIMPLEMENTED();
114 }
115
109 void RenderWidgetMusConnection::OnDidHandleKeyEvent() { 116 void RenderWidgetMusConnection::OnDidHandleKeyEvent() {
110 NOTIMPLEMENTED(); 117 NOTIMPLEMENTED();
111 } 118 }
112 119
113 void RenderWidgetMusConnection::OnDidOverscroll( 120 void RenderWidgetMusConnection::OnDidOverscroll(
114 const DidOverscrollParams& params) { 121 const DidOverscrollParams& params) {
115 NOTIMPLEMENTED(); 122 NOTIMPLEMENTED();
116 } 123 }
117 124
118 void RenderWidgetMusConnection::OnInputEventAck( 125 void RenderWidgetMusConnection::OnInputEventAck(
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 // previous event. 181 // previous event.
175 // DCHECK(pending_ack_.is_null()); 182 // DCHECK(pending_ack_.is_null());
176 pending_ack_ = ack; 183 pending_ack_ = ack;
177 // TODO(fsamuel, sadrul): Track real latency info. 184 // TODO(fsamuel, sadrul): Track real latency info.
178 ui::LatencyInfo latency_info; 185 ui::LatencyInfo latency_info;
179 input_handler_->HandleInputEvent(*input_event, latency_info, 186 input_handler_->HandleInputEvent(*input_event, latency_info,
180 DISPATCH_TYPE_NORMAL); 187 DISPATCH_TYPE_NORMAL);
181 } 188 }
182 189
183 } // namespace content 190 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/mus/render_widget_mus_connection.h ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698