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

Unified Diff: Source/core/layout/LayoutTheme.h

Issue 1274263003: Revert of Delete AuthorStyleInfo and move its data into ComputedStyle.RareNonInheritedData. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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/StyleResolver.cpp ('k') | Source/core/layout/LayoutTheme.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTheme.h
diff --git a/Source/core/layout/LayoutTheme.h b/Source/core/layout/LayoutTheme.h
index ee233fe2607d1fab755eb3c1237f2636b3a8dac6..e0bfb5dd96fd8d8707a9e6f053226aad1b2cfef5 100644
--- a/Source/core/layout/LayoutTheme.h
+++ b/Source/core/layout/LayoutTheme.h
@@ -33,6 +33,7 @@
namespace blink {
+class AuthorStyleInfo;
class ComputedStyle;
class Element;
class FileList;
@@ -61,7 +62,7 @@
// metrics and defaults given the contents of the style. This includes sophisticated operations like
// selection of control size based off the font, the disabling of appearance when certain other properties like
// "border" are set, or if the appearance is not supported by the theme.
- void adjustStyle(ComputedStyle&, Element*);
+ void adjustStyle(ComputedStyle&, Element*, const AuthorStyleInfo&);
// The remaining methods should be implemented by the platform-specific portion of the theme, e.g.,
// LayoutThemeMac.cpp for Mac OS X.
@@ -83,7 +84,7 @@
bool isControlContainer(ControlPart) const;
// Whether or not the control has been styled enough by the author to disable the native appearance.
- virtual bool isControlStyled(const ComputedStyle&) const;
+ virtual bool isControlStyled(const ComputedStyle&, const AuthorStyleInfo&) const;
// Some controls may spill out of their containers (e.g., the check on an OSX 10.9 checkbox). Add this
// "visual overflow" to the object's border box rect.
« no previous file with comments | « Source/core/css/resolver/StyleResolver.cpp ('k') | Source/core/layout/LayoutTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698