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

Unified Diff: sky/engine/public/web/WebWidgetClient.h

Issue 842113005: Delete a bunch of noop paint invalidation code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix comment Created 5 years, 11 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
« no previous file with comments | « sky/engine/public/web/WebWidget.h ('k') | sky/engine/web/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/public/web/WebWidgetClient.h
diff --git a/sky/engine/public/web/WebWidgetClient.h b/sky/engine/public/web/WebWidgetClient.h
index 982eef7fcf5e5f321c7a89f9c25e0e432874ff7c..3d9fa023900f7a2781bc65807a1b54a1d03e5e7e 100644
--- a/sky/engine/public/web/WebWidgetClient.h
+++ b/sky/engine/public/web/WebWidgetClient.h
@@ -48,21 +48,12 @@ struct WebSize;
class WebWidgetClient {
public:
- // Called when a region of the WebWidget needs to be re-painted.
- virtual void didInvalidateRect(const WebRect&) { }
-
// Called when the Widget has changed size as a result of an auto-resize.
virtual void didAutoResize(const WebSize& newSize) { }
// Initialize compositing for this widget.
virtual void initializeLayerTreeView() { BLINK_ASSERT_NOT_REACHED(); };
- // Sometimes the WebWidget enters a state where it will generate a sequence
- // of invalidations that should not, by themselves, trigger the compositor
- // to schedule a new frame. This call indicates to the embedder that it
- // should suppress compositor scheduling temporarily.
- virtual void suppressCompositorScheduling(bool enable) { }
-
// Indicates to the embedder that the compositor is about to begin a
// frame. This is primarily to signal to flow control mechanisms that a
// frame is beginning, not to perform actual painting work.
« no previous file with comments | « sky/engine/public/web/WebWidget.h ('k') | sky/engine/web/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698