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

Unified Diff: chrome/browser/tab_contents/tab_contents.cc

Issue 339030: Add initial implementation of AutoFill++. This implementation is hidden behi... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « chrome/browser/tab_contents/tab_contents.h ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/tab_contents.cc
===================================================================
--- chrome/browser/tab_contents/tab_contents.cc (revision 30247)
+++ chrome/browser/tab_contents/tab_contents.cc (working copy)
@@ -11,6 +11,7 @@
#include "base/string16.h"
#include "base/string_util.h"
#include "base/time.h"
+#include "chrome/browser/autofill/autofill_manager.h"
#include "chrome/browser/blocked_popup_container.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
#include "chrome/browser/browser_process.h"
@@ -230,6 +231,7 @@
save_package_(),
cancelable_consumer_(),
form_field_history_manager_(),
+ autofill_manager_(),
password_manager_(),
plugin_installer_(),
ALLOW_THIS_IN_INITIALIZER_LIST(fav_icon_helper_(this)),
@@ -1937,6 +1939,12 @@
return form_field_history_manager_.get();
}
+RenderViewHostDelegate::AutoFill* TabContents::GetAutoFillDelegate() {
+ if (autofill_manager_.get() == NULL)
+ autofill_manager_.reset(new AutoFillManager(this));
+ return autofill_manager_.get();
+}
+
RendererPreferences TabContents::GetRendererPrefs() const {
return renderer_preferences_;
}
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.h ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698