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

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

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
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleRareInheritedData.h ('k') | no next file » | 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 Antti Koivisto (koivisto@kde.org) 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 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 11 matching lines...) Expand all
22 #include "core/style/StyleRareInheritedData.h" 22 #include "core/style/StyleRareInheritedData.h"
23 23
24 #include "core/style/AppliedTextDecoration.h" 24 #include "core/style/AppliedTextDecoration.h"
25 #include "core/style/CursorData.h" 25 #include "core/style/CursorData.h"
26 #include "core/style/DataEquivalency.h" 26 #include "core/style/DataEquivalency.h"
27 #include "core/style/ComputedStyle.h" 27 #include "core/style/ComputedStyle.h"
28 #include "core/style/ComputedStyleConstants.h" 28 #include "core/style/ComputedStyleConstants.h"
29 #include "core/style/QuotesData.h" 29 #include "core/style/QuotesData.h"
30 #include "core/style/ShadowList.h" 30 #include "core/style/ShadowList.h"
31 #include "core/style/StyleImage.h" 31 #include "core/style/StyleImage.h"
32 #include "core/style/StyleVariableData.h"
32 33
33 namespace blink { 34 namespace blink {
34 35
35 struct SameSizeAsStyleRareInheritedData : public RefCounted<SameSizeAsStyleRareI nheritedData> { 36 struct SameSizeAsStyleRareInheritedData : public RefCounted<SameSizeAsStyleRareI nheritedData> {
36 void* styleImage; 37 void* styleImage;
37 Color firstColor; 38 Color firstColor;
38 float firstFloat; 39 float firstFloat;
39 Color colors[5]; 40 Color colors[5];
40 void* ownPtrs[1]; 41 void* ownPtrs[1];
41 AtomicString atomicStrings[3]; 42 AtomicString atomicStrings[3];
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 { 230 {
230 return dataEquivalent(textShadow.get(), o.textShadow.get()); 231 return dataEquivalent(textShadow.get(), o.textShadow.get());
231 } 232 }
232 233
233 bool StyleRareInheritedData::quotesDataEquivalent(const StyleRareInheritedData& o) const 234 bool StyleRareInheritedData::quotesDataEquivalent(const StyleRareInheritedData& o) const
234 { 235 {
235 return dataEquivalent(quotes, o.quotes); 236 return dataEquivalent(quotes, o.quotes);
236 } 237 }
237 238
238 } // namespace blink 239 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleRareInheritedData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698