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

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

Issue 953693002: InlinedVisitor: Migrate css to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 } 43 }
44 44
45 CSSPrimitiveValue* direction() const { return m_direction.get(); } 45 CSSPrimitiveValue* direction() const { return m_direction.get(); }
46 CSSPrimitiveValue* offset() const { return m_offset.get(); } 46 CSSPrimitiveValue* offset() const { return m_offset.get(); }
47 CSSValue* mask() const { return m_mask.get(); } 47 CSSValue* mask() const { return m_mask.get(); }
48 48
49 String customCSSText() const; 49 String customCSSText() const;
50 50
51 bool equals(const CSSReflectValue&) const; 51 bool equals(const CSSReflectValue&) const;
52 52
53 void traceAfterDispatch(Visitor*); 53 DECLARE_TRACE_AFTER_DISPATCH();
54 54
55 private: 55 private:
56 CSSReflectValue(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> direction, PassRef PtrWillBeRawPtr<CSSPrimitiveValue> offset, PassRefPtrWillBeRawPtr<CSSValue> mask ) 56 CSSReflectValue(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> direction, PassRef PtrWillBeRawPtr<CSSPrimitiveValue> offset, PassRefPtrWillBeRawPtr<CSSValue> mask )
57 : CSSValue(ReflectClass) 57 : CSSValue(ReflectClass)
58 , m_direction(direction) 58 , m_direction(direction)
59 , m_offset(offset) 59 , m_offset(offset)
60 , m_mask(mask) 60 , m_mask(mask)
61 { 61 {
62 } 62 }
63 63
64 RefPtrWillBeMember<CSSPrimitiveValue> m_direction; 64 RefPtrWillBeMember<CSSPrimitiveValue> m_direction;
65 RefPtrWillBeMember<CSSPrimitiveValue> m_offset; 65 RefPtrWillBeMember<CSSPrimitiveValue> m_offset;
66 RefPtrWillBeMember<CSSValue> m_mask; 66 RefPtrWillBeMember<CSSValue> m_mask;
67 }; 67 };
68 68
69 DEFINE_CSS_VALUE_TYPE_CASTS(CSSReflectValue, isReflectValue()); 69 DEFINE_CSS_VALUE_TYPE_CASTS(CSSReflectValue, isReflectValue());
70 70
71 } // namespace blink 71 } // namespace blink
72 72
73 #endif // CSSReflectValue_h 73 #endif // CSSReflectValue_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698