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

Side by Side Diff: Source/core/css/CSSValue.h

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixheaptest Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSMatrix.cpp ('k') | Source/core/css/CSSValue.cpp » ('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 24 matching lines...) Expand all
35 class StyleSheetContents; 35 class StyleSheetContents;
36 36
37 enum CSSTextFormattingFlags { QuoteCSSStringIfNeeded, AlwaysQuoteCSSString }; 37 enum CSSTextFormattingFlags { QuoteCSSStringIfNeeded, AlwaysQuoteCSSString };
38 38
39 // 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).
40 // 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.
41 // They should be handled by separate wrapper classes. 41 // They should be handled by separate wrapper classes.
42 42
43 // Please don't expose more CSSValue types to the web. 43 // Please don't expose more CSSValue types to the web.
44 class CSSValue : public RefCountedWillBeRefCountedGarbageCollected<CSSValue> { 44 class CSSValue : public RefCountedWillBeRefCountedGarbageCollected<CSSValue> {
45 DECLARE_GC_INFO;
46 public: 45 public:
47 enum Type { 46 enum Type {
48 CSS_INHERIT = 0, 47 CSS_INHERIT = 0,
49 CSS_PRIMITIVE_VALUE = 1, 48 CSS_PRIMITIVE_VALUE = 1,
50 CSS_VALUE_LIST = 2, 49 CSS_VALUE_LIST = 2,
51 CSS_CUSTOM = 3, 50 CSS_CUSTOM = 3,
52 CSS_INITIAL = 4 51 CSS_INITIAL = 4
53 52
54 }; 53 };
55 54
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 { 276 {
278 return first ? second && first->equals(*second) : !second; 277 return first ? second && first->equals(*second) : !second;
279 } 278 }
280 279
281 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \ 280 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \
282 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica te) 281 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica te)
283 282
284 } // namespace WebCore 283 } // namespace WebCore
285 284
286 #endif // CSSValue_h 285 #endif // CSSValue_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSMatrix.cpp ('k') | Source/core/css/CSSValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698