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

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 parameter name, pass parameter directly 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::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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698