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