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

Side by Side Diff: sky/engine/core/css/CSSComputedStyleDeclaration.h

Issue 780483002: Remove the CSSOM. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 PassRefPtr<CSSValue> getPropertyCSSValue(CSSPropertyID, EUpdateLayout = Upda teLayout) const; 68 PassRefPtr<CSSValue> getPropertyCSSValue(CSSPropertyID, EUpdateLayout = Upda teLayout) const;
69 PassRefPtr<CSSValue> getFontSizeCSSValuePreferringKeyword() const; 69 PassRefPtr<CSSValue> getFontSizeCSSValuePreferringKeyword() const;
70 FixedPitchFontType fixedPitchFontType() const; 70 FixedPitchFontType fixedPitchFontType() const;
71 71
72 PassRefPtr<MutableStylePropertySet> copyPropertiesInSet(const Vector<CSSProp ertyID>&) const; 72 PassRefPtr<MutableStylePropertySet> copyPropertiesInSet(const Vector<CSSProp ertyID>&) const;
73 73
74 private: 74 private:
75 CSSComputedStyleDeclaration(PassRefPtr<Node>, bool allowVisitedStyle, const String&); 75 CSSComputedStyleDeclaration(PassRefPtr<Node>, bool allowVisitedStyle, const String&);
76 76
77 // CSSOM functions. Don't make these public. 77 // CSSOM functions. Don't make these public.
78 virtual CSSRule* parentRule() const override;
79 virtual unsigned length() const override; 78 virtual unsigned length() const override;
80 virtual String item(unsigned index) const override; 79 virtual String item(unsigned index) const override;
81 PassRefPtr<RenderStyle> computeRenderStyle(CSSPropertyID) const; 80 PassRefPtr<RenderStyle> computeRenderStyle(CSSPropertyID) const;
82 virtual PassRefPtr<CSSValue> getPropertyCSSValue(const String& propertyName) override; 81 virtual PassRefPtr<CSSValue> getPropertyCSSValue(const String& propertyName) override;
83 virtual String getPropertyValue(const String& propertyName) override; 82 virtual String getPropertyValue(const String& propertyName) override;
84 virtual String getPropertyPriority(const String& propertyName) override; 83 virtual String getPropertyPriority(const String& propertyName) override;
85 virtual String getPropertyShorthand(const String& propertyName) override; 84 virtual String getPropertyShorthand(const String& propertyName) override;
86 virtual bool isPropertyImplicit(const String& propertyName) override; 85 virtual bool isPropertyImplicit(const String& propertyName) override;
87 virtual void setProperty(const String& propertyName, const String& value, co nst String& priority, ExceptionState&) override; 86 virtual void setProperty(const String& propertyName, const String& value, co nst String& priority, ExceptionState&) override;
88 virtual String removeProperty(const String& propertyName, ExceptionState&) o verride; 87 virtual String removeProperty(const String& propertyName, ExceptionState&) o verride;
(...skipping 19 matching lines...) Expand all
108 PseudoId m_pseudoElementSpecifier; 107 PseudoId m_pseudoElementSpecifier;
109 bool m_allowVisitedStyle; 108 bool m_allowVisitedStyle;
110 #if !ENABLE(OILPAN) 109 #if !ENABLE(OILPAN)
111 unsigned m_refCount; 110 unsigned m_refCount;
112 #endif 111 #endif
113 }; 112 };
114 113
115 } // namespace blink 114 } // namespace blink
116 115
117 #endif // SKY_ENGINE_CORE_CSS_CSSCOMPUTEDSTYLEDECLARATION_H_ 116 #endif // SKY_ENGINE_CORE_CSS_CSSCOMPUTEDSTYLEDECLARATION_H_
OLDNEW
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/css/CSSComputedStyleDeclaration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698