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

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

Issue 2942393002: Generate enum/getters/setters/mappings for flex-direction (Closed)
Patch Set: Retry Created 3 years, 6 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/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index 9ae5c304ea66a7a24875cac2e14b08571479d1ca..3c20a96956260707e6b7469103567b0952c81aca 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -739,17 +739,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
length);
}
- // flex-direction (aka -webkit-flex-direction)
- static EFlexDirection InitialFlexDirection() { return EFlexDirection::kRow; }
- EFlexDirection FlexDirection() const {
- return static_cast<EFlexDirection>(
- rare_non_inherited_data_->flexible_box_data_->flex_direction_);
- }
- void SetFlexDirection(EFlexDirection direction) {
- SET_NESTED_VAR(rare_non_inherited_data_, flexible_box_data_,
- flex_direction_, static_cast<unsigned>(direction));
- }
-
// flex-grow (aka -webkit-flex-grow)
static float InitialFlexGrow() { return 0; }
float FlexGrow() const {
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | third_party/WebKit/Source/core/style/ComputedStyleConstants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698