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 "content/browser/renderer_host/render_process_host_impl.h" | 10 #include "content/browser/renderer_host/render_process_host_impl.h" |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 void RenderWidgetHostViewMus::UpdateCursor(const WebCursor& cursor) { | 179 void RenderWidgetHostViewMus::UpdateCursor(const WebCursor& cursor) { |
180 // TODO(fsamuel): Implement cursors in Mus. | 180 // TODO(fsamuel): Implement cursors in Mus. |
181 NOTIMPLEMENTED(); | 181 NOTIMPLEMENTED(); |
182 } | 182 } |
183 | 183 |
184 void RenderWidgetHostViewMus::SetIsLoading(bool is_loading) { | 184 void RenderWidgetHostViewMus::SetIsLoading(bool is_loading) { |
185 } | 185 } |
186 | 186 |
187 void RenderWidgetHostViewMus::TextInputStateChanged( | 187 void RenderWidgetHostViewMus::TextInputStateChanged( |
188 const TextInputState& params) { | 188 const TextInputState& params) { |
189 // TODO(fsamuel): Implement an IME mojo app. | 189 // TODO(fsamuel): Implement an IME service. |
190 } | 190 } |
191 | 191 |
192 void RenderWidgetHostViewMus::ImeCancelComposition() { | 192 void RenderWidgetHostViewMus::ImeCancelComposition() { |
193 // TODO(fsamuel): Implement an IME mojo app. | 193 // TODO(fsamuel): Implement an IME service. |
194 } | 194 } |
195 | 195 |
196 void RenderWidgetHostViewMus::ImeCompositionRangeChanged( | 196 void RenderWidgetHostViewMus::ImeCompositionRangeChanged( |
197 const gfx::Range& range, | 197 const gfx::Range& range, |
198 const std::vector<gfx::Rect>& character_bounds) { | 198 const std::vector<gfx::Rect>& character_bounds) { |
199 // TODO(fsamuel): Implement IME. | 199 // TODO(fsamuel): Implement IME. |
200 } | 200 } |
201 | 201 |
202 void RenderWidgetHostViewMus::SelectionChanged(const base::string16& text, | 202 void RenderWidgetHostViewMus::SelectionChanged(const base::string16& text, |
203 size_t offset, | 203 size_t offset, |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 | 301 |
302 void RenderWidgetHostViewMus::OnWindowInputEvent( | 302 void RenderWidgetHostViewMus::OnWindowInputEvent( |
303 ui::Window* window, | 303 ui::Window* window, |
304 const ui::Event& event, | 304 const ui::Event& event, |
305 std::unique_ptr<base::Callback<void(ui::mojom::EventResult)>>* | 305 std::unique_ptr<base::Callback<void(ui::mojom::EventResult)>>* |
306 ack_callback) { | 306 ack_callback) { |
307 // TODO(sad): Dispatch |event| to the RenderWidgetHost. | 307 // TODO(sad): Dispatch |event| to the RenderWidgetHost. |
308 } | 308 } |
309 | 309 |
310 } // namespace content | 310 } // namespace content |
OLD | NEW |