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

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

Issue 2405153002: Remove CSS.unregisterProperty as the WG resolved to remove it for now (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 PropertyRegistration_h 5 #ifndef PropertyRegistration_h
6 #define PropertyRegistration_h 6 #define PropertyRegistration_h
7 7
8 #include "wtf/Allocator.h" 8 #include "wtf/Allocator.h"
9 #include "wtf/text/WTFString.h" 9 #include "wtf/text/WTFString.h"
10 10
11 namespace blink { 11 namespace blink {
12 12
13 class ExceptionState; 13 class ExceptionState;
14 class ExecutionContext; 14 class ExecutionContext;
15 class PropertyDescriptor; 15 class PropertyDescriptor;
16 16
17 class PropertyRegistration { 17 class PropertyRegistration {
18 STATIC_ONLY(PropertyRegistration); 18 STATIC_ONLY(PropertyRegistration);
19 19
20 public: 20 public:
21 static void registerProperty(ExecutionContext*, 21 static void registerProperty(ExecutionContext*,
22 const PropertyDescriptor&, 22 const PropertyDescriptor&,
23 ExceptionState&); 23 ExceptionState&);
24 static void unregisterProperty(ExecutionContext*,
25 const String&,
26 ExceptionState&);
27 }; 24 };
28 25
29 } // namespace blink 26 } // namespace blink
30 27
31 #endif // PropertyRegistration_h 28 #endif // PropertyRegistration_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698