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

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

Issue 13068002: Send vsync notification from browser to renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename EnableVSyncNotification to SetVSyncNotificationEnabled Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_base.h" 5 #include "content/browser/renderer_host/render_widget_host_view_base.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/browser/accessibility/browser_accessibility_manager.h" 8 #include "content/browser/accessibility/browser_accessibility_manager.h"
9 #include "content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture. h" 9 #include "content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture. h"
10 #include "content/browser/renderer_host/render_process_host_impl.h" 10 #include "content/browser/renderer_host/render_process_host_impl.h"
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 RenderWidgetHostImpl* impl = NULL; 505 RenderWidgetHostImpl* impl = NULL;
506 if (GetRenderWidgetHost()) 506 if (GetRenderWidgetHost())
507 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost()); 507 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost());
508 if (!impl) 508 if (!impl)
509 return; 509 return;
510 RenderProcessHostImpl* render_process_host = 510 RenderProcessHostImpl* render_process_host =
511 static_cast<RenderProcessHostImpl*>(impl->GetProcess()); 511 static_cast<RenderProcessHostImpl*>(impl->GetProcess());
512 render_process_host->EndFrameSubscription(impl->GetRoutingID()); 512 render_process_host->EndFrameSubscription(impl->GetRoutingID());
513 } 513 }
514 514
515 void RenderWidgetHostViewBase::SetVSyncNotificationEnabled(bool enabled) {
516 NOTIMPLEMENTED();
517 }
518
515 } // namespace content 519 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698