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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_mus.cc

Issue 1914603002: Replace ViewHostMsg_TextInputState_Params with content::TextInputState. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/browser/renderer_host/render_widget_host_view_mus.h" 5 #include "content/browser/renderer_host/render_widget_host_view_mus.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "components/mus/public/cpp/window.h" 10 #include "components/mus/public/cpp/window.h"
11 #include "components/mus/public/cpp/window_tree_connection.h" 11 #include "components/mus/public/cpp/window_tree_connection.h"
12 #include "content/browser/renderer_host/render_process_host_impl.h" 12 #include "content/browser/renderer_host/render_process_host_impl.h"
13 #include "content/browser/renderer_host/render_widget_host_impl.h" 13 #include "content/browser/renderer_host/render_widget_host_impl.h"
14 #include "content/common/render_widget_window_tree_client_factory.mojom.h" 14 #include "content/common/render_widget_window_tree_client_factory.mojom.h"
15 #include "content/common/text_input_state.h"
15 #include "content/public/common/mojo_shell_connection.h" 16 #include "content/public/common/mojo_shell_connection.h"
16 #include "services/shell/public/cpp/connector.h" 17 #include "services/shell/public/cpp/connector.h"
17 #include "ui/aura/client/screen_position_client.h" 18 #include "ui/aura/client/screen_position_client.h"
18 #include "ui/aura/window.h" 19 #include "ui/aura/window.h"
19 #include "ui/base/hit_test.h" 20 #include "ui/base/hit_test.h"
20 21
21 namespace blink { 22 namespace blink {
22 struct WebScreenInfo; 23 struct WebScreenInfo;
23 } 24 }
24 25
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 181
181 void RenderWidgetHostViewMus::UpdateCursor(const WebCursor& cursor) { 182 void RenderWidgetHostViewMus::UpdateCursor(const WebCursor& cursor) {
182 // TODO(fsamuel): Implement cursors in Mus. 183 // TODO(fsamuel): Implement cursors in Mus.
183 NOTIMPLEMENTED(); 184 NOTIMPLEMENTED();
184 } 185 }
185 186
186 void RenderWidgetHostViewMus::SetIsLoading(bool is_loading) { 187 void RenderWidgetHostViewMus::SetIsLoading(bool is_loading) {
187 } 188 }
188 189
189 void RenderWidgetHostViewMus::TextInputStateChanged( 190 void RenderWidgetHostViewMus::TextInputStateChanged(
190 const ViewHostMsg_TextInputState_Params& params) { 191 const TextInputState& params) {
191 // TODO(fsamuel): Implement an IME mojo app. 192 // TODO(fsamuel): Implement an IME mojo app.
192 } 193 }
193 194
194 void RenderWidgetHostViewMus::ImeCancelComposition() { 195 void RenderWidgetHostViewMus::ImeCancelComposition() {
195 // TODO(fsamuel): Implement an IME mojo app. 196 // TODO(fsamuel): Implement an IME mojo app.
196 } 197 }
197 198
198 void RenderWidgetHostViewMus::ImeCompositionRangeChanged( 199 void RenderWidgetHostViewMus::ImeCompositionRangeChanged(
199 const gfx::Range& range, 200 const gfx::Range& range,
200 const std::vector<gfx::Rect>& character_bounds) { 201 const std::vector<gfx::Rect>& character_bounds) {
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 297
297 void RenderWidgetHostViewMus::LockCompositingSurface() { 298 void RenderWidgetHostViewMus::LockCompositingSurface() {
298 NOTIMPLEMENTED(); 299 NOTIMPLEMENTED();
299 } 300 }
300 301
301 void RenderWidgetHostViewMus::UnlockCompositingSurface() { 302 void RenderWidgetHostViewMus::UnlockCompositingSurface() {
302 NOTIMPLEMENTED(); 303 NOTIMPLEMENTED();
303 } 304 }
304 305
305 } // namespace content 306 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698