OLD | NEW |
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 Loading... |
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 |
OLD | NEW |