Commit 26ef9bee authored by eric@webkit.org's avatar eric@webkit.org
Browse files

2010-04-02 Nayan Kumar K <nayankk@gmail.com>

        Reviewed by Eric Seidel.

        Fix for WML enabled build failure.

        https://bugs.webkit.org/show_bug.cgi?id=36648

        * wml/WMLOptionElement.cpp:
        (WebCore::WMLOptionElement::disabled):
        * wml/WMLOptionElement.h:
        * wml/WMLSelectElement.cpp:
        (WebCore::WMLSelectElement::listBoxSelectItem):
        * wml/WMLSelectElement.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@57038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 663af777
2010-04-02 Nayan Kumar K <nayankk@gmail.com>
Reviewed by Eric Seidel.
Fix for WML enabled build failure.
https://bugs.webkit.org/show_bug.cgi?id=36648
* wml/WMLOptionElement.cpp:
(WebCore::WMLOptionElement::disabled):
* wml/WMLOptionElement.h:
* wml/WMLSelectElement.cpp:
(WebCore::WMLSelectElement::listBoxSelectItem):
* wml/WMLSelectElement.h:
2010-04-02 MORITA Hajime <morrita@google.com>
 
Reviewed by Alexey Proskuryakov.
......@@ -170,6 +170,12 @@ void WMLOptionElement::handleIntrinsicEventIfNeeded()
eventHandler->triggerIntrinsicEvent(WMLIntrinsicEventOnPick);
}
bool WMLOptionElement::disabled() const
{
/* Dummy implementation, as disabled() is pure virtual in OptionElement class */
return false;
}
}
#endif
......@@ -56,6 +56,8 @@ public:
virtual String textIndentedToRespectGroupLabel() const;
virtual String value() const;
virtual bool disabled() const;
private:
virtual RenderStyle* nonRendererRenderStyle() const;
void handleIntrinsicEventIfNeeded();
......
......@@ -545,6 +545,11 @@ String WMLSelectElement::ivalue() const
return parseValueSubstitutingVariableReferences(getAttribute(ivalueAttr));
}
void WMLSelectElement::listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow)
{
/* Dummy implementation as listBoxSelectItem is pure virtual in SelectElement class */
}
}
#endif
......@@ -86,6 +86,8 @@ public:
void selectInitialOptions();
bool initialized() const { return m_initialized; }
virtual void listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow = true);
virtual void listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow = true) { return; }
private:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment