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

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

Issue 2542203004: blink: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 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 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 OffscreenCanvasPlaceholder_h 5 #ifndef OffscreenCanvasPlaceholder_h
6 #define OffscreenCanvasPlaceholder_h 6 #define OffscreenCanvasPlaceholder_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "wtf/RefPtr.h" 9 #include "wtf/RefPtr.h"
10 #include "wtf/WeakPtr.h" 10 #include "wtf/WeakPtr.h"
11 #include <memory> 11 #include <memory>
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class Image; 15 class Image;
16 class IntSize;
17 class OffscreenCanvasFrameDispatcher; 16 class OffscreenCanvasFrameDispatcher;
18 class WebTaskRunner; 17 class WebTaskRunner;
19 18
20 class PLATFORM_EXPORT OffscreenCanvasPlaceholder { 19 class PLATFORM_EXPORT OffscreenCanvasPlaceholder {
21 public: 20 public:
22 ~OffscreenCanvasPlaceholder(); 21 ~OffscreenCanvasPlaceholder();
23 22
24 void setPlaceholderFrame(RefPtr<Image>, 23 void setPlaceholderFrame(RefPtr<Image>,
25 WeakPtr<OffscreenCanvasFrameDispatcher>, 24 WeakPtr<OffscreenCanvasFrameDispatcher>,
26 std::unique_ptr<WebTaskRunner>, 25 std::unique_ptr<WebTaskRunner>,
(...skipping 18 matching lines...) Expand all
45 44
46 enum { 45 enum {
47 kNoPlaceholderId = -1, 46 kNoPlaceholderId = -1,
48 }; 47 };
49 int m_placeholderId = kNoPlaceholderId; 48 int m_placeholderId = kNoPlaceholderId;
50 }; 49 };
51 50
52 } // blink 51 } // blink
53 52
54 #endif 53 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698