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

Side by Side Diff: Source/platform/graphics/paint/DisplayItemList.h

Issue 858663002: Fix template angle bracket syntax in platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 11 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
« no previous file with comments | « Source/platform/graphics/gpu/DrawingBuffer.h ('k') | Source/platform/heap/Handle.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 DisplayItemList_h 5 #ifndef DisplayItemList_h
6 #define DisplayItemList_h 6 #define DisplayItemList_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/graphics/paint/DisplayItem.h" 9 #include "platform/graphics/paint/DisplayItem.h"
10 #include "wtf/HashSet.h" 10 #include "wtf/HashSet.h"
11 #include "wtf/PassOwnPtr.h" 11 #include "wtf/PassOwnPtr.h"
12 #include "wtf/Vector.h" 12 #include "wtf/Vector.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class GraphicsContext; 16 class GraphicsContext;
17 17
18 typedef Vector<OwnPtr<DisplayItem> > PaintList; 18 typedef Vector<OwnPtr<DisplayItem>> PaintList;
19 19
20 class PLATFORM_EXPORT DisplayItemList { 20 class PLATFORM_EXPORT DisplayItemList {
21 WTF_MAKE_NONCOPYABLE(DisplayItemList); 21 WTF_MAKE_NONCOPYABLE(DisplayItemList);
22 public: 22 public:
23 static PassOwnPtr<DisplayItemList> create() { return adoptPtr(new DisplayIte mList); } 23 static PassOwnPtr<DisplayItemList> create() { return adoptPtr(new DisplayIte mList); }
24 24
25 const PaintList& paintList(); 25 const PaintList& paintList();
26 void add(WTF::PassOwnPtr<DisplayItem>); 26 void add(WTF::PassOwnPtr<DisplayItem>);
27 27
28 void invalidate(DisplayItemClient); 28 void invalidate(DisplayItemClient);
(...skipping 20 matching lines...) Expand all
49 #endif 49 #endif
50 50
51 PaintList m_paintList; 51 PaintList m_paintList;
52 HashSet<DisplayItemClient> m_cachedClients; 52 HashSet<DisplayItemClient> m_cachedClients;
53 PaintList m_newPaints; 53 PaintList m_newPaints;
54 }; 54 };
55 55
56 } // namespace blink 56 } // namespace blink
57 57
58 #endif // DisplayItemList_h 58 #endif // DisplayItemList_h
OLDNEW
« no previous file with comments | « Source/platform/graphics/gpu/DrawingBuffer.h ('k') | Source/platform/heap/Handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698