OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef WebDisplayList_h | |
6 #define WebDisplayList_h | |
7 | |
8 #include "WebVector.h" | |
9 #include "skia/ext/pixel_ref_utils.h" | |
10 | |
11 namespace blink { | |
12 | |
13 struct WebDisplayListDiff { | |
14 WebVector<int> diffOffsets; | |
15 }; | |
16 | |
17 // This is just a placeholder, we should use the real class. | |
18 class WebDisplayItem { | |
19 }; | |
20 | |
21 class WebDisplayList { | |
22 public: | |
23 virtual ~WebDisplayList() { } | |
24 virtual const WebVector<WebDisplayItem>& webDisplayItems() const = 0; | |
chrishtr
2015/07/22 18:23:28
This really should just be ListContainer<DisplayIt
| |
25 virtual const skia::DiscardablePixelRefList& pixelRefs() const = 0; | |
26 }; | |
27 | |
28 } // namespace blink | |
29 | |
30 #endif // WebDisplayList_h | |
OLD | NEW |