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

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

Issue 717933002: Clean up after getPropertyCSSValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase / fix debug compile? Created 6 years, 1 month 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/core.gypi ('k') | Source/core/css/CSSComputedStyleDeclaration.cpp » ('j') | 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) 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // FIXME: This should be styledElement since in JS getComputedStyle only wor ks 81 // FIXME: This should be styledElement since in JS getComputedStyle only wor ks
82 // on Elements, but right now editing creates these for text nodes. We shoul d fix 82 // on Elements, but right now editing creates these for text nodes. We shoul d fix
83 // that. 83 // that.
84 Node* styledNode() const; 84 Node* styledNode() const;
85 85
86 // CSSOM functions. Don't make these public. 86 // CSSOM functions. Don't make these public.
87 virtual CSSRule* parentRule() const override; 87 virtual CSSRule* parentRule() const override;
88 virtual unsigned length() const override; 88 virtual unsigned length() const override;
89 virtual String item(unsigned index) const override; 89 virtual String item(unsigned index) const override;
90 PassRefPtr<RenderStyle> computeRenderStyle() const; 90 PassRefPtr<RenderStyle> computeRenderStyle() const;
91 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValue(const String& p ropertyName) override;
92 virtual String getPropertyValue(const String& propertyName) override; 91 virtual String getPropertyValue(const String& propertyName) override;
93 virtual String getPropertyPriority(const String& propertyName) override; 92 virtual String getPropertyPriority(const String& propertyName) override;
94 virtual String getPropertyShorthand(const String& propertyName) override; 93 virtual String getPropertyShorthand(const String& propertyName) override;
95 virtual bool isPropertyImplicit(const String& propertyName) override; 94 virtual bool isPropertyImplicit(const String& propertyName) override;
96 virtual void setProperty(const String& propertyName, const String& value, co nst String& priority, ExceptionState&) override; 95 virtual void setProperty(const String& propertyName, const String& value, co nst String& priority, ExceptionState&) override;
97 virtual String removeProperty(const String& propertyName, ExceptionState&) o verride; 96 virtual String removeProperty(const String& propertyName, ExceptionState&) o verride;
98 virtual String cssText() const override; 97 virtual String cssText() const override;
99 virtual void setCSSText(const String&, ExceptionState&) override; 98 virtual void setCSSText(const String&, ExceptionState&) override;
100 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSProp ertyID) override; 99 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSProp ertyID) override;
101 virtual String getPropertyValueInternal(CSSPropertyID) override; 100 virtual String getPropertyValueInternal(CSSPropertyID) override;
(...skipping 16 matching lines...) Expand all
118 PseudoId m_pseudoElementSpecifier; 117 PseudoId m_pseudoElementSpecifier;
119 bool m_allowVisitedStyle; 118 bool m_allowVisitedStyle;
120 #if !ENABLE(OILPAN) 119 #if !ENABLE(OILPAN)
121 unsigned m_refCount; 120 unsigned m_refCount;
122 #endif 121 #endif
123 }; 122 };
124 123
125 } // namespace blink 124 } // namespace blink
126 125
127 #endif // CSSComputedStyleDeclaration_h 126 #endif // CSSComputedStyleDeclaration_h
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/css/CSSComputedStyleDeclaration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698