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

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

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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 Library General Public 6 * modify it under the terms of the GNU Library 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 return m_elementStyleResources.styleImage(propertyId, value); 123 return m_elementStyleResources.styleImage(propertyId, value);
124 } 124 }
125 125
126 FontBuilder& fontBuilder() { return m_fontBuilder; } 126 FontBuilder& fontBuilder() { return m_fontBuilder; }
127 const FontBuilder& fontBuilder() const { return m_fontBuilder; } 127 const FontBuilder& fontBuilder() const { return m_fontBuilder; }
128 // FIXME: These exist as a primitive way to track mutations to font-related properties 128 // FIXME: These exist as a primitive way to track mutations to font-related properties
129 // on a ComputedStyle. As designed, these are very error-prone, as some call ers 129 // on a ComputedStyle. As designed, these are very error-prone, as some call ers
130 // set these directly on the ComputedStyle w/o telling us. Presumably we'll 130 // set these directly on the ComputedStyle w/o telling us. Presumably we'll
131 // want to design a better wrapper around ComputedStyle for tracking these m utations 131 // want to design a better wrapper around ComputedStyle for tracking these m utations
132 // and separate it from StyleResolverState. 132 // and separate it from StyleResolverState.
133 const FontDescription& parentFontDescription() const { return m_parentStyle- >fontDescription(); } 133 const FontDescription& parentFontDescription() const { return m_parentStyle- >getFontDescription(); }
134 134
135 void setZoom(float f) 135 void setZoom(float f)
136 { 136 {
137 if (m_style->setZoom(f)) 137 if (m_style->setZoom(f))
138 m_fontBuilder.didChangeEffectiveZoom(); 138 m_fontBuilder.didChangeEffectiveZoom();
139 } 139 }
140 void setEffectiveZoom(float f) 140 void setEffectiveZoom(float f)
141 { 141 {
142 if (m_style->setEffectiveZoom(f)) 142 if (m_style->setEffectiveZoom(f))
143 m_fontBuilder.didChangeEffectiveZoom(); 143 m_fontBuilder.didChangeEffectiveZoom();
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 OwnPtr<CachedUAStyle> m_cachedUAStyle; 183 OwnPtr<CachedUAStyle> m_cachedUAStyle;
184 184
185 ElementStyleResources m_elementStyleResources; 185 ElementStyleResources m_elementStyleResources;
186 186
187 WillBeHeapHashMap<String, RefPtrWillBeMember<StylePropertySet>> m_customProp ertySetsForApplyAtRule; 187 WillBeHeapHashMap<String, RefPtrWillBeMember<StylePropertySet>> m_customProp ertySetsForApplyAtRule;
188 }; 188 };
189 189
190 } // namespace blink 190 } // namespace blink
191 191
192 #endif // StyleResolverState_h 192 #endif // StyleResolverState_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698