Index: Source/core/rendering/style/StyleRareNonInheritedData.h |
diff --git a/Source/core/rendering/style/StyleRareNonInheritedData.h b/Source/core/rendering/style/StyleRareNonInheritedData.h |
index ed8bd710b926adc8c587085a38d900dbe74c4272..400b4e3e6cf14484541f9d7b114b7eb6d2dbc1ca 100644 |
--- a/Source/core/rendering/style/StyleRareNonInheritedData.h |
+++ b/Source/core/rendering/style/StyleRareNonInheritedData.h |
@@ -4,6 +4,7 @@ |
* (C) 2000 Dirk Mueller (mueller@kde.org) |
* Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
* Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
+ * Copyright (C) 2014 Opera Software ASA. All rights reserved. |
* |
* This library is free software; you can redistribute it and/or |
* modify it under the terms of the GNU Library General Public |
@@ -36,6 +37,7 @@ |
#include "core/rendering/style/NinePieceImage.h" |
#include "core/rendering/style/RenderStyleConstants.h" |
#include "core/rendering/style/ShapeValue.h" |
+#include "core/rendering/style/StyleNavigationData.h" |
#include "platform/LengthPoint.h" |
#include "wtf/OwnPtr.h" |
#include "wtf/PassRefPtr.h" |
@@ -90,6 +92,16 @@ public: |
bool hasFilters() const; |
bool hasOpacity() const { return opacity < 1; } |
+ StyleNavigationValue navDown() const; |
+ StyleNavigationValue navLeft() const; |
+ StyleNavigationValue navRight() const; |
+ StyleNavigationValue navUp() const; |
+ |
+ void setNavDown(const StyleNavigationValue&); |
+ void setNavLeft(const StyleNavigationValue&); |
+ void setNavRight(const StyleNavigationValue&); |
+ void setNavUp(const StyleNavigationValue&); |
+ |
float opacity; // Whether or not we're transparent. |
float m_aspectRatioDenominator; |
@@ -127,6 +139,8 @@ public: |
FillLayer m_mask; |
NinePieceImage m_maskBoxImage; |
+ DataRef<StyleNavigationData> m_navigation; |
+ |
LengthSize m_pageSize; |
RefPtr<ShapeValue> m_shapeOutside; |
@@ -213,6 +227,8 @@ public: |
private: |
StyleRareNonInheritedData(); |
StyleRareNonInheritedData(const StyleRareNonInheritedData&); |
+ |
+ void setNavigation(StyleNavigationData::NavigationDirection, const StyleNavigationValue&); |
}; |
} // namespace blink |