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

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

Issue 713553002: Clean up forward declarations in core/rendering and core/painting (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/core/rendering/InlineTextBox.h ('k') | Source/core/rendering/RenderBlock.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) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 18 matching lines...) Expand all
29 #include "core/rendering/ColumnInfo.h" 29 #include "core/rendering/ColumnInfo.h"
30 #include "platform/geometry/LayoutRect.h" 30 #include "platform/geometry/LayoutRect.h"
31 #include "wtf/HashMap.h" 31 #include "wtf/HashMap.h"
32 #include "wtf/Noncopyable.h" 32 #include "wtf/Noncopyable.h"
33 33
34 namespace blink { 34 namespace blink {
35 35
36 class ForceHorriblySlowRectMapping; 36 class ForceHorriblySlowRectMapping;
37 class RenderBox; 37 class RenderBox;
38 class RenderObject; 38 class RenderObject;
39 class RenderInline;
40 class RenderView; 39 class RenderView;
41 40
42 class LayoutState { 41 class LayoutState {
43 WTF_MAKE_NONCOPYABLE(LayoutState); 42 WTF_MAKE_NONCOPYABLE(LayoutState);
44 public: 43 public:
45 // Constructor for root LayoutState created by RenderView 44 // Constructor for root LayoutState created by RenderView
46 LayoutState(LayoutUnit pageLogicalHeight, bool pageLogicalHeightChanged, Ren derView&); 45 LayoutState(LayoutUnit pageLogicalHeight, bool pageLogicalHeightChanged, Ren derView&);
47 // Constructor for sub-tree Layout and RenderTableSections 46 // Constructor for sub-tree Layout and RenderTableSections
48 explicit LayoutState(RenderObject& root); 47 explicit LayoutState(RenderObject& root);
49 48
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 LayoutUnit m_pageLogicalHeight; 96 LayoutUnit m_pageLogicalHeight;
98 // The offset of the start of the first page in the nearest enclosing pagina tion model. 97 // The offset of the start of the first page in the nearest enclosing pagina tion model.
99 LayoutSize m_pageOffset; 98 LayoutSize m_pageOffset;
100 99
101 RenderObject& m_renderer; 100 RenderObject& m_renderer;
102 }; 101 };
103 102
104 } // namespace blink 103 } // namespace blink
105 104
106 #endif // LayoutState_h 105 #endif // LayoutState_h
OLDNEW
« no previous file with comments | « Source/core/rendering/InlineTextBox.h ('k') | Source/core/rendering/RenderBlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698