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

Unified Diff: content/renderer/autofill_dispatcher.h

Issue 8353025: External autofill delegates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Carnitasify Created 9 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/autofill_dispatcher.h
diff --git a/content/renderer/autofill_dispatcher.h b/content/renderer/autofill_dispatcher.h
new file mode 100644
index 0000000000000000000000000000000000000000..6aeb19f20cdf89b6f64daf9f3416f00902b86477
--- /dev/null
+++ b/content/renderer/autofill_dispatcher.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_RENDERER_AUTOFILL_DISPATCHER_H_
+#define CONTENT_RENDERER_AUTOFILL_DISPATCHER_H_
+#pragma once
+
+#include "base/memory/scoped_ptr.h"
+#include "content/public/renderer/render_view_observer.h"
+
+class RenderViewImpl;
+
+// AutofillDispatcher is a delegate for Autofill messages used by
+// WebKit.
+class AutofillDispatcher : public content::RenderViewObserver {
+ public:
+ explicit AutofillDispatcher(RenderViewImpl* render_view);
+ virtual ~AutofillDispatcher();
+
+ private:
+ // RenderView::Observer implementation.
+ virtual bool OnMessageReceived(const IPC::Message& message);
+
+ // For external autofill selection.
+ void OnSelectAutofillSuggestionAtIndex(int listIndex);
Ilya Sherman 2011/10/26 11:09:58 This file should probably be removed, in favor of
+};
+
+#endif // CONTENT_RENDERER_GEOLOCATION_DISPATCHER_H_

Powered by Google App Engine
This is Rietveld 408576698