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

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

Issue 2366313006: CSS Properties and Values API: Support non-inherited custom properties (Closed)
Patch Set: use de morgan's law Created 4 years, 2 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) 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 #include "core/style/StyleInheritedVariables.h"
33 33
34 namespace blink { 34 namespace blink {
35 35
36 struct SameSizeAsStyleRareInheritedData : public RefCounted<SameSizeAsStyleRareI nheritedData> { 36 struct SameSizeAsStyleRareInheritedData : public RefCounted<SameSizeAsStyleRareI nheritedData> {
37 void* styleImage; 37 void* styleImage;
38 Color firstColor; 38 Color firstColor;
39 float firstFloat; 39 float firstFloat;
40 Color colors[5]; 40 Color colors[5];
41 void* ownPtrs[1]; 41 void* ownPtrs[1];
42 AtomicString atomicStrings[3]; 42 AtomicString atomicStrings[3];
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 { 234 {
235 return dataEquivalent(textShadow.get(), o.textShadow.get()); 235 return dataEquivalent(textShadow.get(), o.textShadow.get());
236 } 236 }
237 237
238 bool StyleRareInheritedData::quotesDataEquivalent(const StyleRareInheritedData& o) const 238 bool StyleRareInheritedData::quotesDataEquivalent(const StyleRareInheritedData& o) const
239 { 239 {
240 return dataEquivalent(quotes, o.quotes); 240 return dataEquivalent(quotes, o.quotes);
241 } 241 }
242 242
243 } // namespace blink 243 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698