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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2826893003: Remove ScrollableArea::GetFrameViewBase and move ScheduleAnimation into subclasses. (Closed)
Patch Set: Remove UNREACHED Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 75927b342e7ae70614d771402a0ab300b6b05ecf..96039293c40bbf1a261f599596db5e45cd4d7c1b 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -2747,6 +2747,10 @@ void FrameView::ScrollbarStyleChanged() {
PositionScrollbarLayers();
}
+bool FrameView::ScheduleAnimation() {
haraken 2017/04/19 09:44:07 It seems like we have too many proxy methods to ca
joelhockey 2017/04/19 10:27:54 2 CLs on the wey soon for this.
+ return frame_->ScheduleAnimation(GetHostWindow());
+}
+
void FrameView::NotifyPageThatContentAreaWillPaint() const {
Page* page = frame_->GetPage();
if (!page)
@@ -4577,10 +4581,6 @@ bool FrameView::ShouldPlaceVerticalScrollbarOnLeft() const {
return false;
}
-FrameViewBase* FrameView::GetFrameViewBase() {
- return this;
-}
-
LayoutRect FrameView::ScrollIntoView(const LayoutRect& rect_in_content,
const ScrollAlignment& align_x,
const ScrollAlignment& align_y,

Powered by Google App Engine
This is Rietveld 408576698