Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_RENDERER_AUTOFILL_DISPATCHER_H_ | |
| 6 #define CONTENT_RENDERER_AUTOFILL_DISPATCHER_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "base/memory/scoped_ptr.h" | |
| 10 #include "content/public/renderer/render_view_observer.h" | |
| 11 | |
| 12 class RenderViewImpl; | |
| 13 | |
| 14 // AutofillDispatcher is a delegate for Autofill messages used by | |
| 15 // WebKit. | |
| 16 class AutofillDispatcher : public content::RenderViewObserver { | |
| 17 public: | |
| 18 explicit AutofillDispatcher(RenderViewImpl* render_view); | |
| 19 virtual ~AutofillDispatcher(); | |
| 20 | |
| 21 private: | |
| 22 // RenderView::Observer implementation. | |
| 23 virtual bool OnMessageReceived(const IPC::Message& message); | |
| 24 | |
| 25 // For external autofill selection. | |
| 26 void OnSelectAutofillSuggestionAtIndex(int listIndex); | |
|
Ilya Sherman
2011/10/26 11:09:58
This file should probably be removed, in favor of
| |
| 27 }; | |
| 28 | |
| 29 #endif // CONTENT_RENDERER_GEOLOCATION_DISPATCHER_H_ | |
| OLD | NEW |