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

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

Issue 2596193002: Clean up names and remove unnecessary parameter (Closed)
Patch Set: change show_ime to show_virtual_keyboard in the renderer 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 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
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::ShowVirtualKeyboard() {
132 ShowIme show_ime,
133 ChangeSource change_source) {
134 NOTIMPLEMENTED(); 132 NOTIMPLEMENTED();
135 } 133 }
136 134
135 void RenderWidgetMusConnection::UpdateTextInputState() {
136 NOTIMPLEMENTED();
137 }
138
137 bool RenderWidgetMusConnection::WillHandleGestureEvent( 139 bool RenderWidgetMusConnection::WillHandleGestureEvent(
138 const blink::WebGestureEvent& event) { 140 const blink::WebGestureEvent& event) {
139 NOTIMPLEMENTED(); 141 NOTIMPLEMENTED();
140 return false; 142 return false;
141 } 143 }
142 144
143 bool RenderWidgetMusConnection::WillHandleMouseEvent( 145 bool RenderWidgetMusConnection::WillHandleMouseEvent(
144 const blink::WebMouseEvent& event) { 146 const blink::WebMouseEvent& event) {
145 // TODO(fsamuel): NOTIMPLEMENTED() is too noisy. 147 // TODO(fsamuel): NOTIMPLEMENTED() is too noisy.
146 // NOTIMPLEMENTED(); 148 // NOTIMPLEMENTED();
(...skipping 21 matching lines...) Expand all
168 // previous event. 170 // previous event.
169 // DCHECK(pending_ack_.is_null()); 171 // DCHECK(pending_ack_.is_null());
170 pending_ack_ = ack; 172 pending_ack_ = ack;
171 // TODO(fsamuel, sadrul): Track real latency info. 173 // TODO(fsamuel, sadrul): Track real latency info.
172 ui::LatencyInfo latency_info; 174 ui::LatencyInfo latency_info;
173 input_handler_->HandleInputEvent(*input_event, latency_info, 175 input_handler_->HandleInputEvent(*input_event, latency_info,
174 DISPATCH_TYPE_BLOCKING); 176 DISPATCH_TYPE_BLOCKING);
175 } 177 }
176 178
177 } // namespace content 179 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698