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

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

Issue 1405293012: [Variables] Enable get/setProperty and similar APIs from the CSSOM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use static_assert. Created 5 years 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 /* 1 /*
2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public 6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 String getPropertyShorthand(const String& propertyName) override; 90 String getPropertyShorthand(const String& propertyName) override;
91 bool isPropertyImplicit(const String& propertyName) override; 91 bool isPropertyImplicit(const String& propertyName) override;
92 void setProperty(const String& propertyName, const String& value, const Stri ng& priority, ExceptionState&) override; 92 void setProperty(const String& propertyName, const String& value, const Stri ng& priority, ExceptionState&) override;
93 String removeProperty(const String& propertyName, ExceptionState&) override; 93 String removeProperty(const String& propertyName, ExceptionState&) override;
94 String cssFloat() const; 94 String cssFloat() const;
95 void setCSSFloat(const String&, ExceptionState&); 95 void setCSSFloat(const String&, ExceptionState&);
96 String cssText() const override; 96 String cssText() const override;
97 void setCSSText(const String&, ExceptionState&) override; 97 void setCSSText(const String&, ExceptionState&) override;
98 PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) override; 98 PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) override;
99 String getPropertyValueInternal(CSSPropertyID) override; 99 String getPropertyValueInternal(CSSPropertyID) override;
100 void setPropertyInternal(CSSPropertyID, const String& value, bool important, ExceptionState&) override; 100 void setPropertyInternal(CSSPropertyID, const String& customPropertyName, co nst String& value, bool important, ExceptionState&) override;
101 101
102 bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const override; 102 bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const override;
103 103
104 RefPtrWillBeMember<Node> m_node; 104 RefPtrWillBeMember<Node> m_node;
105 PseudoId m_pseudoElementSpecifier; 105 PseudoId m_pseudoElementSpecifier;
106 bool m_allowVisitedStyle; 106 bool m_allowVisitedStyle;
107 #if !ENABLE(OILPAN) 107 #if !ENABLE(OILPAN)
108 unsigned m_refCount; 108 unsigned m_refCount;
109 #endif 109 #endif
110 }; 110 };
111 111
112 } // namespace blink 112 } // namespace blink
113 113
114 #endif // CSSComputedStyleDeclaration_h 114 #endif // CSSComputedStyleDeclaration_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698