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

Unified Diff: Source/core/html/HTMLFormElement.cpp

Issue 214823008: Add transaction detail params to requestAutocomplete(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: sync Created 6 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
« no previous file with comments | « Source/core/html/HTMLFormElement.h ('k') | Source/core/html/HTMLFormElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFormElement.cpp
diff --git a/Source/core/html/HTMLFormElement.cpp b/Source/core/html/HTMLFormElement.cpp
index 0025c64b8cc6a13ad438fdc45e040f2378e4ae41..5eea4a6a8b5a8f962f7541031bfea30f69809f5f 100644
--- a/Source/core/html/HTMLFormElement.cpp
+++ b/Source/core/html/HTMLFormElement.cpp
@@ -27,6 +27,7 @@
#include <limits>
#include "HTMLNames.h"
+#include "bindings/v8/Dictionary.h"
#include "bindings/v8/ScriptController.h"
#include "bindings/v8/ScriptEventListener.h"
#include "core/dom/Attribute.h"
@@ -425,12 +426,12 @@ void HTMLFormElement::reset()
m_isInResetFunction = false;
}
-void HTMLFormElement::requestAutocomplete()
+void HTMLFormElement::requestAutocomplete(const Dictionary& details)
{
if (!document().frame() || !shouldAutocomplete() || !UserGestureIndicator::processingUserGesture())
finishRequestAutocomplete(AutocompleteResultErrorDisabled);
else
- document().frame()->loader().client()->didRequestAutocomplete(this);
+ document().frame()->loader().client()->didRequestAutocomplete(this, details);
}
void HTMLFormElement::finishRequestAutocomplete(AutocompleteResult result)
« no previous file with comments | « Source/core/html/HTMLFormElement.h ('k') | Source/core/html/HTMLFormElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698