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

Side by Side Diff: Source/core/rendering/RenderRegion.cpp

Issue 70063005: [Refactoring] Remove include "core/inspector/InspectorInstrumentation.h" from SelectorChecker.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | « Source/core/inspector/InspectorCSSAgent.cpp ('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) 2011 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2011 Adobe Systems Incorporated. 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 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 14 matching lines...) Expand all
25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE. 27 * SUCH DAMAGE.
28 */ 28 */
29 29
30 #include "config.h" 30 #include "config.h"
31 #include "core/rendering/RenderRegion.h" 31 #include "core/rendering/RenderRegion.h"
32 32
33 #include "core/css/resolver/StyleResolver.h" 33 #include "core/css/resolver/StyleResolver.h"
34 #include "core/rendering/FlowThreadController.h" 34 #include "core/rendering/FlowThreadController.h"
35 #include "core/rendering/HitTestLocation.h"
35 #include "core/rendering/PaintInfo.h" 36 #include "core/rendering/PaintInfo.h"
36 #include "core/rendering/RenderBoxRegionInfo.h" 37 #include "core/rendering/RenderBoxRegionInfo.h"
37 #include "core/rendering/RenderNamedFlowThread.h" 38 #include "core/rendering/RenderNamedFlowThread.h"
38 #include "core/rendering/RenderView.h" 39 #include "core/rendering/RenderView.h"
39 40
40 using namespace std; 41 using namespace std;
41 42
42 namespace WebCore { 43 namespace WebCore {
43 44
44 RenderRegion::RenderRegion(Element* element, RenderFlowThread* flowThread) 45 RenderRegion::RenderRegion(Element* element, RenderFlowThread* flowThread)
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 ASSERT(newLogicalHeight < LayoutUnit::max() / 2); 662 ASSERT(newLogicalHeight < LayoutUnit::max() / 2);
662 if (newLogicalHeight > logicalHeight()) { 663 if (newLogicalHeight > logicalHeight()) {
663 setLogicalHeight(newLogicalHeight); 664 setLogicalHeight(newLogicalHeight);
664 // Recalculate position of the render block after new logical height is set. 665 // Recalculate position of the render block after new logical height is set.
665 // (needed in absolute positioning case with bottom alignment for exampl e) 666 // (needed in absolute positioning case with bottom alignment for exampl e)
666 RenderBlock::updateLogicalHeight(); 667 RenderBlock::updateLogicalHeight();
667 } 668 }
668 } 669 }
669 670
670 } // namespace WebCore 671 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorCSSAgent.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698