| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 InputEventAckState ack_result) { | 121 InputEventAckState ack_result) { |
| 122 NOTIMPLEMENTED(); | 122 NOTIMPLEMENTED(); |
| 123 } | 123 } |
| 124 | 124 |
| 125 void RenderWidgetMusConnection::SetInputHandler( | 125 void RenderWidgetMusConnection::SetInputHandler( |
| 126 RenderWidgetInputHandler* input_handler) { | 126 RenderWidgetInputHandler* input_handler) { |
| 127 DCHECK(!input_handler_); | 127 DCHECK(!input_handler_); |
| 128 input_handler_ = input_handler; | 128 input_handler_ = input_handler; |
| 129 } | 129 } |
| 130 | 130 |
| 131 void RenderWidgetMusConnection::UpdateTextInputState( | 131 void RenderWidgetMusConnection::UpdateTextInputState(ShowIme show_ime) { |
| 132 ShowIme show_ime, | |
| 133 ChangeSource change_source) { | |
| 134 NOTIMPLEMENTED(); | 132 NOTIMPLEMENTED(); |
| 135 } | 133 } |
| 136 | 134 |
| 137 bool RenderWidgetMusConnection::WillHandleGestureEvent( | 135 bool RenderWidgetMusConnection::WillHandleGestureEvent( |
| 138 const blink::WebGestureEvent& event) { | 136 const blink::WebGestureEvent& event) { |
| 139 NOTIMPLEMENTED(); | 137 NOTIMPLEMENTED(); |
| 140 return false; | 138 return false; |
| 141 } | 139 } |
| 142 | 140 |
| 143 bool RenderWidgetMusConnection::WillHandleMouseEvent( | 141 bool RenderWidgetMusConnection::WillHandleMouseEvent( |
| (...skipping 24 matching lines...) Expand all Loading... |
| 168 // previous event. | 166 // previous event. |
| 169 // DCHECK(pending_ack_.is_null()); | 167 // DCHECK(pending_ack_.is_null()); |
| 170 pending_ack_ = ack; | 168 pending_ack_ = ack; |
| 171 // TODO(fsamuel, sadrul): Track real latency info. | 169 // TODO(fsamuel, sadrul): Track real latency info. |
| 172 ui::LatencyInfo latency_info; | 170 ui::LatencyInfo latency_info; |
| 173 input_handler_->HandleInputEvent(*input_event, latency_info, | 171 input_handler_->HandleInputEvent(*input_event, latency_info, |
| 174 DISPATCH_TYPE_BLOCKING); | 172 DISPATCH_TYPE_BLOCKING); |
| 175 } | 173 } |
| 176 | 174 |
| 177 } // namespace content | 175 } // namespace content |
| OLD | NEW |