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

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

Issue 1582963004: Add outline files for StylePropertyMap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update global-interface-listing-expected.html too Created 4 years, 11 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef ImmutableStylePropertyMap_h
6 #define ImmutableStylePropertyMap_h
7
8 #include "core/css/cssom/StylePropertyMap.h"
9
10 namespace blink {
11
12 class CORE_EXPORT ImmutableStylePropertyMap : public StylePropertyMap {
13 WTF_MAKE_NONCOPYABLE(ImmutableStylePropertyMap);
14 public:
15 void set(CSSPropertyID, StyleValueOrStyleValueSequenceOrString&, ExceptionSt ate& exceptionState) override
16 {
17 exceptionState.throwTypeError("This StylePropertyMap is immutable.");
18 }
19
20 void append(CSSPropertyID, StyleValueOrStyleValueSequenceOrString&, Exceptio nState& exceptionState) override
21 {
22 exceptionState.throwTypeError("This StylePropertyMap is immutable.");
23 }
24
25 void remove(CSSPropertyID, ExceptionState& exceptionState) override
26 {
27 exceptionState.throwTypeError("This StylePropertyMap is immutable.");
28 }
29 };
30
31 } // namespace blink
32
33 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/css/cssom/MutableStylePropertyMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698