| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |