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

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

Issue 323653002: Delete CompositingUpdateAfterLayout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add back two lines to fix browser_test 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 class RenderLayerStackingNode; 42 class RenderLayerStackingNode;
43 class RenderPart; 43 class RenderPart;
44 class RenderVideo; 44 class RenderVideo;
45 class ScrollingCoordinator; 45 class ScrollingCoordinator;
46 class StickyPositionViewportConstraints; 46 class StickyPositionViewportConstraints;
47 47
48 enum CompositingUpdateType { 48 enum CompositingUpdateType {
49 CompositingUpdateNone, 49 CompositingUpdateNone,
50 CompositingUpdateOnCompositedScroll, 50 CompositingUpdateOnCompositedScroll,
51 CompositingUpdateAfterCompositingInputChange, 51 CompositingUpdateAfterCompositingInputChange,
52 CompositingUpdateAfterLayout,
53 }; 52 };
54 53
55 enum CompositingStateTransitionType { 54 enum CompositingStateTransitionType {
56 NoCompositingStateChange, 55 NoCompositingStateChange,
57 AllocateOwnCompositedLayerMapping, 56 AllocateOwnCompositedLayerMapping,
58 RemoveOwnCompositedLayerMapping, 57 RemoveOwnCompositedLayerMapping,
59 PutInSquashingLayer, 58 PutInSquashingLayer,
60 RemoveFromSquashingLayer 59 RemoveFromSquashingLayer
61 }; 60 };
62 61
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // Copy the accelerated compositing related flags from Settings 94 // Copy the accelerated compositing related flags from Settings
96 void updateAcceleratedCompositingSettings(); 95 void updateAcceleratedCompositingSettings();
97 96
98 // Called when the layer hierarchy needs to be updated (compositing layers h ave been 97 // Called when the layer hierarchy needs to be updated (compositing layers h ave been
99 // created, destroyed or re-parented). 98 // created, destroyed or re-parented).
100 void setCompositingLayersNeedRebuild(); 99 void setCompositingLayersNeedRebuild();
101 100
102 // Used to indicate that a compositing update will be needed for the next fr ame that gets drawn. 101 // Used to indicate that a compositing update will be needed for the next fr ame that gets drawn.
103 void setNeedsCompositingUpdate(CompositingUpdateType); 102 void setNeedsCompositingUpdate(CompositingUpdateType);
104 103
104 void didLayout();
105
105 enum UpdateLayerCompositingStateOptions { 106 enum UpdateLayerCompositingStateOptions {
106 Normal, 107 Normal,
107 UseChickenEggHacks, // Use this to trigger temporary chicken-egg hacks. See crbug.com/339892. 108 UseChickenEggHacks, // Use this to trigger temporary chicken-egg hacks. See crbug.com/339892.
108 }; 109 };
109 110
110 // Update the compositing dirty bits, based on the compositing-impacting pro perties of the layer. 111 // Update the compositing dirty bits, based on the compositing-impacting pro perties of the layer.
111 void updateLayerCompositingState(RenderLayer*, UpdateLayerCompositingStateOp tions = Normal); 112 void updateLayerCompositingState(RenderLayer*, UpdateLayerCompositingStateOp tions = Normal);
112 113
113 // Returns whether this layer is clipped by another layer that is not an anc estor of the given layer in the stacking context hierarchy. 114 // Returns whether this layer is clipped by another layer that is not an anc estor of the given layer in the stacking context hierarchy.
114 bool clippedByNonAncestorInStackingTree(const RenderLayer*) const; 115 bool clippedByNonAncestorInStackingTree(const RenderLayer*) const;
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; 288 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar;
288 OwnPtr<GraphicsLayer> m_layerForScrollCorner; 289 OwnPtr<GraphicsLayer> m_layerForScrollCorner;
289 #if USE(RUBBER_BANDING) 290 #if USE(RUBBER_BANDING)
290 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; 291 OwnPtr<GraphicsLayer> m_layerForOverhangShadow;
291 #endif 292 #endif
292 }; 293 };
293 294
294 } // namespace WebCore 295 } // namespace WebCore
295 296
296 #endif // RenderLayerCompositor_h 297 #endif // RenderLayerCompositor_h
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/rendering/compositing/RenderLayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698