summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/PopupMenuStyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/PopupMenuStyle.h')
-rw-r--r--WebCore/platform/PopupMenuStyle.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/WebCore/platform/PopupMenuStyle.h b/WebCore/platform/PopupMenuStyle.h
index 5325ff3..b9a7abc 100644
--- a/WebCore/platform/PopupMenuStyle.h
+++ b/WebCore/platform/PopupMenuStyle.h
@@ -35,11 +35,12 @@ namespace WebCore {
class PopupMenuStyle {
public:
- PopupMenuStyle(const Color& foreground, const Color& background, const Font& font, bool visible, Length textIndent, TextDirection textDirection)
+ PopupMenuStyle(const Color& foreground, const Color& background, const Font& font, bool visible, bool isDisplayNone, Length textIndent, TextDirection textDirection)
: m_foregroundColor(foreground)
, m_backgroundColor(background)
, m_font(font)
, m_visible(visible)
+ , m_isDisplayNone(isDisplayNone)
, m_textIndent(textIndent)
, m_textDirection(textDirection)
{
@@ -49,6 +50,7 @@ public:
const Color& backgroundColor() const { return m_backgroundColor; }
const Font& font() const { return m_font; }
bool isVisible() const { return m_visible; }
+ bool isDisplayNone() const { return m_isDisplayNone; }
Length textIndent() const { return m_textIndent; }
TextDirection textDirection() const { return m_textDirection; }
@@ -57,6 +59,7 @@ private:
Color m_backgroundColor;
Font m_font;
bool m_visible;
+ bool m_isDisplayNone;
Length m_textIndent;
TextDirection m_textDirection;
};