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

Unified Diff: third_party/WebKit/Source/web/WebPluginContainerImpl.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/Source/web/WebPluginContainerImpl.h
diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.h b/third_party/WebKit/Source/web/WebPluginContainerImpl.h
index 72f25f07044e038d9b20a5b0c9f1b55e313d0879..38867769228028a6c3ab8ef931bb21b8607efd01 100644
--- a/third_party/WebKit/Source/web/WebPluginContainerImpl.h
+++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.h
@@ -78,7 +78,7 @@ public:
bool supportsInputMethod() const override;
bool canProcessDrag() const override;
bool wantsWheelEvents() override;
- void layoutIfNeeded() override;
+ void updateAllLifecyclePhases() override;
void invalidatePaintIfNeeded() override { issuePaintInvalidations(); }
// Widget methods
@@ -102,7 +102,7 @@ public:
void invalidate() override;
void invalidateRect(const WebRect&) override;
void scrollRect(const WebRect&) override;
- void setNeedsLayout() override;
+ void scheduleAnimation() override;
void reportGeometry() override;
void allowScriptObjects() override;
void clearScriptObjects() override;

Powered by Google App Engine
This is Rietveld 408576698