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

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

Issue 204373003: Oilpan: Change references to MutableStylePropertySet to transition types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 virtual bool isPropertyImplicit(const String& propertyName) OVERRIDE FINAL; 57 virtual bool isPropertyImplicit(const String& propertyName) OVERRIDE FINAL;
58 virtual void setProperty(const String& propertyName, const String& value, co nst String& priority, ExceptionState&) OVERRIDE FINAL; 58 virtual void setProperty(const String& propertyName, const String& value, co nst String& priority, ExceptionState&) OVERRIDE FINAL;
59 virtual String removeProperty(const String& propertyName, ExceptionState&) O VERRIDE FINAL; 59 virtual String removeProperty(const String& propertyName, ExceptionState&) O VERRIDE FINAL;
60 virtual String cssText() const OVERRIDE FINAL; 60 virtual String cssText() const OVERRIDE FINAL;
61 virtual void setCSSText(const String&, ExceptionState&) OVERRIDE FINAL; 61 virtual void setCSSText(const String&, ExceptionState&) OVERRIDE FINAL;
62 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSProp ertyID) OVERRIDE FINAL; 62 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSProp ertyID) OVERRIDE FINAL;
63 virtual String getPropertyValueInternal(CSSPropertyID) OVERRIDE FINAL; 63 virtual String getPropertyValueInternal(CSSPropertyID) OVERRIDE FINAL;
64 virtual void setPropertyInternal(CSSPropertyID, const String& value, bool im portant, ExceptionState&) OVERRIDE FINAL; 64 virtual void setPropertyInternal(CSSPropertyID, const String& value, bool im portant, ExceptionState&) OVERRIDE FINAL;
65 65
66 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRI DE FINAL; 66 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRI DE FINAL;
67 virtual PassRefPtr<MutableStylePropertySet> copyProperties() const OVERRIDE FINAL; 67 virtual PassRefPtrWillBeRawPtr<MutableStylePropertySet> copyProperties() con st OVERRIDE FINAL;
68 68
69 CSSValue* cloneAndCacheForCSSOM(CSSValue*); 69 CSSValue* cloneAndCacheForCSSOM(CSSValue*);
70 70
71 protected: 71 protected:
72 enum MutationType { NoChanges, PropertyChanged }; 72 enum MutationType { NoChanges, PropertyChanged };
73 virtual void willMutate() { } 73 virtual void willMutate() { }
74 virtual void didMutate(MutationType) { } 74 virtual void didMutate(MutationType) { }
75 virtual MutableStylePropertySet& propertySet() const = 0; 75 virtual MutableStylePropertySet& propertySet() const = 0;
76 76
77 OwnPtrWillBePersistent<WillBeHeapHashMap<CSSValue*, RefPtrWillBeMember<CSSVa lue> > > m_cssomCSSValueClones; 77 OwnPtrWillBePersistent<WillBeHeapHashMap<CSSValue*, RefPtrWillBeMember<CSSVa lue> > > m_cssomCSSValueClones;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 virtual void clearParentElement() OVERRIDE { m_parentElement = 0; } 137 virtual void clearParentElement() OVERRIDE { m_parentElement = 0; }
138 138
139 virtual void didMutate(MutationType) OVERRIDE; 139 virtual void didMutate(MutationType) OVERRIDE;
140 140
141 Element* m_parentElement; 141 Element* m_parentElement;
142 }; 142 };
143 143
144 } // namespace WebCore 144 } // namespace WebCore
145 145
146 #endif 146 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698