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

Unified Diff: third_party/WebKit/public/web/WebPlugin.h

Issue 1774653002: Decouple scheduling animation of webview plugins from layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/web/WebPlugin.h
diff --git a/third_party/WebKit/public/web/WebPlugin.h b/third_party/WebKit/public/web/WebPlugin.h
index c25bc6c03116134a7b664bcaf746bd894f105ab4..8e6703aa42df7d8da2365fcea7c725768e757e67 100644
--- a/third_party/WebKit/public/web/WebPlugin.h
+++ b/third_party/WebKit/public/web/WebPlugin.h
@@ -103,8 +103,7 @@ public:
virtual bool canProcessDrag() const { return false; }
- // TODO(schenney): Make these pure virtual when chromium changes land
- virtual void layoutIfNeeded() { }
+ virtual void updateAllLifecyclePhases() = 0;
virtual void paint(WebCanvas*, const WebRect&) = 0;
// Coordinates are relative to the containing window.

Powered by Google App Engine
This is Rietveld 408576698