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

Side by Side Diff: Source/platform/graphics/CompositedDisplayList.h

Issue 1301033002: Plumb CompositedDisplayList to WebViewImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Final checklist: cleanup ordering in WebCompositedDisplayList Created 5 years, 4 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/exported/WebCompositedDisplayList.cpp ('k') | Source/web/ChromeClientImpl.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 DisplayListCompositingBuilder_h 5 #ifndef CompositedDisplayList_h
6 #define DisplayListCompositingBuilder_h 6 #define CompositedDisplayList_h
7 7
8 #include "core/CoreExport.h"
9 #include "platform/graphics/paint/DisplayItemList.h" 8 #include "platform/graphics/paint/DisplayItemList.h"
10 #include "platform/graphics/paint/DisplayItemTransformTree.h" 9 #include "platform/graphics/paint/DisplayItemTransformTree.h"
11 10
12 namespace blink { 11 namespace blink {
13 12
14 struct CompositedDisplayList { 13 // The result of running the simple layer compositing algorithm. See:
14 // https://docs.google.com/document/d/1qF7wpO_lhuxUO6YXKZ3CJuXi0grcb5gKZJBBgnoTd 0k/view
15 class CompositedDisplayList {
16 public:
15 // TODO(pdr): Also add our SimpleLayers here. 17 // TODO(pdr): Also add our SimpleLayers here.
16 // TODO(pdr): Add the additional property trees (e.g., clip, scroll, etc). 18 // TODO(pdr): Add the additional property trees (e.g., clip, scroll, etc).
17 OwnPtr<const DisplayItemTransformTree> transformTree; 19 OwnPtr<const DisplayItemTransformTree> transformTree;
18 }; 20 };
19 21
20 class CORE_EXPORT DisplayListCompositingBuilder {
21 public:
22 DisplayListCompositingBuilder(const DisplayItemList& displayItemList, const DisplayListDiff&)
23 : m_displayItemList(displayItemList) { }
24
25 void build(CompositedDisplayList&);
26
27 private:
28 const DisplayItemList& m_displayItemList;
29 };
30
31 } // namespace blink 22 } // namespace blink
32 23
33 #endif // DisplayListCompositingBuilder_h 24 #endif // CompositedDisplayList_h
OLDNEW
« no previous file with comments | « Source/platform/exported/WebCompositedDisplayList.cpp ('k') | Source/web/ChromeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698