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

Unified Diff: components/autofill/browser/autocomplete_history_manager.h

Issue 15097004: Enable Autocomplete feature for chromium webview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@setSaveFormData2
Patch Set: enable autocomplete independent of autofill. Created 7 years, 6 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
Index: components/autofill/browser/autocomplete_history_manager.h
diff --git a/components/autofill/browser/autocomplete_history_manager.h b/components/autofill/browser/autocomplete_history_manager.h
index 9a55fa44b7dfd4cde12625f850f5c9b5f11ab38a..12f1f0278e52efcd1bbe5548267d7de8cd3ddcba 100644
--- a/components/autofill/browser/autocomplete_history_manager.h
+++ b/components/autofill/browser/autocomplete_history_manager.h
@@ -20,6 +20,7 @@ class BrowserContext;
namespace autofill {
class AutofillExternalDelegate;
+class AutofillManagerDelegate;
struct FormData;
// Per-tab Autocomplete history manager. Handles receiving form data
@@ -28,7 +29,8 @@ struct FormData;
class AutocompleteHistoryManager : public content::WebContentsObserver,
public WebDataServiceConsumer {
public:
- explicit AutocompleteHistoryManager(content::WebContents* web_contents);
+ AutocompleteHistoryManager(content::WebContents* web_contents,
+ autofill::AutofillManagerDelegate* const delegate);
Ilya Sherman 2013/06/18 05:56:25 nit: It's quite contrary to existing style that I'
sgurun-gerrit only 2013/06/19 00:16:17 Done.
virtual ~AutocompleteHistoryManager();
// content::WebContentsObserver implementation.
@@ -86,6 +88,7 @@ class AutocompleteHistoryManager : public content::WebContentsObserver,
// Delegate to perform external processing (display, selection) on
// our behalf. Weak.
AutofillExternalDelegate* external_delegate_;
+ autofill::AutofillManagerDelegate* const manager_delegate_;
Ilya Sherman 2013/06/18 05:56:25 (this const is fine and dandy, though :)
sgurun-gerrit only 2013/06/19 00:16:17 Done.
DISALLOW_COPY_AND_ASSIGN(AutocompleteHistoryManager);
};

Powered by Google App Engine
This is Rietveld 408576698