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

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

Issue 2596193002: Clean up names and remove unnecessary parameter (Closed)
Patch Set: rebase 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 InputEventAckState ack_result) { 122 InputEventAckState ack_result) {
123 NOTIMPLEMENTED(); 123 NOTIMPLEMENTED();
124 } 124 }
125 125
126 void RenderWidgetMusConnection::SetInputHandler( 126 void RenderWidgetMusConnection::SetInputHandler(
127 RenderWidgetInputHandler* input_handler) { 127 RenderWidgetInputHandler* input_handler) {
128 DCHECK(!input_handler_); 128 DCHECK(!input_handler_);
129 input_handler_ = input_handler; 129 input_handler_ = input_handler;
130 } 130 }
131 131
132 void RenderWidgetMusConnection::UpdateTextInputState( 132 void RenderWidgetMusConnection::ShowVirtualKeyboard() {
133 ShowIme show_ime,
134 ChangeSource change_source) {
135 NOTIMPLEMENTED(); 133 NOTIMPLEMENTED();
136 } 134 }
137 135
136 void RenderWidgetMusConnection::UpdateTextInputState() {
137 NOTIMPLEMENTED();
138 }
139
138 bool RenderWidgetMusConnection::WillHandleGestureEvent( 140 bool RenderWidgetMusConnection::WillHandleGestureEvent(
139 const blink::WebGestureEvent& event) { 141 const blink::WebGestureEvent& event) {
140 NOTIMPLEMENTED(); 142 NOTIMPLEMENTED();
141 return false; 143 return false;
142 } 144 }
143 145
144 bool RenderWidgetMusConnection::WillHandleMouseEvent( 146 bool RenderWidgetMusConnection::WillHandleMouseEvent(
145 const blink::WebMouseEvent& event) { 147 const blink::WebMouseEvent& event) {
146 // TODO(fsamuel): NOTIMPLEMENTED() is too noisy. 148 // TODO(fsamuel): NOTIMPLEMENTED() is too noisy.
147 // NOTIMPLEMENTED(); 149 // NOTIMPLEMENTED();
(...skipping 21 matching lines...) Expand all
169 // previous event. 171 // previous event.
170 // DCHECK(pending_ack_.is_null()); 172 // DCHECK(pending_ack_.is_null());
171 pending_ack_ = ack; 173 pending_ack_ = ack;
172 // TODO(fsamuel, sadrul): Track real latency info. 174 // TODO(fsamuel, sadrul): Track real latency info.
173 ui::LatencyInfo latency_info; 175 ui::LatencyInfo latency_info;
174 input_handler_->HandleInputEvent(*input_event, latency_info, 176 input_handler_->HandleInputEvent(*input_event, latency_info,
175 DISPATCH_TYPE_BLOCKING); 177 DISPATCH_TYPE_BLOCKING);
176 } 178 }
177 179
178 } // namespace content 180 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/mus/render_widget_mus_connection.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698