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

Side by Side Diff: third_party/WebKit/Source/core/css/cssom/CSSPositionValue.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 CSSPositionValue_h 5 #ifndef CSSPositionValue_h
6 #define CSSPositionValue_h 6 #define CSSPositionValue_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
10 #include "core/css/cssom/CSSStyleValue.h" 10 #include "core/css/cssom/CSSStyleValue.h"
11 11
12 namespace blink { 12 namespace blink {
13 namespace cssom {
13 14
14 class CSSLengthValue; 15 class CSSLengthValue;
15 16
16 class CORE_EXPORT CSSPositionValue final : public CSSStyleValue { 17 class CORE_EXPORT CSSPositionValue final : public CSSStyleValue {
17 WTF_MAKE_NONCOPYABLE(CSSPositionValue); 18 WTF_MAKE_NONCOPYABLE(CSSPositionValue);
18 DEFINE_WRAPPERTYPEINFO(); 19 DEFINE_WRAPPERTYPEINFO();
19 public: 20 public:
20 static CSSPositionValue* create(const CSSLengthValue* x, const CSSLengthValu e* y) 21 static CSSPositionValue* create(const CSSLengthValue* x, const CSSLengthValu e* y)
21 { 22 {
22 return new CSSPositionValue(x, y); 23 return new CSSPositionValue(x, y);
(...skipping 19 matching lines...) Expand all
42 : m_x(x) 43 : m_x(x)
43 , m_y(y) 44 , m_y(y)
44 { 45 {
45 } 46 }
46 47
47 Member<const CSSLengthValue> m_x; 48 Member<const CSSLengthValue> m_x;
48 Member<const CSSLengthValue> m_y; 49 Member<const CSSLengthValue> m_y;
49 50
50 }; 51 };
51 52
53 } // namespace cssom
52 } // namespace blink 54 } // namespace blink
53 55
56
54 #endif 57 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698