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

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: couple of forgotten nits 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..67d36ddd55956f2b43532b5b02849e2d5f20e8df
--- /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
Ilya Sherman 2012/10/23 04:52:29 nit: "autofill" -> "Autofill" (throughout the CL,
Evan Stade 2012/10/23 18:48:04 Done.
+// action via the imperative 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* CreateDialog(AutofillDialogController* controller);
+};
+
+#endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698