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/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/mojo/mojo_child_connection.h" | 12 #include "content/browser/mojo/mojo_child_connection.h" |
13 #include "content/browser/renderer_host/render_process_host_impl.h" | 13 #include "content/browser/renderer_host/render_process_host_impl.h" |
14 #include "content/browser/renderer_host/render_widget_host_impl.h" | 14 #include "content/browser/renderer_host/render_widget_host_impl.h" |
15 #include "content/common/render_widget_window_tree_client_factory.mojom.h" | 15 #include "content/common/render_widget_window_tree_client_factory.mojom.h" |
| 16 #include "content/common/text_input_state.h" |
16 #include "content/public/common/mojo_shell_connection.h" | 17 #include "content/public/common/mojo_shell_connection.h" |
17 #include "mojo/shell/public/cpp/connector.h" | 18 #include "mojo/shell/public/cpp/connector.h" |
18 #include "ui/aura/client/screen_position_client.h" | 19 #include "ui/aura/client/screen_position_client.h" |
19 #include "ui/aura/window.h" | 20 #include "ui/aura/window.h" |
20 #include "ui/base/hit_test.h" | 21 #include "ui/base/hit_test.h" |
21 | 22 |
22 namespace blink { | 23 namespace blink { |
23 struct WebScreenInfo; | 24 struct WebScreenInfo; |
24 } | 25 } |
25 | 26 |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 | 182 |
182 void RenderWidgetHostViewMus::UpdateCursor(const WebCursor& cursor) { | 183 void RenderWidgetHostViewMus::UpdateCursor(const WebCursor& cursor) { |
183 // TODO(fsamuel): Implement cursors in Mus. | 184 // TODO(fsamuel): Implement cursors in Mus. |
184 NOTIMPLEMENTED(); | 185 NOTIMPLEMENTED(); |
185 } | 186 } |
186 | 187 |
187 void RenderWidgetHostViewMus::SetIsLoading(bool is_loading) { | 188 void RenderWidgetHostViewMus::SetIsLoading(bool is_loading) { |
188 } | 189 } |
189 | 190 |
190 void RenderWidgetHostViewMus::TextInputStateChanged( | 191 void RenderWidgetHostViewMus::TextInputStateChanged( |
191 const ViewHostMsg_TextInputState_Params& params) { | 192 const TextInputState& params) { |
192 // TODO(fsamuel): Implement an IME mojo app. | 193 // TODO(fsamuel): Implement an IME mojo app. |
193 } | 194 } |
194 | 195 |
195 void RenderWidgetHostViewMus::ImeCancelComposition() { | 196 void RenderWidgetHostViewMus::ImeCancelComposition() { |
196 // TODO(fsamuel): Implement an IME mojo app. | 197 // TODO(fsamuel): Implement an IME mojo app. |
197 } | 198 } |
198 | 199 |
199 void RenderWidgetHostViewMus::ImeCompositionRangeChanged( | 200 void RenderWidgetHostViewMus::ImeCompositionRangeChanged( |
200 const gfx::Range& range, | 201 const gfx::Range& range, |
201 const std::vector<gfx::Rect>& character_bounds) { | 202 const std::vector<gfx::Rect>& character_bounds) { |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 | 311 |
311 void RenderWidgetHostViewMus::LockCompositingSurface() { | 312 void RenderWidgetHostViewMus::LockCompositingSurface() { |
312 NOTIMPLEMENTED(); | 313 NOTIMPLEMENTED(); |
313 } | 314 } |
314 | 315 |
315 void RenderWidgetHostViewMus::UnlockCompositingSurface() { | 316 void RenderWidgetHostViewMus::UnlockCompositingSurface() { |
316 NOTIMPLEMENTED(); | 317 NOTIMPLEMENTED(); |
317 } | 318 } |
318 | 319 |
319 } // namespace content | 320 } // namespace content |
OLD | NEW |