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

Unified Diff: chrome/browser/autofill/autofill_manager.cc

Issue 10024059: DataList UI (Chromium part) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed Created 8 years, 8 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: chrome/browser/autofill/autofill_manager.cc
diff --git a/chrome/browser/autofill/autofill_manager.cc b/chrome/browser/autofill/autofill_manager.cc
index e15e06c657092369260ca492d6880225b8306310..631bc71c86505a4551d9a28518cd7dd5a1428f73 100644
--- a/chrome/browser/autofill/autofill_manager.cc
+++ b/chrome/browser/autofill/autofill_manager.cc
@@ -62,6 +62,7 @@
#include "webkit/forms/form_data_predictions.h"
#include "webkit/forms/form_field.h"
#include "webkit/forms/password_form_dom_manager.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebAutofillClient.h"
using base::TimeTicks;
using content::BrowserThread;
@@ -478,7 +479,7 @@ void AutofillManager::OnQueryFormFieldAutofill(int query_id,
values.assign(1, l10n_util::GetStringUTF16(warning));
labels.assign(1, string16());
icons.assign(1, string16());
- unique_ids.assign(1, -1);
+ unique_ids.assign(1, WebKit::WarningMessageMenuItemID);
} else {
bool section_is_autofilled =
SectionIsAutofilled(*form_structure, form,

Powered by Google App Engine
This is Rietveld 408576698