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

Unified Diff: third_party/WebKit/Source/core/style/StyleBoxData.h

Issue 2844163002: Remove public methods on StyleBoxData and rename member. (Closed)
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/style/StyleBoxData.h
diff --git a/third_party/WebKit/Source/core/style/StyleBoxData.h b/third_party/WebKit/Source/core/style/StyleBoxData.h
index eaec849539da0b657f9995b7d0898e3587ca0ccf..8174fb285bcd531c55376e0e919966ad96996f25 100644
--- a/third_party/WebKit/Source/core/style/StyleBoxData.h
+++ b/third_party/WebKit/Source/core/style/StyleBoxData.h
@@ -48,25 +48,6 @@ class CORE_EXPORT StyleBoxData : public RefCountedCopyable<StyleBoxData> {
bool operator==(const StyleBoxData&) const;
bool operator!=(const StyleBoxData& o) const { return !(*this == o); }
- const Length& Width() const { return width_; }
- const Length& Height() const { return height_; }
-
- const Length& MinWidth() const { return min_width_; }
- const Length& MinHeight() const { return min_height_; }
-
- const Length& MaxWidth() const { return max_width_; }
- const Length& MaxHeight() const { return max_height_; }
-
- const Length& VerticalAlign() const { return vertical_align_; }
-
- int ZIndex() const { return z_index_; }
- bool HasAutoZIndex() const { return has_auto_z_index_; }
-
- EBoxSizing BoxSizing() const { return static_cast<EBoxSizing>(box_sizing_); }
- EBoxDecorationBreak BoxDecorationBreak() const {
- return static_cast<EBoxDecorationBreak>(box_decoration_break_);
- }
-
private:
friend class ComputedStyle;
@@ -82,7 +63,7 @@ class CORE_EXPORT StyleBoxData : public RefCountedCopyable<StyleBoxData> {
Length min_height_;
Length max_height_;
- Length vertical_align_;
+ Length vertical_align_length_;
int z_index_;
unsigned has_auto_z_index_ : 1;
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | third_party/WebKit/Source/core/style/StyleBoxData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698