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

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

Issue 717933002: Clean up after getPropertyCSSValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase / fix debug compile? 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 | « Source/core/css/CSSStyleDeclaration.idl ('k') | Source/core/css/CSSTransformValue.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 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 static PassRefPtrWillBeRawPtr<CSSTransformValue> create(TransformOperationTy pe type) 63 static PassRefPtrWillBeRawPtr<CSSTransformValue> create(TransformOperationTy pe type)
64 { 64 {
65 return adoptRefWillBeNoop(new CSSTransformValue(type)); 65 return adoptRefWillBeNoop(new CSSTransformValue(type));
66 } 66 }
67 67
68 String customCSSText() const; 68 String customCSSText() const;
69 bool equals(const CSSTransformValue& other) const { return m_type == other.m _type && CSSValueList::equals(other); } 69 bool equals(const CSSTransformValue& other) const { return m_type == other.m _type && CSSValueList::equals(other); }
70 70
71 TransformOperationType operationType() const { return m_type; } 71 TransformOperationType operationType() const { return m_type; }
72 72
73 PassRefPtrWillBeRawPtr<CSSTransformValue> cloneForCSSOM() const;
74
75 void traceAfterDispatch(Visitor* visitor) { CSSValueList::traceAfterDispatch (visitor); } 73 void traceAfterDispatch(Visitor* visitor) { CSSValueList::traceAfterDispatch (visitor); }
76 74
77 private: 75 private:
78 CSSTransformValue(TransformOperationType); 76 CSSTransformValue(TransformOperationType);
79 CSSTransformValue(const CSSTransformValue& cloneFrom);
80 77
81 TransformOperationType m_type; 78 TransformOperationType m_type;
82 }; 79 };
83 80
84 DEFINE_CSS_VALUE_TYPE_CASTS(CSSTransformValue, isTransformValue()); 81 DEFINE_CSS_VALUE_TYPE_CASTS(CSSTransformValue, isTransformValue());
85 82
86 } // namespace blink 83 } // namespace blink
87 84
88 #endif 85 #endif
OLDNEW
« no previous file with comments | « Source/core/css/CSSStyleDeclaration.idl ('k') | Source/core/css/CSSTransformValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698