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

Unified Diff: Source/core/rendering/compositing/GraphicsLayerTreeBuilder.h

Issue 319183006: Move GraphicsLayerUpdater::rebuildTree into its own file (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/rendering/compositing/GraphicsLayerTreeBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/compositing/GraphicsLayerTreeBuilder.h
diff --git a/public/platform/WebCompositeAndReadbackAsyncCallback.h b/Source/core/rendering/compositing/GraphicsLayerTreeBuilder.h
similarity index 73%
copy from public/platform/WebCompositeAndReadbackAsyncCallback.h
copy to Source/core/rendering/compositing/GraphicsLayerTreeBuilder.h
index 45a61be2332878a751a1f8d2b5cbe278f2be46da..4389ebe7f830847a86e778b00e3d48ecdb4aa05a 100644
--- a/public/platform/WebCompositeAndReadbackAsyncCallback.h
+++ b/Source/core/rendering/compositing/GraphicsLayerTreeBuilder.h
@@ -1,4 +1,5 @@
/*
+ * Copyright (C) 2009, 2010 Apple Inc. All rights reserved.
* Copyright (C) 2014 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -23,18 +24,24 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebCompositeAndReadbackAsyncCallback_h
-#define WebCompositeAndReadbackAsyncCallback_h
+#ifndef GraphicsLayerTreeBuilder_h
+#define GraphicsLayerTreeBuilder_h
-class SkBitmap;
+#include "platform/graphics/GraphicsLayer.h"
+#include "wtf/Vector.h"
-namespace blink {
+namespace WebCore {
-class WebCompositeAndReadbackAsyncCallback {
+class RenderLayer;
+
+class GraphicsLayerTreeBuilder {
public:
- virtual void didCompositeAndReadback(const SkBitmap&) = 0;
+ GraphicsLayerTreeBuilder();
+ ~GraphicsLayerTreeBuilder();
+
+ void rebuild(RenderLayer&, GraphicsLayerVector& childLayersOfEnclosingLayer);
};
-} // namespace blink
+} // namespace WebCore
-#endif // WebCompositeAndReadbackAsyncCallback_h
+#endif // GraphicsLayerTreeBuilder_h
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/rendering/compositing/GraphicsLayerTreeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698