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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_view.h

Issue 11231063: [views] "Hello, world" autofill imperative API dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile 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: chrome/browser/ui/autofill/autofill_dialog_view.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_view.h b/chrome/browser/ui/autofill/autofill_dialog_view.h
new file mode 100644
index 0000000000000000000000000000000000000000..9c220f9c23daa03614897754e6632f19fa4ddc2c
--- /dev/null
+++ b/chrome/browser/ui/autofill/autofill_dialog_view.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2012 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 CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_
+#define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_
+
+class AutofillDialogController;
+
+// An interface for the dialog that appears when a site initiates an Autofill
+// action via the imperative autocomplete API.
+class AutofillDialogView {
+ public:
+ virtual ~AutofillDialogView();
+
+ // Shows the dialog.
+ virtual void Show() = 0;
+
+ // Factory function to create the dialog (implemented once per view
+ // implementation). |controller| will own the created dialog.
+ static AutofillDialogView* Create(AutofillDialogController* controller);
+};
+
+#endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller.cc ('k') | chrome/browser/ui/autofill/autofill_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698