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

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

Issue 1251523003: Delete AuthorStyleInfo and move its data into ComputedStyle.RareNonInheritedData. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update comment 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 67d6fc8c71974093f53ff7aad61eb1b4df1d4687..fde7efad80516213dd99a49d6d2ff4854467410a 100644
--- a/Source/core/layout/LayoutTheme.h
+++ b/Source/core/layout/LayoutTheme.h
@@ -33,7 +33,6 @@
namespace blink {
-class AuthorStyleInfo;
class ComputedStyle;
class Element;
class FileList;
@@ -62,7 +61,7 @@ public:
// 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*, const AuthorStyleInfo&);
+ void adjustStyle(ComputedStyle&, Element*);
// The remaining methods should be implemented by the platform-specific portion of the theme, e.g.,
// LayoutThemeMac.cpp for Mac OS X.
@@ -84,7 +83,7 @@ public:
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 AuthorStyleInfo&) const;
+ virtual bool isControlStyled(const ComputedStyle&) 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