| Index: public/platform/WebDisplayList.h
|
| diff --git a/public/platform/WebDisplayList.h b/public/platform/WebDisplayList.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..96aaed6b9f0958bcd53b35af100adb06c0913aaf
|
| --- /dev/null
|
| +++ b/public/platform/WebDisplayList.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef WebDisplayList_h
|
| +#define WebDisplayList_h
|
| +
|
| +#include "WebVector.h"
|
| +#include "skia/ext/pixel_ref_utils.h"
|
| +
|
| +namespace blink {
|
| +
|
| +// This is just a placeholder for demonstration purposes, we should use the real class.
|
| +class WebDisplayItem {
|
| +public:
|
| + virtual ~WebDisplayItem() { }
|
| +};
|
| +
|
| +class WebDisplayList {
|
| +public:
|
| + virtual ~WebDisplayList() { }
|
| + virtual unsigned size() const = 0;
|
| + virtual const WebDisplayItem& displayItem(unsigned index) const = 0;
|
| +// virtual const skia::DiscardablePixelRefList& pixelRefs() const = 0;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebDisplayList_h
|
|
|