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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 2128563002: Move scheduleAnimation calls from WebViewClient to WebWidgetClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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/web/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index 75da1ebf9457f6475c5b11f4694810ebee88c583..6ef0731b45ae55eeec9727deb9a3d199d49eead9 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -427,7 +427,6 @@ public:
GraphicsLayer* rootGraphicsLayer();
void registerViewportLayersWithCompositor();
PaintLayerCompositor* compositor() const;
- void scheduleAnimation();
CompositorAnimationTimeline* linkHighlightsTimeline() const { return m_linkHighlightsTimeline.get(); }
WebViewScheduler* scheduler() const override;
@@ -541,6 +540,9 @@ private:
// m_overrideCompositorVisibility for more details.
void setCompositorVisibility(bool);
+ // TODO(lfg): Remove once WebViewFrameWidget is deleted.
+ void scheduleAnimationForWidget();
+
friend class WebView; // So WebView::Create can call our constructor
friend class WebViewFrameWidget;
friend class WTF::RefCounted<WebViewImpl>;

Powered by Google App Engine
This is Rietveld 408576698