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

Side by Side Diff: Source/core/css/PropertySetCSSStyleDeclaration.h

Issue 1288623005: Make cssFloat an enumerable property of CSSStyleDeclaration (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make cssFloat an enumerable property of CSSStyleDeclaration Created 5 years, 4 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
« no previous file with comments | « Source/core/css/CSSStyleDeclaration.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 private: 49 private:
50 CSSRule* parentRule() const override { return 0; } 50 CSSRule* parentRule() const override { return 0; }
51 unsigned length() const final; 51 unsigned length() const final;
52 String item(unsigned index) const final; 52 String item(unsigned index) const final;
53 String getPropertyValue(const String& propertyName) final; 53 String getPropertyValue(const String& propertyName) final;
54 String getPropertyPriority(const String& propertyName) final; 54 String getPropertyPriority(const String& propertyName) final;
55 String getPropertyShorthand(const String& propertyName) final; 55 String getPropertyShorthand(const String& propertyName) final;
56 bool isPropertyImplicit(const String& propertyName) final; 56 bool isPropertyImplicit(const String& propertyName) final;
57 void setProperty(const String& propertyName, const String& value, const Stri ng& priority, ExceptionState&) final; 57 void setProperty(const String& propertyName, const String& value, const Stri ng& priority, ExceptionState&) final;
58 String removeProperty(const String& propertyName, ExceptionState&) final; 58 String removeProperty(const String& propertyName, ExceptionState&) final;
59 String cssFloat() const;
60 void setCSSFloat(const String&, ExceptionState&);
59 String cssText() const final; 61 String cssText() const final;
60 void setCSSText(const String&, ExceptionState&) final; 62 void setCSSText(const String&, ExceptionState&) final;
61 PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) final; 63 PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) final;
62 String getPropertyValueInternal(CSSPropertyID) final; 64 String getPropertyValueInternal(CSSPropertyID) final;
63 void setPropertyInternal(CSSPropertyID, const String& value, bool important, ExceptionState&) final; 65 void setPropertyInternal(CSSPropertyID, const String& value, bool important, ExceptionState&) final;
64 66
65 bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const final; 67 bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const final;
66 68
67 protected: 69 protected:
68 enum MutationType { NoChanges, PropertyChanged }; 70 enum MutationType { NoChanges, PropertyChanged };
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 Element* parentElement() const override { return m_parentElement; } 144 Element* parentElement() const override { return m_parentElement; }
143 145
144 void didMutate(MutationType) override; 146 void didMutate(MutationType) override;
145 147
146 RawPtrWillBeMember<Element> m_parentElement; 148 RawPtrWillBeMember<Element> m_parentElement;
147 }; 149 };
148 150
149 } // namespace blink 151 } // namespace blink
150 152
151 #endif 153 #endif
OLDNEW
« no previous file with comments | « Source/core/css/CSSStyleDeclaration.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698