Commit 7b4eb627 authored by zoltan@webkit.org's avatar zoltan@webkit.org

Clean up the includes of RenderBlock.h

https://bugs.webkit.org/show_bug.cgi?id=125351

Reviewed by Darin Adler.

I turned some header includes into forward declarations. I also removed /
moved out some includes, which don't belong to RenderBlock.h anymore.

No new tests, no behavior change.

* editing/VisibleUnits.cpp:
* html/HTMLInputElement.cpp:
* html/HTMLTextAreaElement.cpp:
* html/TextFieldInputType.cpp:
* html/TextInputType.cpp:
* rendering/InlineElementBox.cpp:
* rendering/RenderBlock.h:
* rendering/RenderBlockFlow.cpp:
* rendering/line/LineBreaker.h:
* rendering/line/LineWidth.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160235 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a3ae78ee
2013-12-06 Zoltan Horvath <zoltan@webkit.org>
Clean up the includes of RenderBlock.h
https://bugs.webkit.org/show_bug.cgi?id=125351
Reviewed by Darin Adler.
I turned some header includes into forward declarations. I also removed /
moved out some includes, which don't belong to RenderBlock.h anymore.
No new tests, no behavior change.
* editing/VisibleUnits.cpp:
* html/HTMLInputElement.cpp:
* html/HTMLTextAreaElement.cpp:
* html/TextFieldInputType.cpp:
* html/TextInputType.cpp:
* rendering/InlineElementBox.cpp:
* rendering/RenderBlock.h:
* rendering/RenderBlockFlow.cpp:
* rendering/line/LineBreaker.h:
* rendering/line/LineWidth.cpp:
2013-12-06 Laszlo Vidacs <lac@inf.u-szeged.hu>
Define SHA1 hash size in SHA1.h and use it at various places.
......@@ -36,6 +36,7 @@
#include "RenderedPosition.h"
#include "Text.h"
#include "TextBoundaries.h"
#include "TextBreakIterator.h"
#include "TextIterator.h"
#include "VisibleSelection.h"
#include "htmlediting.h"
......
......@@ -61,6 +61,7 @@
#include "ScopedEventQueue.h"
#include "SearchInputType.h"
#include "StyleResolver.h"
#include "TextBreakIterator.h"
#include <wtf/MathExtras.h>
#include <wtf/Ref.h>
......
......@@ -45,6 +45,7 @@
#include "RenderTextControlMultiLine.h"
#include "ShadowRoot.h"
#include "Text.h"
#include "TextBreakIterator.h"
#include "TextControlInnerElements.h"
#include "TextIterator.h"
#include "TextNodeTraversal.h"
......
......@@ -47,6 +47,7 @@
#include "RenderTextControlSingleLine.h"
#include "RenderTheme.h"
#include "ShadowRoot.h"
#include "TextBreakIterator.h"
#include "TextControlInnerElements.h"
#include "TextEvent.h"
#include "TextIterator.h"
......
......@@ -33,6 +33,7 @@
#include "HTMLInputElement.h"
#include "InputTypeNames.h"
#include "TextBreakIterator.h"
namespace WebCore {
......
......@@ -26,6 +26,7 @@
#include "config.h"
#include "InlineElementBox.h"
#include "InlineFlowBox.h"
#include "PaintInfo.h"
#include "RenderBlock.h"
#include "RenderBox.h"
......
......@@ -25,25 +25,21 @@
#include "ColumnInfo.h"
#include "GapRects.h"
#include "PODIntervalTree.h"
#include "RenderBox.h"
#include "RootInlineBox.h"
#include "TextBreakIterator.h"
#include "TextRun.h"
#include <wtf/OwnPtr.h>
#include <wtf/ListHashSet.h>
#if ENABLE(CSS_SHAPES)
#include "ShapeInsideInfo.h"
#include "ShapeValue.h"
#endif
namespace WebCore {
class LineLayoutState;
class LogicalSelectionOffsetCaches;
class RenderInline;
class RenderText;
#if ENABLE(CSS_SHAPES)
class ShapeInsideInfo;
class ShapeValue;
#endif
struct BidiRun;
struct PaintInfo;
......
......@@ -40,6 +40,10 @@
#include "VerticalPositionCache.h"
#include "VisiblePosition.h"
#if ENABLE(CSS_SHAPES)
#include "ShapeInsideInfo.h"
#endif
namespace WebCore {
bool RenderBlock::s_canPropagateFloatIntoSibling = false;
......
......@@ -28,6 +28,7 @@
#include "InlineIterator.h"
#include "LineInfo.h"
#include "LineInlineHeaders.h"
#include "TextBreakIterator.h"
#include <wtf/Vector.h>
namespace WebCore {
......
......@@ -33,6 +33,10 @@
#include "RenderBlockFlow.h"
#include "RenderRubyRun.h"
#if ENABLE(CSS_SHAPES)
#include "ShapeInsideInfo.h"
#endif
namespace WebCore {
LineWidth::LineWidth(RenderBlockFlow& block, bool isFirstLine, IndentTextOrNot shouldIndentText)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment