| Index: webkit/glue/dom_operations.h
|
| ===================================================================
|
| --- webkit/glue/dom_operations.h (revision 12331)
|
| +++ webkit/glue/dom_operations.h (working copy)
|
| @@ -12,6 +12,11 @@
|
| #include "googleurl/src/gurl.h"
|
| #include "webkit/glue/password_form_dom_manager.h"
|
|
|
| +namespace WebCore {
|
| +class Element;
|
| +class Node;
|
| +}
|
| +
|
| struct FormData;
|
| class WebFrameImpl;
|
| class WebView;
|
| @@ -146,6 +151,11 @@
|
| // Returns the number of animations currently running.
|
| int NumberOfActiveAnimations(WebView* view);
|
|
|
| +// Returns the passed element/node casted to an HTMLInputElement if it is one,
|
| +// NULL if it is not an HTMLInputElement.
|
| +WebCore::HTMLInputElement* ElementToHTMLInputElement(WebCore::Element* element);
|
| +WebCore::HTMLInputElement* NodeToHTMLInputElement(WebCore::Node* node);
|
| +
|
| } // namespace webkit_glue
|
|
|
| #endif // WEBKIT_GLUE_DOM_OPERATIONS_H__
|
|
|