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

Side by Side Diff: third_party/WebKit/Source/core/style/StyleRareInheritedData.h

Issue 1618563002: Forward declare StyleVariableData in StyleRareInheritedData instead of including it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 10 matching lines...) Expand all
21 * Boston, MA 02110-1301, USA. 21 * Boston, MA 02110-1301, USA.
22 * 22 *
23 */ 23 */
24 24
25 #ifndef StyleRareInheritedData_h 25 #ifndef StyleRareInheritedData_h
26 #define StyleRareInheritedData_h 26 #define StyleRareInheritedData_h
27 27
28 #include "core/CoreExport.h" 28 #include "core/CoreExport.h"
29 #include "core/css/StyleColor.h" 29 #include "core/css/StyleColor.h"
30 #include "core/style/DataRef.h" 30 #include "core/style/DataRef.h"
31 #include "core/style/StyleVariableData.h"
32 #include "platform/Length.h" 31 #include "platform/Length.h"
33 #include "platform/graphics/Color.h" 32 #include "platform/graphics/Color.h"
34 #include "platform/heap/Handle.h" 33 #include "platform/heap/Handle.h"
35 #include "platform/text/TabSize.h" 34 #include "platform/text/TabSize.h"
36 #include "wtf/PassRefPtr.h" 35 #include "wtf/PassRefPtr.h"
37 #include "wtf/RefCounted.h" 36 #include "wtf/RefCounted.h"
38 #include "wtf/RefVector.h" 37 #include "wtf/RefVector.h"
39 #include "wtf/text/AtomicString.h" 38 #include "wtf/text/AtomicString.h"
40 39
41 namespace blink { 40 namespace blink {
42 41
43 class AppliedTextDecoration; 42 class AppliedTextDecoration;
44 class CursorData; 43 class CursorData;
45 class QuotesData; 44 class QuotesData;
46 class ShadowList; 45 class ShadowList;
47 class StyleImage; 46 class StyleImage;
47 class StyleVariableData;
48 48
49 typedef RefVector<AppliedTextDecoration> AppliedTextDecorationList; 49 typedef RefVector<AppliedTextDecoration> AppliedTextDecorationList;
50 #if ENABLE(OILPAN) 50 #if ENABLE(OILPAN)
51 typedef HeapVector<CursorData> CursorList; 51 typedef HeapVector<CursorData> CursorList;
52 #else 52 #else
53 typedef RefVector<CursorData> CursorList; 53 typedef RefVector<CursorData> CursorList;
54 #endif 54 #endif
55 55
56 // This struct is for rarely used inherited CSS3, CSS2, and WebKit-specific prop erties. 56 // This struct is for rarely used inherited CSS3, CSS2, and WebKit-specific prop erties.
57 // By grouping them together, we save space, and only allocate this object when someone 57 // By grouping them together, we save space, and only allocate this object when someone
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 RefPtr<StyleVariableData> variables; 161 RefPtr<StyleVariableData> variables;
162 162
163 private: 163 private:
164 StyleRareInheritedData(); 164 StyleRareInheritedData();
165 StyleRareInheritedData(const StyleRareInheritedData&); 165 StyleRareInheritedData(const StyleRareInheritedData&);
166 }; 166 };
167 167
168 } // namespace blink 168 } // namespace blink
169 169
170 #endif // StyleRareInheritedData_h 170 #endif // StyleRareInheritedData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698