Chromium Code Reviews| 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 |