Index: Source/core/rendering/style/RenderStyle.h |
diff --git a/Source/core/rendering/style/RenderStyle.h b/Source/core/rendering/style/RenderStyle.h |
index b4c6a66f91eeb74bd5b39731ceb5d4c8ee0c2ad8..28a897c0e09c662ef8b70118d4b8ffccaff9a8e3 100644 |
--- a/Source/core/rendering/style/RenderStyle.h |
+++ b/Source/core/rendering/style/RenderStyle.h |
@@ -833,6 +833,11 @@ public: |
unsigned tabSize() const { return rareInheritedData->m_tabSize; } |
+ StyleNavigationValue navDown() const { return rareNonInheritedData->m_navigation.m_down; } |
+ StyleNavigationValue navLeft() const { return rareNonInheritedData->m_navigation.m_left; } |
+ StyleNavigationValue navRight() const { return rareNonInheritedData->m_navigation.m_right; } |
+ StyleNavigationValue navUp() const { return rareNonInheritedData->m_navigation.m_up; } |
+ |
// End CSS3 Getters |
const AtomicString& flowThread() const { return rareNonInheritedData->m_flowThread; } |
@@ -1257,6 +1262,11 @@ public: |
void setTabSize(unsigned size) { SET_VAR(rareInheritedData, m_tabSize, size); } |
+ void setNavDown(StyleNavigationValue v) { SET_VAR(rareNonInheritedData, m_navigation.m_down, v); } |
+ void setNavLeft(StyleNavigationValue v) { SET_VAR(rareNonInheritedData, m_navigation.m_left, v); } |
+ void setNavRight(StyleNavigationValue v) { SET_VAR(rareNonInheritedData, m_navigation.m_right, v); } |
+ void setNavUp(StyleNavigationValue v) { SET_VAR(rareNonInheritedData, m_navigation.m_up, v); } |
+ |
// End CSS3 Setters |
void setLineGrid(const AtomicString& lineGrid) { SET_VAR(rareInheritedData, m_lineGrid, lineGrid); } |
@@ -1614,6 +1624,8 @@ public: |
static QuotesData* initialQuotes() { return 0; } |
+ static StyleNavigationValue initialStyleNavigation() { DEFINE_STATIC_LOCAL(StyleNavigationValue, initial_navigation, ()); return initial_navigation; } |
+ |
// Keep these at the end. |
// FIXME: Why? Seems these should all be one big sorted list. |
static LineClampValue initialLineClamp() { return LineClampValue(); } |