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

Unified Diff: Source/core/css/resolver/StyleAdjuster.h

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/resolver/SharedStyleFinder.cpp ('k') | Source/core/css/resolver/StyleAdjuster.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleAdjuster.h
diff --git a/Source/core/css/resolver/StyleAdjuster.h b/Source/core/css/resolver/StyleAdjuster.h
index 8717e0f55197eebf21086cd2fc5f9c21e74bcb5c..98cd83881d4be8de890a9d4e05e56829cb7f5468 100644
--- a/Source/core/css/resolver/StyleAdjuster.h
+++ b/Source/core/css/resolver/StyleAdjuster.h
@@ -29,7 +29,7 @@ namespace blink {
class AuthorStyleInfo;
class Element;
class HTMLElement;
-class LayoutStyle;
+class ComputedStyle;
// Certain CSS Properties/Values do not apply to certain elements
// and the web expects that we expose "adjusted" values when
@@ -41,14 +41,14 @@ public:
: m_useQuirksModeStyles(useQuirksModeStyles)
{ }
- void adjustLayoutStyle(LayoutStyle& styleToAdjust, const LayoutStyle& parentStyle, Element*, const AuthorStyleInfo&);
+ void adjustComputedStyle(ComputedStyle& styleToAdjust, const ComputedStyle& parentStyle, Element*, const AuthorStyleInfo&);
private:
- void adjustStyleForFirstLetter(LayoutStyle&);
- void adjustStyleForDisplay(LayoutStyle& styleToAdjust, const LayoutStyle& parentStyle);
- void adjustStyleForHTMLElement(LayoutStyle& styleToAdjust, const LayoutStyle& parentStyle, HTMLElement&);
- void adjustOverflow(LayoutStyle& styleToAdjust);
- void adjustStyleForAlignment(LayoutStyle& styleToAdjust, const LayoutStyle& parentStyle);
+ void adjustStyleForFirstLetter(ComputedStyle&);
+ void adjustStyleForDisplay(ComputedStyle& styleToAdjust, const ComputedStyle& parentStyle);
+ void adjustStyleForHTMLElement(ComputedStyle& styleToAdjust, const ComputedStyle& parentStyle, HTMLElement&);
+ void adjustOverflow(ComputedStyle& styleToAdjust);
+ void adjustStyleForAlignment(ComputedStyle& styleToAdjust, const ComputedStyle& parentStyle);
bool m_useQuirksModeStyles;
};
« no previous file with comments | « Source/core/css/resolver/SharedStyleFinder.cpp ('k') | Source/core/css/resolver/StyleAdjuster.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698