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

Side by Side Diff: Source/core/css/CSSValue.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/CSSSupportsRule.h ('k') | Source/core/css/ElementRuleCollector.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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 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 15 matching lines...) Expand all
26 #include "platform/heap/Handle.h" 26 #include "platform/heap/Handle.h"
27 #include "platform/weborigin/KURL.h" 27 #include "platform/weborigin/KURL.h"
28 #include "wtf/HashMap.h" 28 #include "wtf/HashMap.h"
29 #include "wtf/ListHashSet.h" 29 #include "wtf/ListHashSet.h"
30 #include "wtf/RefCounted.h" 30 #include "wtf/RefCounted.h"
31 #include "wtf/RefPtr.h" 31 #include "wtf/RefPtr.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class ExceptionState; 35 class ExceptionState;
36 class StyleSheetContents;
37 36
38 enum CSSTextFormattingFlags { QuoteCSSStringIfNeeded, AlwaysQuoteCSSString }; 37 enum CSSTextFormattingFlags { QuoteCSSStringIfNeeded, AlwaysQuoteCSSString };
39 38
40 // FIXME: The current CSSValue and subclasses should be turned into internal typ es (StyleValue). 39 // FIXME: The current CSSValue and subclasses should be turned into internal typ es (StyleValue).
41 // The few subtypes that are actually exposed in CSSOM can be seen in the cloneF orCSSOM() function. 40 // The few subtypes that are actually exposed in CSSOM can be seen in the cloneF orCSSOM() function.
42 // They should be handled by separate wrapper classes. 41 // They should be handled by separate wrapper classes.
43 42
44 // Please don't expose more CSSValue types to the web. 43 // Please don't expose more CSSValue types to the web.
45 class CSSValue : public RefCountedWillBeGarbageCollectedFinalized<CSSValue>, pub lic ScriptWrappableBase { 44 class CSSValue : public RefCountedWillBeGarbageCollectedFinalized<CSSValue>, pub lic ScriptWrappableBase {
46 public: 45 public:
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 { 251 {
253 return first ? second && first->equals(*second) : !second; 252 return first ? second && first->equals(*second) : !second;
254 } 253 }
255 254
256 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \ 255 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \
257 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica te) 256 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica te)
258 257
259 } // namespace blink 258 } // namespace blink
260 259
261 #endif // CSSValue_h 260 #endif // CSSValue_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSSupportsRule.h ('k') | Source/core/css/ElementRuleCollector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698