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

Side by Side Diff: third_party/WebKit/Source/core/css/cssom/CSSPerspective.h

Issue 2367663002: [WIP] Attempt to move everything cssom into a cssom namespace (Closed)
Patch Set: Created 4 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CSSPerspective_h 5 #ifndef CSSPerspective_h
6 #define CSSPerspective_h 6 #define CSSPerspective_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/css/cssom/CSSLengthValue.h" 9 #include "core/css/cssom/CSSLengthValue.h"
10 #include "core/css/cssom/CSSTransformComponent.h" 10 #include "core/css/cssom/CSSTransformComponent.h"
11 11
12 namespace blink { 12 namespace blink {
13 namespace cssom {
13 14
14 class ExceptionState; 15 class ExceptionState;
15 16
16 class CORE_EXPORT CSSPerspective : public CSSTransformComponent { 17 class CORE_EXPORT CSSPerspective : public CSSTransformComponent {
17 WTF_MAKE_NONCOPYABLE(CSSPerspective); 18 WTF_MAKE_NONCOPYABLE(CSSPerspective);
18 DEFINE_WRAPPERTYPEINFO(); 19 DEFINE_WRAPPERTYPEINFO();
19 public: 20 public:
20 static CSSPerspective* create(const CSSLengthValue*, ExceptionState&); 21 static CSSPerspective* create(const CSSLengthValue*, ExceptionState&);
21 static CSSPerspective* fromCSSValue(const CSSFunctionValue& value) { return nullptr; } 22 static CSSPerspective* fromCSSValue(const CSSFunctionValue& value) { return nullptr; }
22 23
(...skipping 12 matching lines...) Expand all
35 visitor->trace(m_length); 36 visitor->trace(m_length);
36 CSSTransformComponent::trace(visitor); 37 CSSTransformComponent::trace(visitor);
37 } 38 }
38 39
39 private: 40 private:
40 CSSPerspective(const CSSLengthValue* length) : m_length(length) {} 41 CSSPerspective(const CSSLengthValue* length) : m_length(length) {}
41 42
42 Member<const CSSLengthValue> m_length; 43 Member<const CSSLengthValue> m_length;
43 }; 44 };
44 45
46 } // namespace cssom
45 } // namespace blink 47 } // namespace blink
46 48
49
47 #endif 50 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/CSSOMTypes.h ('k') | third_party/WebKit/Source/core/css/cssom/CSSPerspective.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698