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

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

Issue 337113005: Reduce forward declarations in core/rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/core/rendering/RenderBR.h ('k') | Source/core/rendering/RenderBoxModelObject.h » ('j') | 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2007 David Smith (catfish.man@gmail.com) 4 * (C) 2007 David Smith (catfish.man@gmail.com)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r ights 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 19 matching lines...) Expand all
30 #include "core/rendering/RenderLineBoxList.h" 30 #include "core/rendering/RenderLineBoxList.h"
31 #include "core/rendering/RootInlineBox.h" 31 #include "core/rendering/RootInlineBox.h"
32 #include "core/rendering/style/ShapeValue.h" 32 #include "core/rendering/style/ShapeValue.h"
33 #include "platform/text/TextBreakIterator.h" 33 #include "platform/text/TextBreakIterator.h"
34 #include "platform/text/TextRun.h" 34 #include "platform/text/TextRun.h"
35 #include "wtf/ListHashSet.h" 35 #include "wtf/ListHashSet.h"
36 #include "wtf/OwnPtr.h" 36 #include "wtf/OwnPtr.h"
37 37
38 namespace WebCore { 38 namespace WebCore {
39 39
40 class BasicShape;
41 class BidiContext;
42 class LineLayoutState; 40 class LineLayoutState;
43 class RenderInline; 41 class RenderInline;
44 class RenderText;
45 42
46 struct BidiRun;
47 struct PaintInfo; 43 struct PaintInfo;
44 class WordMeasurement;
45
48 class LineInfo; 46 class LineInfo;
49 class RenderRubyRun; 47 class RenderRubyRun;
50 class WordMeasurement;
51 48
52 template <class Run> class BidiRunList; 49 template <class Run> class BidiRunList;
53 typedef WTF::ListHashSet<RenderBox*, 16> TrackedRendererListHashSet; 50 typedef WTF::ListHashSet<RenderBox*, 16> TrackedRendererListHashSet;
54 typedef WTF::HashMap<const RenderBlock*, OwnPtr<TrackedRendererListHashSet> > Tr ackedDescendantsMap; 51 typedef WTF::HashMap<const RenderBlock*, OwnPtr<TrackedRendererListHashSet> > Tr ackedDescendantsMap;
55 typedef WTF::HashMap<const RenderBox*, OwnPtr<HashSet<RenderBlock*> > > TrackedC ontainerMap; 52 typedef WTF::HashMap<const RenderBox*, OwnPtr<HashSet<RenderBlock*> > > TrackedC ontainerMap;
56 typedef Vector<WordMeasurement, 64> WordMeasurements; 53 typedef Vector<WordMeasurement, 64> WordMeasurements;
57 54
58 enum ContainingBlockState { NewContainingBlock, SameContainingBlock }; 55 enum ContainingBlockState { NewContainingBlock, SameContainingBlock };
59 56
60 enum TextRunFlag { 57 enum TextRunFlag {
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 // FIXME: This is temporary as we move code that accesses block flow 545 // FIXME: This is temporary as we move code that accesses block flow
549 // member variables out of RenderBlock and into RenderBlockFlow. 546 // member variables out of RenderBlock and into RenderBlockFlow.
550 friend class RenderBlockFlow; 547 friend class RenderBlockFlow;
551 }; 548 };
552 549
553 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); 550 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock());
554 551
555 } // namespace WebCore 552 } // namespace WebCore
556 553
557 #endif // RenderBlock_h 554 #endif // RenderBlock_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderBR.h ('k') | Source/core/rendering/RenderBoxModelObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698