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

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

Issue 182063004: Rename adoptRefCountedWillBeRefCountedGarbageCollected to adoptRefWillBeRefCountedGarbageCollected (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/CSSSVGDocumentValue.h ('k') | Source/core/css/CSSStyleRule.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, 2008, 2009 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009 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 21 matching lines...) Expand all
32 // Used for text-shadow and box-shadow 32 // Used for text-shadow and box-shadow
33 class CSSShadowValue : public CSSValue { 33 class CSSShadowValue : public CSSValue {
34 public: 34 public:
35 static PassRefPtrWillBeRawPtr<CSSShadowValue> create(PassRefPtrWillBeRawPtr< CSSPrimitiveValue> x, 35 static PassRefPtrWillBeRawPtr<CSSShadowValue> create(PassRefPtrWillBeRawPtr< CSSPrimitiveValue> x,
36 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> y, 36 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> y,
37 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> blur, 37 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> blur,
38 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> spread, 38 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> spread,
39 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> style, 39 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> style,
40 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> color) 40 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> color)
41 { 41 {
42 return adoptRefCountedWillBeRefCountedGarbageCollected(new CSSShadowValu e(x, y, blur, spread, style, color)); 42 return adoptRefWillBeRefCountedGarbageCollected(new CSSShadowValue(x, y, blur, spread, style, color));
43 } 43 }
44 44
45 String customCSSText() const; 45 String customCSSText() const;
46 46
47 bool equals(const CSSShadowValue&) const; 47 bool equals(const CSSShadowValue&) const;
48 48
49 RefPtrWillBeMember<CSSPrimitiveValue> x; 49 RefPtrWillBeMember<CSSPrimitiveValue> x;
50 RefPtrWillBeMember<CSSPrimitiveValue> y; 50 RefPtrWillBeMember<CSSPrimitiveValue> y;
51 RefPtrWillBeMember<CSSPrimitiveValue> blur; 51 RefPtrWillBeMember<CSSPrimitiveValue> blur;
52 RefPtrWillBeMember<CSSPrimitiveValue> spread; 52 RefPtrWillBeMember<CSSPrimitiveValue> spread;
53 RefPtrWillBeMember<CSSPrimitiveValue> style; 53 RefPtrWillBeMember<CSSPrimitiveValue> style;
54 RefPtrWillBeMember<CSSPrimitiveValue> color; 54 RefPtrWillBeMember<CSSPrimitiveValue> color;
55 55
56 void traceAfterDispatch(Visitor*); 56 void traceAfterDispatch(Visitor*);
57 57
58 private: 58 private:
59 CSSShadowValue(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> x, 59 CSSShadowValue(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> x,
60 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> y, 60 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> y,
61 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> blur, 61 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> blur,
62 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> spread, 62 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> spread,
63 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> style, 63 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> style,
64 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> color); 64 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> color);
65 }; 65 };
66 66
67 DEFINE_CSS_VALUE_TYPE_CASTS(CSSShadowValue, isShadowValue()); 67 DEFINE_CSS_VALUE_TYPE_CASTS(CSSShadowValue, isShadowValue());
68 68
69 } // namespace 69 } // namespace
70 70
71 #endif 71 #endif
OLDNEW
« no previous file with comments | « Source/core/css/CSSSVGDocumentValue.h ('k') | Source/core/css/CSSStyleRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698