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

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

Issue 2812743003: Rename cleanup in comments in css/ directory. (Closed)
Patch Set: Created 3 years, 8 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. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
4 * All rights reserved. 4 * All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 StyleRuleList* StyleRulesForElement(Element*, unsigned rules_to_include); 132 StyleRuleList* StyleRulesForElement(Element*, unsigned rules_to_include);
133 133
134 void ComputeFont(ComputedStyle*, const StylePropertySet&); 134 void ComputeFont(ComputedStyle*, const StylePropertySet&);
135 135
136 // FIXME: Rename to reflect the purpose, like didChangeFontSize or something. 136 // FIXME: Rename to reflect the purpose, like didChangeFontSize or something.
137 void InvalidateMatchedPropertiesCache(); 137 void InvalidateMatchedPropertiesCache();
138 138
139 void SetResizedForViewportUnits(); 139 void SetResizedForViewportUnits();
140 void ClearResizedForViewportUnits(); 140 void ClearResizedForViewportUnits();
141 141
142 // Exposed for ComputedStyle::isStyleAvilable(). 142 // Exposed for ComputedStyle::IsStyleAvailable().
143 static ComputedStyle* StyleNotYetAvailable() { 143 static ComputedStyle* StyleNotYetAvailable() {
144 return style_not_yet_available_; 144 return style_not_yet_available_;
145 } 145 }
146 146
147 StyleSharingList& GetStyleSharingList(); 147 StyleSharingList& GetStyleSharingList();
148 148
149 void AddToStyleSharingList(Element&); 149 void AddToStyleSharingList(Element&);
150 void ClearStyleSharingList(); 150 void ClearStyleSharingList();
151 151
152 void IncreaseStyleSharingDepth() { ++style_sharing_depth_; } 152 void IncreaseStyleSharingDepth() { ++style_sharing_depth_; }
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 bool was_viewport_resized_ = false; 317 bool was_viewport_resized_ = false;
318 318
319 unsigned style_sharing_depth_ = 0; 319 unsigned style_sharing_depth_ = 0;
320 HeapVector<Member<StyleSharingList>, kStyleSharingMaxDepth> 320 HeapVector<Member<StyleSharingList>, kStyleSharingMaxDepth>
321 style_sharing_lists_; 321 style_sharing_lists_;
322 }; 322 };
323 323
324 } // namespace blink 324 } // namespace blink
325 325
326 #endif // StyleResolver_h 326 #endif // StyleResolver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698