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

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

Issue 20045007: Use DidOverscrollParams in the browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 2 Created 6 years, 7 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 (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/gpu/gpu_data_manager_impl.h" 9 #include "content/browser/gpu/gpu_data_manager_impl.h"
10 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h" 10 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h"
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 RenderWidgetHostImpl* impl = NULL; 566 RenderWidgetHostImpl* impl = NULL;
567 if (GetRenderWidgetHost()) 567 if (GetRenderWidgetHost())
568 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost()); 568 impl = RenderWidgetHostImpl::From(GetRenderWidgetHost());
569 if (!impl) 569 if (!impl)
570 return; 570 return;
571 RenderProcessHostImpl* render_process_host = 571 RenderProcessHostImpl* render_process_host =
572 static_cast<RenderProcessHostImpl*>(impl->GetProcess()); 572 static_cast<RenderProcessHostImpl*>(impl->GetProcess());
573 render_process_host->EndFrameSubscription(impl->GetRoutingID()); 573 render_process_host->EndFrameSubscription(impl->GetRoutingID());
574 } 574 }
575 575
576 void RenderWidgetHostViewBase::OnOverscrolled(
577 gfx::Vector2dF accumulated_overscroll,
578 gfx::Vector2dF current_fling_velocity) {
579 }
580
581 uint32 RenderWidgetHostViewBase::RendererFrameNumber() { 576 uint32 RenderWidgetHostViewBase::RendererFrameNumber() {
582 return renderer_frame_number_; 577 return renderer_frame_number_;
583 } 578 }
584 579
585 void RenderWidgetHostViewBase::DidReceiveRendererFrame() { 580 void RenderWidgetHostViewBase::DidReceiveRendererFrame() {
586 ++renderer_frame_number_; 581 ++renderer_frame_number_;
587 } 582 }
588 583
589 void RenderWidgetHostViewBase::LockCompositingSurface() { 584 void RenderWidgetHostViewBase::LockCompositingSurface() {
590 NOTIMPLEMENTED(); 585 NOTIMPLEMENTED();
(...skipping 10 matching lines...) Expand all
601 if (!impl) 596 if (!impl)
602 return; 597 return;
603 impl->FlushInput(); 598 impl->FlushInput();
604 } 599 }
605 600
606 SkBitmap::Config RenderWidgetHostViewBase::PreferredReadbackFormat() { 601 SkBitmap::Config RenderWidgetHostViewBase::PreferredReadbackFormat() {
607 return SkBitmap::kARGB_8888_Config; 602 return SkBitmap::kARGB_8888_Config;
608 } 603 }
609 604
610 } // namespace content 605 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_base.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698