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

Side by Side Diff: public/platform/WebDisplayList.h

Issue 1238123004: Slimming Paint phase 2 compositing algorithm plumbing & skeleton display list API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | Annotate | Revision Log
OLDNEW
(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
OLDNEW
« public/platform/WebContentLayerClient.h ('K') | « public/platform/WebContentLayerClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698