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_ |