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

Side by Side Diff: Source/core/rendering/compositing/CompositingRequirementsUpdater.h

Issue 569743004: Clean up forward declarations in Source/core/rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: revert to fix gn Created 6 years, 3 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
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 17 matching lines...) Expand all
28 #define CompositingRequirementsUpdater_h 28 #define CompositingRequirementsUpdater_h
29 29
30 #include "platform/geometry/IntRect.h" 30 #include "platform/geometry/IntRect.h"
31 #include "platform/graphics/CompositingReasons.h" 31 #include "platform/graphics/CompositingReasons.h"
32 #include "wtf/Vector.h" 32 #include "wtf/Vector.h"
33 33
34 namespace blink { 34 namespace blink {
35 35
36 class CompositingReasonFinder; 36 class CompositingReasonFinder;
37 class RenderLayer; 37 class RenderLayer;
38 class RenderObject;
39 class RenderView; 38 class RenderView;
40 39
41 class CompositingRequirementsUpdater { 40 class CompositingRequirementsUpdater {
42 public: 41 public:
43 CompositingRequirementsUpdater(RenderView&, CompositingReasonFinder&); 42 CompositingRequirementsUpdater(RenderView&, CompositingReasonFinder&);
44 ~CompositingRequirementsUpdater(); 43 ~CompositingRequirementsUpdater();
45 44
46 // Recurse through the layers in z-index and overflow order (which is equiv alent to painting order) 45 // Recurse through the layers in z-index and overflow order (which is equiv alent to painting order)
47 // For the z-order children of a compositing layer: 46 // For the z-order children of a compositing layer:
48 // If a child layers has a compositing layer, then all subsequent layer s must 47 // If a child layers has a compositing layer, then all subsequent layer s must
(...skipping 11 matching lines...) Expand all
60 59
61 void updateRecursive(RenderLayer* ancestorLayer, RenderLayer* currentLayer, OverlapMap&, RecursionData&, bool& descendantHas3DTransform, Vector<RenderLayer* >& unclippedDescendants, IntRect& absoluteDecendantBoundingBox); 60 void updateRecursive(RenderLayer* ancestorLayer, RenderLayer* currentLayer, OverlapMap&, RecursionData&, bool& descendantHas3DTransform, Vector<RenderLayer* >& unclippedDescendants, IntRect& absoluteDecendantBoundingBox);
62 61
63 RenderView& m_renderView; 62 RenderView& m_renderView;
64 CompositingReasonFinder& m_compositingReasonFinder; 63 CompositingReasonFinder& m_compositingReasonFinder;
65 }; 64 };
66 65
67 } // namespace blink 66 } // namespace blink
68 67
69 #endif // CompositingRequirementsUpdater_h 68 #endif // CompositingRequirementsUpdater_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698