| 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_shell_client_host.h" | 12 #include "content/browser/mojo/mojo_shell_client_host.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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 | 187 |
| 187 void RenderWidgetHostViewMus::UpdateCursor(const WebCursor& cursor) { | 188 void RenderWidgetHostViewMus::UpdateCursor(const WebCursor& cursor) { |
| 188 // TODO(fsamuel): Implement cursors in Mus. | 189 // TODO(fsamuel): Implement cursors in Mus. |
| 189 NOTIMPLEMENTED(); | 190 NOTIMPLEMENTED(); |
| 190 } | 191 } |
| 191 | 192 |
| 192 void RenderWidgetHostViewMus::SetIsLoading(bool is_loading) { | 193 void RenderWidgetHostViewMus::SetIsLoading(bool is_loading) { |
| 193 } | 194 } |
| 194 | 195 |
| 195 void RenderWidgetHostViewMus::TextInputStateChanged( | 196 void RenderWidgetHostViewMus::TextInputStateChanged( |
| 196 const ViewHostMsg_TextInputState_Params& params) { | 197 const TextInputState& params) { |
| 197 // TODO(fsamuel): Implement an IME mojo app. | 198 // TODO(fsamuel): Implement an IME mojo app. |
| 198 } | 199 } |
| 199 | 200 |
| 200 void RenderWidgetHostViewMus::ImeCancelComposition() { | 201 void RenderWidgetHostViewMus::ImeCancelComposition() { |
| 201 // TODO(fsamuel): Implement an IME mojo app. | 202 // TODO(fsamuel): Implement an IME mojo app. |
| 202 } | 203 } |
| 203 | 204 |
| 204 void RenderWidgetHostViewMus::ImeCompositionRangeChanged( | 205 void RenderWidgetHostViewMus::ImeCompositionRangeChanged( |
| 205 const gfx::Range& range, | 206 const gfx::Range& range, |
| 206 const std::vector<gfx::Rect>& character_bounds) { | 207 const std::vector<gfx::Rect>& character_bounds) { |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 void RenderWidgetHostViewMus::SetParentNativeViewAccessible( | 326 void RenderWidgetHostViewMus::SetParentNativeViewAccessible( |
| 326 gfx::NativeViewAccessible accessible_parent) {} | 327 gfx::NativeViewAccessible accessible_parent) {} |
| 327 | 328 |
| 328 gfx::NativeViewId RenderWidgetHostViewMus::GetParentForWindowlessPlugin() | 329 gfx::NativeViewId RenderWidgetHostViewMus::GetParentForWindowlessPlugin() |
| 329 const { | 330 const { |
| 330 return gfx::NativeViewId(); | 331 return gfx::NativeViewId(); |
| 331 } | 332 } |
| 332 #endif | 333 #endif |
| 333 | 334 |
| 334 } // namespace content | 335 } // namespace content |
| OLD | NEW |