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

Side by Side Diff: sky/engine/core/css/CSSValue.h

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/css/CSSUnknownRule.h ('k') | sky/engine/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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 { 108 {
109 return isPrimitiveValue() || isValueList(); 109 return isPrimitiveValue() || isValueList();
110 } 110 }
111 111
112 PassRefPtr<CSSValue> cloneForCSSOM() const; 112 PassRefPtr<CSSValue> cloneForCSSOM() const;
113 113
114 bool hasFailedOrCanceledSubresources() const; 114 bool hasFailedOrCanceledSubresources() const;
115 115
116 bool equals(const CSSValue&) const; 116 bool equals(const CSSValue&) const;
117 117
118 void finalizeGarbageCollectedObject();
119 void traceAfterDispatch(Visitor*) { }
120 void trace(Visitor*);
121
122 protected: 118 protected:
123 119
124 static const size_t ClassTypeBits = 6; 120 static const size_t ClassTypeBits = 6;
125 enum ClassType { 121 enum ClassType {
126 PrimitiveClass, 122 PrimitiveClass,
127 123
128 // Image classes. 124 // Image classes.
129 ImageClass, 125 ImageClass,
130 CursorImageClass, 126 CursorImageClass,
131 127
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 { 232 {
237 return first ? second && first->equals(*second) : !second; 233 return first ? second && first->equals(*second) : !second;
238 } 234 }
239 235
240 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \ 236 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \
241 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica te) 237 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica te)
242 238
243 } // namespace blink 239 } // namespace blink
244 240
245 #endif // CSSValue_h 241 #endif // CSSValue_h
OLDNEW
« no previous file with comments | « sky/engine/core/css/CSSUnknownRule.h ('k') | sky/engine/core/css/CSSValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698