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 b6b95349f4322654a0cd4ad604722fae9fe430db..020f72fbf91482c970718dfcd792fcf12da234db 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h |
@@ -51,6 +51,7 @@ |
#include "core/style/StyleInheritedData.h" |
#include "core/style/StyleMotionRotation.h" |
#include "core/style/StyleMultiColData.h" |
+#include "core/style/StyleNavigationData.h" |
#include "core/style/StyleRareInheritedData.h" |
#include "core/style/StyleRareNonInheritedData.h" |
#include "core/style/StyleReflection.h" |
@@ -954,6 +955,11 @@ public: |
RespectImageOrientationEnum respectImageOrientation() const { return static_cast<RespectImageOrientationEnum>(rareInheritedData->m_respectImageOrientation); } |
+ StyleNavigationValue navDown() const { return rareNonInheritedData->m_navigation->down(); } |
+ StyleNavigationValue navLeft() const { return rareNonInheritedData->m_navigation->left(); } |
+ StyleNavigationValue navRight() const { return rareNonInheritedData->m_navigation->right(); } |
+ StyleNavigationValue navUp() const { return rareNonInheritedData->m_navigation->up(); } |
fs
2016/05/18 15:55:05
const StyleNavigationValue&?
|
+ |
// End CSS3 Getters |
// Apple-specific property getter methods |
@@ -1457,6 +1463,11 @@ public: |
void setRespectImageOrientation(RespectImageOrientationEnum v) { SET_VAR(rareInheritedData, m_respectImageOrientation, v); } |
+ void setNavDown(const StyleNavigationValue& value) { SET_VAR_WITH_SETTER(rareNonInheritedData.access()->m_navigation, down, setDown, value); } |
+ void setNavLeft(const StyleNavigationValue& value) { SET_VAR_WITH_SETTER(rareNonInheritedData.access()->m_navigation, left, setLeft, value); } |
+ void setNavRight(const StyleNavigationValue& value) { SET_VAR_WITH_SETTER(rareNonInheritedData.access()->m_navigation, right, setRight, value); } |
+ void setNavUp(const StyleNavigationValue& value) { SET_VAR_WITH_SETTER(rareNonInheritedData.access()->m_navigation, up, setUp, value); } |
+ |
// End CSS3 Setters |
void setWrapFlow(WrapFlow wrapFlow) { SET_VAR(rareNonInheritedData, m_wrapFlow, wrapFlow); } |
@@ -1847,6 +1858,8 @@ public: |
static QuotesData* initialQuotes() { return 0; } |
+ static StyleNavigationValue initialStyleNavigation() { DEFINE_STATIC_LOCAL(StyleNavigationValue, initialNavigation, ()); return initialNavigation; } |
+ |
// Keep these at the end. |
// FIXME: Why? Seems these should all be one big sorted list. |
static LineClampValue initialLineClamp() { return LineClampValue(); } |