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

Side by Side Diff: Source/core/rendering/RenderLayer.h

Issue 388563003: Merge 176880 "Properly repaint RenderLayer's descendants when it..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2062/
Patch Set: Created 6 years, 5 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
« no previous file with comments | « LayoutTests/fast/repaint/repaint-descandant-on-ancestor-layer-move-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
6 * 6 *
7 * Other contributors: 7 * Other contributors:
8 * Robert O'Callahan <roc+@cs.cmu.edu> 8 * Robert O'Callahan <roc+@cs.cmu.edu>
9 * David Baron <dbaron@fas.harvard.edu> 9 * David Baron <dbaron@fas.harvard.edu>
10 * Christian Biesinger <cbiesinger@web.de> 10 * Christian Biesinger <cbiesinger@web.de>
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 RenderLayerCompositor* compositor() const; 149 RenderLayerCompositor* compositor() const;
150 150
151 // Notification from the renderer that its content changed (e.g. current fra me of image changed). 151 // Notification from the renderer that its content changed (e.g. current fra me of image changed).
152 // Allows updates of layer content without repainting. 152 // Allows updates of layer content without repainting.
153 void contentChanged(ContentChangeType); 153 void contentChanged(ContentChangeType);
154 154
155 enum UpdateLayerPositionsFlag { 155 enum UpdateLayerPositionsFlag {
156 CheckForRepaint = 1 << 0, 156 CheckForRepaint = 1 << 0,
157 NeedsFullRepaintInBacking = 1 << 1, 157 NeedsFullRepaintInBacking = 1 << 1,
158 UpdatePagination = 1 << 2, 158 UpdatePagination = 1 << 2,
159 ForceMayNeedPaintInvalidation = 1 << 3,
159 }; 160 };
160 typedef unsigned UpdateLayerPositionsFlags; 161 typedef unsigned UpdateLayerPositionsFlags;
161 162
162 void updateLayerPositionsAfterLayout(const RenderLayer* rootLayer, UpdateLay erPositionsFlags); 163 void updateLayerPositionsAfterLayout(const RenderLayer* rootLayer, UpdateLay erPositionsFlags);
163 void updateLayerPositionsAfterOverflowScroll(); 164 void updateLayerPositionsAfterOverflowScroll();
164 void updateLayerPositionsAfterDocumentScroll(); 165 void updateLayerPositionsAfterDocumentScroll();
165 166
166 // FIXME: Should updateLayerPositions be private? 167 // FIXME: Should updateLayerPositions be private?
167 void updateLayerPositionRecursive(UpdateLayerPositionsFlags = CheckForRepain t); 168 void updateLayerPositionRecursive(UpdateLayerPositionsFlags = CheckForRepain t);
168 169
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 724
724 } // namespace WebCore 725 } // namespace WebCore
725 726
726 #ifndef NDEBUG 727 #ifndef NDEBUG
727 // Outside the WebCore namespace for ease of invocation from gdb. 728 // Outside the WebCore namespace for ease of invocation from gdb.
728 void showLayerTree(const WebCore::RenderLayer*); 729 void showLayerTree(const WebCore::RenderLayer*);
729 void showLayerTree(const WebCore::RenderObject*); 730 void showLayerTree(const WebCore::RenderObject*);
730 #endif 731 #endif
731 732
732 #endif // RenderLayer_h 733 #endif // RenderLayer_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/repaint/repaint-descandant-on-ancestor-layer-move-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698