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

Side by Side Diff: third_party/WebKit/Source/core/css/cssom/FilteredComputedStylePropertyMap.cpp

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 #include "core/css/cssom/FilteredComputedStylePropertyMap.h" 5 #include "core/css/cssom/FilteredComputedStylePropertyMap.h"
6 6
7 namespace blink { 7 namespace blink {
8 namespace cssom {
8 9
9 FilteredComputedStylePropertyMap::FilteredComputedStylePropertyMap(CSSComputedSt yleDeclaration* computedStyleDeclaration, const Vector<CSSPropertyID>& nativePro perties, const Vector<AtomicString>& customProperties) 10 FilteredComputedStylePropertyMap::FilteredComputedStylePropertyMap(CSSComputedSt yleDeclaration* computedStyleDeclaration, const Vector<CSSPropertyID>& nativePro perties, const Vector<AtomicString>& customProperties)
10 : ComputedStylePropertyMap(computedStyleDeclaration) 11 : ComputedStylePropertyMap(computedStyleDeclaration)
11 { 12 {
12 for (const auto& nativeProperty : nativeProperties) { 13 for (const auto& nativeProperty : nativeProperties) {
13 m_nativeProperties.add(nativeProperty); 14 m_nativeProperties.add(nativeProperty);
14 } 15 }
15 16
16 for (const auto& customProperty: customProperties) { 17 for (const auto& customProperty: customProperties) {
17 m_customProperties.add(customProperty); 18 m_customProperties.add(customProperty);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 result.append(getPropertyNameString(nativeProperty)); 76 result.append(getPropertyNameString(nativeProperty));
76 } 77 }
77 78
78 for (const auto& customProperty : m_customProperties) { 79 for (const auto& customProperty : m_customProperties) {
79 result.append(customProperty); 80 result.append(customProperty);
80 } 81 }
81 82
82 return result; 83 return result;
83 } 84 }
84 85
86 } // namespace cssom
85 } // namespace blink 87 } // namespace blink
88
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698