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

Side by Side Diff: Source/core/layout/compositing/GraphicsLayerUpdater.h

Issue 898783003: Move rendering/RenderLayer* to layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
1 /* 1 /*
2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2014 Google Inc. All rights reserved. 3 * Copyright (C) 2014 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 13 matching lines...) Expand all
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 #ifndef GraphicsLayerUpdater_h 27 #ifndef GraphicsLayerUpdater_h
28 #define GraphicsLayerUpdater_h 28 #define GraphicsLayerUpdater_h
29 29
30 #include "platform/graphics/GraphicsLayer.h" 30 #include "platform/graphics/GraphicsLayer.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 class RenderLayer; 34 class Layer;
35 35
36 class GraphicsLayerUpdater { 36 class GraphicsLayerUpdater {
37 37
38 public: 38 public:
39 GraphicsLayerUpdater(); 39 GraphicsLayerUpdater();
40 ~GraphicsLayerUpdater(); 40 ~GraphicsLayerUpdater();
41 41
42 enum UpdateType { 42 enum UpdateType {
43 DoNotForceUpdate, 43 DoNotForceUpdate,
44 ForceUpdate, 44 ForceUpdate,
45 }; 45 };
46 46
47 void update(RenderLayer&, Vector<RenderLayer*>& layersNeedingPaintInvalidati on); 47 void update(Layer&, Vector<Layer*>& layersNeedingPaintInvalidation);
48 48
49 bool needsRebuildTree() const { return m_needsRebuildTree; } 49 bool needsRebuildTree() const { return m_needsRebuildTree; }
50 50
51 #if ENABLE(ASSERT) 51 #if ENABLE(ASSERT)
52 static void assertNeedsToUpdateGraphicsLayerBitsCleared(RenderLayer&); 52 static void assertNeedsToUpdateGraphicsLayerBitsCleared(Layer&);
53 #endif 53 #endif
54 54
55 private: 55 private:
56 class UpdateContext; 56 class UpdateContext;
57 57
58 void updateRecursive(RenderLayer&, UpdateType, const UpdateContext&, Vector< RenderLayer*>& layersNeedingPaintInvalidation); 58 void updateRecursive(Layer&, UpdateType, const UpdateContext&, Vector<Layer* >& layersNeedingPaintInvalidation);
59 59
60 bool m_needsRebuildTree; 60 bool m_needsRebuildTree;
61 }; 61 };
62 62
63 } // namespace blink 63 } // namespace blink
64 64
65 #endif // GraphicsLayerUpdater_h 65 #endif // GraphicsLayerUpdater_h
OLDNEW
« no previous file with comments | « Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp ('k') | Source/core/layout/compositing/GraphicsLayerUpdater.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698