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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 } | 129 } |
130 | 130 |
131 void RenderWidgetHostViewMus::Destroy() { | 131 void RenderWidgetHostViewMus::Destroy() { |
132 delete aura_window_; | 132 delete aura_window_; |
133 } | 133 } |
134 | 134 |
135 gfx::Size RenderWidgetHostViewMus::GetPhysicalBackingSize() const { | 135 gfx::Size RenderWidgetHostViewMus::GetPhysicalBackingSize() const { |
136 return RenderWidgetHostViewBase::GetPhysicalBackingSize(); | 136 return RenderWidgetHostViewBase::GetPhysicalBackingSize(); |
137 } | 137 } |
138 | 138 |
139 base::string16 RenderWidgetHostViewMus::GetSelectedText() const { | 139 base::string16 RenderWidgetHostViewMus::GetSelectedText() { |
140 NOTIMPLEMENTED(); | 140 NOTIMPLEMENTED(); |
141 return base::string16(); | 141 return base::string16(); |
142 } | 142 } |
143 | 143 |
144 void RenderWidgetHostViewMus::SetTooltipText( | 144 void RenderWidgetHostViewMus::SetTooltipText( |
145 const base::string16& tooltip_text) { | 145 const base::string16& tooltip_text) { |
146 // TOOD(fsamuel): Ask window manager for tooltip? | 146 // TOOD(fsamuel): Ask window manager for tooltip? |
147 } | 147 } |
148 | 148 |
149 void RenderWidgetHostViewMus::InitAsChild(gfx::NativeView parent_view) { | 149 void RenderWidgetHostViewMus::InitAsChild(gfx::NativeView parent_view) { |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 | 305 |
306 void RenderWidgetHostViewMus::OnWindowInputEvent( | 306 void RenderWidgetHostViewMus::OnWindowInputEvent( |
307 ui::Window* window, | 307 ui::Window* window, |
308 const ui::Event& event, | 308 const ui::Event& event, |
309 std::unique_ptr<base::Callback<void(ui::mojom::EventResult)>>* | 309 std::unique_ptr<base::Callback<void(ui::mojom::EventResult)>>* |
310 ack_callback) { | 310 ack_callback) { |
311 // TODO(sad): Dispatch |event| to the RenderWidgetHost. | 311 // TODO(sad): Dispatch |event| to the RenderWidgetHost. |
312 } | 312 } |
313 | 313 |
314 } // namespace content | 314 } // namespace content |
OLD | NEW |