2011-03-24 Ilya Sherman <isherman@chromium.org>

        Reviewed by Dimitri Glazkov.

        Expose Node::isFocusable() in the Chromium WebKit API
        In service of https://code.google.com/p/chromium/issues/detail?id=72918
        https://bugs.webkit.org/show_bug.cgi?id=56809

        * public/WebNode.h:
        * src/WebNode.cpp:
        (WebKit::WebNode::isFocusable):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent db5d9dc3
2011-03-24 Ilya Sherman <isherman@chromium.org>
Reviewed by Dimitri Glazkov.
Expose Node::isFocusable() in the Chromium WebKit API
In service of https://code.google.com/p/chromium/issues/detail?id=72918
https://bugs.webkit.org/show_bug.cgi?id=56809
* public/WebNode.h:
* src/WebNode.cpp:
(WebKit::WebNode::isFocusable):
2011-03-24 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: fix chromium compilation.
......
......@@ -96,6 +96,7 @@ public:
WEBKIT_API WebNodeList childNodes();
WEBKIT_API WebString createMarkup() const;
WEBKIT_API bool isTextNode() const;
WEBKIT_API bool isFocusable() const;
WEBKIT_API bool isContentEditable() const;
WEBKIT_API bool isElementNode() const;
WEBKIT_API void addEventListener(const WebString& eventType, WebDOMEventListener* listener, bool useCapture);
......
......@@ -145,6 +145,11 @@ bool WebNode::isTextNode() const
return m_private->isTextNode();
}
bool WebNode::isFocusable() const
{
return m_private->isFocusable();
}
bool WebNode::isContentEditable() const
{
return m_private->isContentEditable();
......
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