summaryrefslogtreecommitdiffstats
path: root/webkit/glue/dom_operations.cc
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 19:36:16 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 19:36:16 +0000
commite768baf6ebf5a49cc19d58d1761321b175c82c18 (patch)
treec29fb1ebcef46d9ad929ed1fd68f954a04f97b06 /webkit/glue/dom_operations.cc
parenta850e9592bb1a8c43275116ff565c91b4b1cb66b (diff)
downloadchromium_src-e768baf6ebf5a49cc19d58d1761321b175c82c18.zip
chromium_src-e768baf6ebf5a49cc19d58d1761321b175c82c18.tar.gz
chromium_src-e768baf6ebf5a49cc19d58d1761321b175c82c18.tar.bz2
Separate the PasswordManagerDelegate out of PasswordManager.
Previously, anyone who included tab_contents.h would bring in a bunch of implementation details of the password manager from webkit_glue. This breaks the delegate interface out of the rest of password manager system and makes FillData not an inner-class so anyone can forward declare FillData instead of having to include the header to meet a delegate interface. BUG=none TEST=none Review URL: http://codereview.chromium.org/2877022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52726 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/dom_operations.cc')
-rw-r--r--webkit/glue/dom_operations.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/glue/dom_operations.cc b/webkit/glue/dom_operations.cc
index 017c3c6..82e5e3a 100644
--- a/webkit/glue/dom_operations.cc
+++ b/webkit/glue/dom_operations.cc
@@ -19,6 +19,7 @@
#include "third_party/WebKit/WebKit/chromium/public/WebView.h"
#include "webkit/glue/dom_operations.h"
#include "webkit/glue/form_data.h"
+#include "webkit/glue/password_form_dom_manager.h"
#include "webkit/glue/webpasswordautocompletelistener_impl.h"
using WebKit::WebAnimationController;
@@ -272,7 +273,7 @@ static void FindFormElements(WebView* view,
}
void FillPasswordForm(WebView* view,
- const PasswordFormDomManager::FillData& data) {
+ const PasswordFormFillData& data) {
FormElementsList forms;
// We own the FormElements* in forms.
FindFormElements(view, data.basic_data, &forms);