diff options
author | Russell Brenner <russellbrenner@google.com> | 2010-11-18 17:33:13 -0800 |
---|---|---|
committer | Russell Brenner <russellbrenner@google.com> | 2010-12-02 13:47:21 -0800 |
commit | 6b70adc33054f8aee8c54d0f460458a9df11b8a5 (patch) | |
tree | 103a13998c33944d6ab3b8318c509a037e639460 /WebCore/platform/PopupMenuStyle.h | |
parent | bdf4ebc8e70b2d221b6ee7a65660918ecb1d33aa (diff) | |
download | external_webkit-6b70adc33054f8aee8c54d0f460458a9df11b8a5.zip external_webkit-6b70adc33054f8aee8c54d0f460458a9df11b8a5.tar.gz external_webkit-6b70adc33054f8aee8c54d0f460458a9df11b8a5.tar.bz2 |
Merge WebKit at r72274: Initial merge by git.
Change-Id: Ie51f0b4a16da82942bd516dce59cfb79ebbe25fb
Diffstat (limited to 'WebCore/platform/PopupMenuStyle.h')
-rw-r--r-- | WebCore/platform/PopupMenuStyle.h | 5 |
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; }; |