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

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

Issue 11821020: Chrome-side implementation of AutocompleteErrorEvent#reason. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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
« no previous file with comments | « no previous file | chrome/browser/autofill/autofill_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_manager.h
diff --git a/chrome/browser/autofill/autofill_manager.h b/chrome/browser/autofill/autofill_manager.h
index 8318480bb84831b5b06d4a4556ca38c33c314fc9..64b01f49257bd9c592da8c2a98cc752ad487c001 100644
--- a/chrome/browser/autofill/autofill_manager.h
+++ b/chrome/browser/autofill/autofill_manager.h
@@ -28,6 +28,7 @@
#include "chrome/browser/autofill/personal_data_manager.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/common/ssl_status.h"
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebFormElement.h"
class AutofillExternalDelegate;
class AutofillField;
@@ -170,9 +171,10 @@ class AutofillManager : public content::WebContentsObserver,
bool OnFormSubmitted(const FormData& form,
const base::TimeTicks& timestamp);
- // Tell the renderer the current interactive autocomplete failed somehow.
- // Exposed for testing.
- virtual void ReturnAutocompleteError();
+ // Tell the renderer the current interactive autocomplete finished.
+ virtual void ReturnAutocompleteResult(
+ WebKit::WebFormElement::AutocompleteResult result,
+ const FormData& form_data);
private:
// content::WebContentsObserver:
« no previous file with comments | « no previous file | chrome/browser/autofill/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698