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

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

Issue 812873003: Clean up forward declarations in WebKit/Source (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: style fix Created 6 years 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/RenderBlock.h ('k') | Source/core/rendering/RenderQuote.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 * Copyright (C) 2003, 2006, 2007, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2006, 2007, 2009 Apple Inc. All rights reserved.
5 * Copyright (C) 2010 Google Inc. All rights reserved. 5 * Copyright (C) 2010 Google Inc. 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 BackgroundBleedBackgroundOverBorder, 42 BackgroundBleedBackgroundOverBorder,
43 }; 43 };
44 44
45 enum ContentChangeType { 45 enum ContentChangeType {
46 ImageChanged, 46 ImageChanged,
47 CanvasChanged, 47 CanvasChanged,
48 CanvasContextChanged 48 CanvasContextChanged
49 }; 49 };
50 50
51 class InlineFlowBox; 51 class InlineFlowBox;
52 class RenderTextFragment;
53 52
54 // This class is the base for all objects that adhere to the CSS box model as de scribed 53 // This class is the base for all objects that adhere to the CSS box model as de scribed
55 // at http://www.w3.org/TR/CSS21/box.html 54 // at http://www.w3.org/TR/CSS21/box.html
56 55
57 class RenderBoxModelObject : public RenderLayerModelObject { 56 class RenderBoxModelObject : public RenderLayerModelObject {
58 public: 57 public:
59 RenderBoxModelObject(ContainerNode*); 58 RenderBoxModelObject(ContainerNode*);
60 virtual ~RenderBoxModelObject(); 59 virtual ~RenderBoxModelObject();
61 60
62 LayoutSize relativePositionOffset() const; 61 LayoutSize relativePositionOffset() const;
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 private: 212 private:
214 LayoutUnit computedCSSPadding(const Length&) const; 213 LayoutUnit computedCSSPadding(const Length&) const;
215 virtual bool isBoxModelObject() const override final { return true; } 214 virtual bool isBoxModelObject() const override final { return true; }
216 }; 215 };
217 216
218 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBoxModelObject, isBoxModelObject()); 217 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBoxModelObject, isBoxModelObject());
219 218
220 } // namespace blink 219 } // namespace blink
221 220
222 #endif // RenderBoxModelObject_h 221 #endif // RenderBoxModelObject_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderBlock.h ('k') | Source/core/rendering/RenderQuote.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698