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

Unified Diff: third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.h

Issue 2508943003: Make OffscreenCanvas resizeable (Closed)
Patch Set: Created 4 years, 1 month 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/platform/graphics/OffscreenCanvasPlaceholder.h
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.h b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.h
index f03040eca7c2c774a977d73e6ea1ec0f3c9f1657..703496afa17db46a795d264d516d62680f7d034e 100644
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.h
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasPlaceholder.h
@@ -13,6 +13,7 @@
namespace blink {
class Image;
+class IntSize;
class OffscreenCanvasFrameDispatcher;
class WebTaskRunner;
@@ -26,6 +27,8 @@ class PLATFORM_EXPORT OffscreenCanvasPlaceholder {
unsigned resourceId);
void releasePlaceholderFrame();
+ virtual void setSize(const IntSize&) = 0;
+
static OffscreenCanvasPlaceholder* getPlaceholderById(unsigned placeholderId);
void registerPlaceholder(unsigned placeholderId);

Powered by Google App Engine
This is Rietveld 408576698