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

Unified Diff: content/renderer/render_view_impl.cc

Issue 11270018: [autofill] Adding new API to request an interactive autocomplete UI flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: do a barrel roll! Created 8 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
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index f6ddf8a6f8b1fe87b115a019406773c6c8c6199b..3b9a741f98573099cc02fc7b4fbe02a060c77e01 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2190,6 +2190,12 @@ bool RenderViewImpl::runModalBeforeUnloadDialog(
return success;
}
+void RenderViewImpl::requestAutocomplete(
+ WebFrame* frame, const WebFormElement& form) {
+ FOR_EACH_OBSERVER(
+ RenderViewObserver, observers_, RequestAutocomplete(frame, form));
+}
+
void RenderViewImpl::showContextMenu(
WebFrame* frame, const WebContextMenuData& data) {
// TODO(fsamuel): In the future, we might want the embedder to be able to
« content/public/renderer/render_view_observer.h ('K') | « content/renderer/render_view_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698