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

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

Issue 2294963002: Submit Compositor Frame from OffscreenCanvas on main (Closed)
Patch Set: Using Ref test fixes layout test problem Created 4 years, 3 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/platform/graphics/OffscreenCanvasFrameDispatcher.h
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcher.h b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcher.h
new file mode 100644
index 0000000000000000000000000000000000000000..8e17de0247d4bee34eb5d47136a6a360ead42fc2
--- /dev/null
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcher.h
@@ -0,0 +1,22 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef OffscreenCanvasFrameDispatcher_h
+#define OffscreenCanvasFrameDispatcher_h
+
+#include "platform/PlatformExport.h"
+
+namespace blink {
+
+class WebLayer;
+
+class PLATFORM_EXPORT OffscreenCanvasFrameDispatcher {
+public:
+ virtual ~OffscreenCanvasFrameDispatcher() {};
+ virtual void uploadImage(int width, int height);
Justin Novosad 2016/09/02 19:11:15 I think "dispatchFrame" would be more consistent a
danakj 2016/09/02 19:12:42 = 0
xlai (Olivia) 2016/09/02 20:10:06 All done.
+};
+
+} // namespace blink
+
+#endif // OffscreenCanvasFrameDispatcher_h

Powered by Google App Engine
This is Rietveld 408576698