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

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h

Issue 1505753005: Add OnRequestCanvasDrawListener (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@timed-draw-listener
Patch Set: Rebase. Created 5 years 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/html/canvas/CanvasDrawListener.h
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h b/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h
index 55d4a4313a08c3abce783a4593ff8f3c9705adc1..8de05ab1e776a031e10d8ef3c657331dcd349643 100644
--- a/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasDrawListener.h
@@ -18,6 +18,7 @@ public:
virtual ~CanvasDrawListener();
virtual bool needsNewFrame() const;
virtual void sendNewFrame(const WTF::PassRefPtr<SkImage>&);
+ virtual void requestFrame();
protected:
explicit CanvasDrawListener(const PassOwnPtr<WebCanvasCaptureHandler>);

Powered by Google App Engine
This is Rietveld 408576698