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 // This is just a placeholder for demonstration purposes, we should use the real
class. |
| 14 class WebDisplayItem { |
| 15 public: |
| 16 virtual ~WebDisplayItem() { } |
| 17 }; |
| 18 |
| 19 class WebDisplayList { |
| 20 public: |
| 21 virtual ~WebDisplayList() { } |
| 22 virtual unsigned size() const = 0; |
| 23 virtual const WebDisplayItem& displayItem(unsigned index) const = 0; |
| 24 // virtual const skia::DiscardablePixelRefList& pixelRefs() const = 0; |
| 25 }; |
| 26 |
| 27 } // namespace blink |
| 28 |
| 29 #endif // WebDisplayList_h |
OLD | NEW |