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

Side by Side Diff: third_party/WebKit/Source/core/css/cssom/CSSTransformValue.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 CSSTransformValue_h 5 #ifndef CSSTransformValue_h
6 #define CSSTransformValue_h 6 #define CSSTransformValue_h
7 7
8 #include "bindings/core/v8/Iterable.h" 8 #include "bindings/core/v8/Iterable.h"
9 #include "bindings/core/v8/ScriptWrappable.h" 9 #include "bindings/core/v8/ScriptWrappable.h"
10 #include "core/CoreExport.h" 10 #include "core/CoreExport.h"
11 #include "core/css/cssom/CSSStyleValue.h" 11 #include "core/css/cssom/CSSStyleValue.h"
12 #include "core/css/cssom/CSSTransformComponent.h" 12 #include "core/css/cssom/CSSTransformComponent.h"
13 #include "platform/heap/HeapAllocator.h" 13 #include "platform/heap/HeapAllocator.h"
14 14
15 namespace blink { 15 namespace blink {
16 namespace cssom {
16 17
17 class CORE_EXPORT CSSTransformValue final : public CSSStyleValue, public ValueIt erable<CSSTransformComponent*> { 18 class CORE_EXPORT CSSTransformValue final : public CSSStyleValue, public ValueIt erable<CSSTransformComponent*> {
18 WTF_MAKE_NONCOPYABLE(CSSTransformValue); 19 WTF_MAKE_NONCOPYABLE(CSSTransformValue);
19 DEFINE_WRAPPERTYPEINFO(); 20 DEFINE_WRAPPERTYPEINFO();
20 public: 21 public:
21 static CSSTransformValue* create() 22 static CSSTransformValue* create()
22 { 23 {
23 return new CSSTransformValue(); 24 return new CSSTransformValue();
24 } 25 }
25 26
(...skipping 23 matching lines...) Expand all
49 private: 50 private:
50 CSSTransformValue() {} 51 CSSTransformValue() {}
51 CSSTransformValue(const HeapVector<Member<CSSTransformComponent>>& transform Components) : CSSStyleValue(), 52 CSSTransformValue(const HeapVector<Member<CSSTransformComponent>>& transform Components) : CSSStyleValue(),
52 m_transformComponents(transformComponents) {} 53 m_transformComponents(transformComponents) {}
53 54
54 HeapVector<Member<CSSTransformComponent>> m_transformComponents; 55 HeapVector<Member<CSSTransformComponent>> m_transformComponents;
55 56
56 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 57 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
57 }; 58 };
58 59
60 } // namespace cssom
59 } // namespace blink 61 } // namespace blink
60 62
63
61 #endif // CSSTransformValue_h 64 #endif // CSSTransformValue_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698