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

Side by Side Diff: Source/core/rendering/RenderRegion.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/RenderObject.h ('k') | Source/core/rendering/RenderScrollbarTheme.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) 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 19 matching lines...) Expand all
30 #ifndef RenderRegion_h 30 #ifndef RenderRegion_h
31 #define RenderRegion_h 31 #define RenderRegion_h
32 32
33 #include "core/rendering/RenderBlockFlow.h" 33 #include "core/rendering/RenderBlockFlow.h"
34 #include "core/rendering/style/StyleInheritedData.h" 34 #include "core/rendering/style/StyleInheritedData.h"
35 35
36 namespace WebCore { 36 namespace WebCore {
37 37
38 struct LayerFragment; 38 struct LayerFragment;
39 typedef Vector<LayerFragment, 1> LayerFragments; 39 typedef Vector<LayerFragment, 1> LayerFragments;
40 class RenderBox;
41 class RenderFlowThread; 40 class RenderFlowThread;
42 41
43 class RenderRegion : public RenderBlockFlow { 42 class RenderRegion : public RenderBlockFlow {
44 public: 43 public:
45 explicit RenderRegion(Element*, RenderFlowThread*); 44 explicit RenderRegion(Element*, RenderFlowThread*);
46 45
47 virtual bool isRenderRegion() const OVERRIDE FINAL { return true; } 46 virtual bool isRenderRegion() const OVERRIDE FINAL { return true; }
48 47
49 void setFlowThreadPortionRect(const LayoutRect& rect) { m_flowThreadPortionR ect = rect; } 48 void setFlowThreadPortionRect(const LayoutRect& rect) { m_flowThreadPortionR ect = rect; }
50 LayoutRect flowThreadPortionRect() const { return m_flowThreadPortionRect; } 49 LayoutRect flowThreadPortionRect() const { return m_flowThreadPortionRect; }
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 private: 110 private:
112 LayoutRect m_flowThreadPortionRect; 111 LayoutRect m_flowThreadPortionRect;
113 bool m_isValid : 1; 112 bool m_isValid : 1;
114 }; 113 };
115 114
116 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderRegion, isRenderRegion()); 115 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderRegion, isRenderRegion());
117 116
118 } // namespace WebCore 117 } // namespace WebCore
119 118
120 #endif // RenderRegion_h 119 #endif // RenderRegion_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderObject.h ('k') | Source/core/rendering/RenderScrollbarTheme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698