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

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

Issue 26896005: IDL compiler: remove special case capitalization (cssText, xmllang, xmlbase, xmlspace) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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) 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 Scale3DTransformOperation, 57 Scale3DTransformOperation,
58 PerspectiveTransformOperation, 58 PerspectiveTransformOperation,
59 Matrix3DTransformOperation 59 Matrix3DTransformOperation
60 }; 60 };
61 61
62 static PassRefPtr<CSSTransformValue> create(TransformOperationType type) 62 static PassRefPtr<CSSTransformValue> create(TransformOperationType type)
63 { 63 {
64 return adoptRef(new CSSTransformValue(type)); 64 return adoptRef(new CSSTransformValue(type));
65 } 65 }
66 66
67 String customCssText() const; 67 String customCSSText() const;
68 bool equals(const CSSTransformValue& other) const { return m_type == other.m _type && CSSValueList::equals(other); } 68 bool equals(const CSSTransformValue& other) const { return m_type == other.m _type && CSSValueList::equals(other); }
69 String customSerializeResolvingVariables(const HashMap<AtomicString, String> &) const; 69 String customSerializeResolvingVariables(const HashMap<AtomicString, String> &) const;
70 70
71 TransformOperationType operationType() const { return m_type; } 71 TransformOperationType operationType() const { return m_type; }
72 72
73 PassRefPtr<CSSTransformValue> cloneForCSSOM() const; 73 PassRefPtr<CSSTransformValue> cloneForCSSOM() const;
74 74
75 private: 75 private:
76 CSSTransformValue(TransformOperationType); 76 CSSTransformValue(TransformOperationType);
77 CSSTransformValue(const CSSTransformValue& cloneFrom); 77 CSSTransformValue(const CSSTransformValue& cloneFrom);
78 78
79 TransformOperationType m_type; 79 TransformOperationType m_type;
80 }; 80 };
81 81
82 DEFINE_CSS_VALUE_TYPE_CASTS(TransformValue); 82 DEFINE_CSS_VALUE_TYPE_CASTS(TransformValue);
83 83
84 } 84 }
85 85
86 #endif 86 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698