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

Unified Diff: components/autofill/core/browser/autofill_manager.h

Issue 133893004: Allow deleting autofill password suggestions on Shift+Delete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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/core/browser/autofill_manager.h
diff --git a/components/autofill/core/browser/autofill_manager.h b/components/autofill/core/browser/autofill_manager.h
index 735f18a29950f957c013e2a364f46ba2c6428880..c7c3b9b0f6531259453817f0f2be54011bcb3550 100644
--- a/components/autofill/core/browser/autofill_manager.h
+++ b/components/autofill/core/browser/autofill_manager.h
@@ -26,10 +26,14 @@
#include "components/autofill/core/browser/personal_data_manager.h"
#include "components/autofill/core/common/form_data.h"
#include "components/autofill/core/common/forms_seen_state.h"
-#include "third_party/WebKit/public/web/WebFormElement.h"
+#include "third_party/WebKit/public/web/WebFormControlElement.h"
vabr (Chromium) 2014/01/10 18:40:00 Do not include WebFormControllElement.h, when you
class GURL;
+namespace blink {
+class WebFormElement;
+}
+
namespace content {
class RenderViewHost;
class WebContents;
@@ -135,6 +139,7 @@ class AutofillManager : public AutofillDownloadManager::Observer {
void OnQueryFormFieldAutofill(int query_id,
const FormData& form,
const FormFieldData& field,
+ const blink::WebFormElement& webformelement,
const gfx::RectF& bounding_box,
bool display_warning);
void OnDidEndTextFieldEditing();
@@ -144,6 +149,7 @@ class AutofillManager : public AutofillDownloadManager::Observer {
const PasswordFormFillData& fill_data);
void OnShowPasswordSuggestions(
const FormFieldData& field,
+ const blink::WebFormElement& element,
const gfx::RectF& bounds,
const std::vector<base::string16>& suggestions,
const std::vector<base::string16>& realms);

Powered by Google App Engine
This is Rietveld 408576698