Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: webkit/glue/dom_operations.h

Issue 50038: Fix for autofill bug 8627 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/glue/dom_operations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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__
« no previous file with comments | « no previous file | webkit/glue/dom_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698