summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/autofill_manager_delegate.h
diff options
context:
space:
mode:
authorkaiwang@chromium.org <kaiwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-26 00:37:58 +0000
committerkaiwang@chromium.org <kaiwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-26 00:37:58 +0000
commit4ff3252589ba3b5ac4a7ede608f81025d0d0d6d6 (patch)
tree05022df3cdb745f1239acedac5c9f3cc00140e58 /chrome/browser/autofill/autofill_manager_delegate.h
parent6b3048752cf95758c5ac68dbccfb0576a77d182a (diff)
downloadchromium_src-4ff3252589ba3b5ac4a7ede608f81025d0d0d6d6.zip
chromium_src-4ff3252589ba3b5ac4a7ede608f81025d0d0d6d6.tar.gz
chromium_src-4ff3252589ba3b5ac4a7ede608f81025d0d0d6d6.tar.bz2
Remove the dependency from c/b/autofill to c/b/ui/autofill/autofill_dialog_controller_impl.h
BUG=140037 Review URL: https://chromiumcodereview.appspot.com/12042099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178963 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/autofill_manager_delegate.h')
-rw-r--r--chrome/browser/autofill/autofill_manager_delegate.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/browser/autofill/autofill_manager_delegate.h b/chrome/browser/autofill/autofill_manager_delegate.h
index 4e23556..c8b20a3 100644
--- a/chrome/browser/autofill/autofill_manager_delegate.h
+++ b/chrome/browser/autofill/autofill_manager_delegate.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_DELEGATE_H_
#define CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_DELEGATE_H_
+#include "base/callback_forward.h"
+
namespace autofill {
class PasswordGenerator;
}
@@ -12,17 +14,22 @@ class PasswordGenerator;
namespace content {
class BrowserContext;
struct PasswordForm;
+struct SSLStatus;
}
namespace gfx {
class Rect;
}
+class FormStructure;
+class GURL;
class InfoBarService;
class PrefServiceBase;
class Profile;
class ProfileSyncServiceBase;
+struct FormData;
+
namespace autofill {
// A delegate interface that needs to be supplied to AutofillManager
@@ -70,6 +77,13 @@ class AutofillManagerDelegate {
const gfx::Rect& bounds,
const content::PasswordForm& form,
autofill::PasswordGenerator* generator) = 0;
+
+ // Causes the dialog for request autocomplete feature to be shown.
+ virtual void ShowRequestAutocompleteDialog(
+ const FormData& form,
+ const GURL& source_url,
+ const content::SSLStatus& ssl_status,
+ const base::Callback<void(const FormStructure*)>& callback) = 0;
};
} // namespace autofill