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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutReplaced.cpp

Issue 2008503003: Eliminate unnecessary includes of LayoutBlockFlow-derived headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: styleRef(bool) needs LayoutObjectInlines.h Created 4 years, 7 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2000 Dirk Mueller (mueller@kde.org) 3 * Copyright (C) 2000 Dirk Mueller (mueller@kde.org)
4 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved.
5 * Copyright (C) Research In Motion Limited 2011-2012. All rights reserved. 5 * Copyright (C) Research In Motion Limited 2011-2012. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 10 matching lines...) Expand all
21 * 21 *
22 */ 22 */
23 23
24 #include "core/layout/LayoutReplaced.h" 24 #include "core/layout/LayoutReplaced.h"
25 25
26 #include "core/editing/PositionWithAffinity.h" 26 #include "core/editing/PositionWithAffinity.h"
27 #include "core/layout/LayoutAnalyzer.h" 27 #include "core/layout/LayoutAnalyzer.h"
28 #include "core/layout/LayoutBlock.h" 28 #include "core/layout/LayoutBlock.h"
29 #include "core/layout/LayoutImage.h" 29 #include "core/layout/LayoutImage.h"
30 #include "core/layout/LayoutInline.h" 30 #include "core/layout/LayoutInline.h"
31 #include "core/layout/LayoutView.h"
32 #include "core/layout/api/LineLayoutBlockFlow.h" 31 #include "core/layout/api/LineLayoutBlockFlow.h"
33 #include "core/paint/PaintInfo.h" 32 #include "core/paint/PaintInfo.h"
34 #include "core/paint/PaintLayer.h" 33 #include "core/paint/PaintLayer.h"
35 #include "core/paint/ReplacedPainter.h" 34 #include "core/paint/ReplacedPainter.h"
36 #include "platform/LengthFunctions.h" 35 #include "platform/LengthFunctions.h"
37 36
38 namespace blink { 37 namespace blink {
39 38
40 const int LayoutReplaced::defaultWidth = 300; 39 const int LayoutReplaced::defaultWidth = 300;
41 const int LayoutReplaced::defaultHeight = 150; 40 const int LayoutReplaced::defaultHeight = 150;
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 } 753 }
755 754
756 void LayoutReplaced::IntrinsicSizingInfo::transpose() 755 void LayoutReplaced::IntrinsicSizingInfo::transpose()
757 { 756 {
758 size = size.transposedSize(); 757 size = size.transposedSize();
759 aspectRatio = aspectRatio.transposedSize(); 758 aspectRatio = aspectRatio.transposedSize();
760 std::swap(hasWidth, hasHeight); 759 std::swap(hasWidth, hasHeight);
761 } 760 }
762 761
763 } // namespace blink 762 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutMenuList.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698