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

Side by Side Diff: Source/core/css/resolver/StyleResolverState.h

Issue 541383003: Clean up forward declarations in Source/core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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/css/resolver/StyleResolver.h ('k') | Source/core/svg/SVGDocumentExtensions.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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 22 matching lines...) Expand all
33 #include "core/dom/Document.h" 33 #include "core/dom/Document.h"
34 #include "core/dom/Element.h" 34 #include "core/dom/Element.h"
35 #include "core/rendering/style/CachedUAStyle.h" 35 #include "core/rendering/style/CachedUAStyle.h"
36 #include "core/rendering/style/RenderStyle.h" 36 #include "core/rendering/style/RenderStyle.h"
37 #include "core/rendering/style/StyleInheritedData.h" 37 #include "core/rendering/style/StyleInheritedData.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class CSSAnimationUpdate; 41 class CSSAnimationUpdate;
42 class FontDescription; 42 class FontDescription;
43 class StyleRule;
44 43
45 class StyleResolverState { 44 class StyleResolverState {
46 STACK_ALLOCATED(); 45 STACK_ALLOCATED();
47 WTF_MAKE_NONCOPYABLE(StyleResolverState); 46 WTF_MAKE_NONCOPYABLE(StyleResolverState);
48 public: 47 public:
49 StyleResolverState(Document&, Element*, RenderStyle* parentStyle = 0); 48 StyleResolverState(Document&, Element*, RenderStyle* parentStyle = 0);
50 ~StyleResolverState(); 49 ~StyleResolverState();
51 50
52 // In FontFaceSet and CanvasRenderingContext2D, we don't have an element to grab the document from. 51 // In FontFaceSet and CanvasRenderingContext2D, we don't have an element to grab the document from.
53 // This is why we have to store the document separately. 52 // This is why we have to store the document separately.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 ElementStyleResources m_elementStyleResources; 157 ElementStyleResources m_elementStyleResources;
159 // CSSToStyleMap is a pure-logic class and only contains 158 // CSSToStyleMap is a pure-logic class and only contains
160 // a back-pointer to this object. 159 // a back-pointer to this object.
161 CSSToStyleMap m_styleMap; 160 CSSToStyleMap m_styleMap;
162 Vector<AtomicString> m_contentAttrValues; 161 Vector<AtomicString> m_contentAttrValues;
163 }; 162 };
164 163
165 } // namespace blink 164 } // namespace blink
166 165
167 #endif // StyleResolverState_h 166 #endif // StyleResolverState_h
OLDNEW
« no previous file with comments | « Source/core/css/resolver/StyleResolver.h ('k') | Source/core/svg/SVGDocumentExtensions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698