Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1692)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_mus.cc

Issue 2242613003: Hoist SetNeedsBeginFrame messages up to the RWHostImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove base class call Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 void RenderWidgetHostViewMus::UnlockMouse() { 248 void RenderWidgetHostViewMus::UnlockMouse() {
249 // TODO(fsamuel): Implement mouse lock in Mus. 249 // TODO(fsamuel): Implement mouse lock in Mus.
250 } 250 }
251 251
252 gfx::Rect RenderWidgetHostViewMus::GetBoundsInRootWindow() { 252 gfx::Rect RenderWidgetHostViewMus::GetBoundsInRootWindow() {
253 aura::Window* top_level = aura_window_->GetToplevelWindow(); 253 aura::Window* top_level = aura_window_->GetToplevelWindow();
254 gfx::Rect bounds(top_level->GetBoundsInScreen()); 254 gfx::Rect bounds(top_level->GetBoundsInScreen());
255 return bounds; 255 return bounds;
256 } 256 }
257 257
258 void RenderWidgetHostViewMus::SetNeedsBeginFrames(bool needs_begin_frames) {
259 // TODO(enne): Implement this.
260 }
261
258 #if defined(OS_MACOSX) 262 #if defined(OS_MACOSX)
259 ui::AcceleratedWidgetMac* RenderWidgetHostViewMus::GetAcceleratedWidgetMac() 263 ui::AcceleratedWidgetMac* RenderWidgetHostViewMus::GetAcceleratedWidgetMac()
260 const { 264 const {
261 return nullptr; 265 return nullptr;
262 } 266 }
263 267
264 void RenderWidgetHostViewMus::SetActive(bool active) { 268 void RenderWidgetHostViewMus::SetActive(bool active) {
265 } 269 }
266 270
267 void RenderWidgetHostViewMus::ShowDefinitionForSelection() { 271 void RenderWidgetHostViewMus::ShowDefinitionForSelection() {
(...skipping 29 matching lines...) Expand all
297 301
298 void RenderWidgetHostViewMus::OnWindowInputEvent( 302 void RenderWidgetHostViewMus::OnWindowInputEvent(
299 ui::Window* window, 303 ui::Window* window,
300 const ui::Event& event, 304 const ui::Event& event,
301 std::unique_ptr<base::Callback<void(ui::mojom::EventResult)>>* 305 std::unique_ptr<base::Callback<void(ui::mojom::EventResult)>>*
302 ack_callback) { 306 ack_callback) {
303 // TODO(sad): Dispatch |event| to the RenderWidgetHost. 307 // TODO(sad): Dispatch |event| to the RenderWidgetHost.
304 } 308 }
305 309
306 } // namespace content 310 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698