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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcher.h

Issue 2328463004: Implement WebGL's commit on the main thread (Closed)
Patch Set: fix compile error on win_dbg 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef OffscreenCanvasFrameDispatcher_h 5 #ifndef OffscreenCanvasFrameDispatcher_h
6 #define OffscreenCanvasFrameDispatcher_h 6 #define OffscreenCanvasFrameDispatcher_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "wtf/RefPtr.h"
9 10
10 namespace blink { 11 namespace blink {
11 12
13 class StaticBitmapImage;
12 class WebLayer; 14 class WebLayer;
13 15
14 class PLATFORM_EXPORT OffscreenCanvasFrameDispatcher { 16 class PLATFORM_EXPORT OffscreenCanvasFrameDispatcher {
15 public: 17 public:
16 virtual ~OffscreenCanvasFrameDispatcher() {}; 18 virtual ~OffscreenCanvasFrameDispatcher() {};
17 virtual void dispatchFrame() = 0; 19 virtual void dispatchFrame(RefPtr<StaticBitmapImage>) = 0;
18 }; 20 };
19 21
20 } // namespace blink 22 } // namespace blink
21 23
22 #endif // OffscreenCanvasFrameDispatcher_h 24 #endif // OffscreenCanvasFrameDispatcher_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698