OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 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 CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_ | |
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_ | |
7 | |
8 class AutofillDialogController; | |
9 | |
10 // 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.
| |
11 // action via the imperative API. | |
12 class AutofillDialogView { | |
13 public: | |
14 virtual ~AutofillDialogView(); | |
15 | |
16 // Shows the dialog. | |
17 virtual void Show() = 0; | |
18 | |
19 // Factory function to create the dialog (implemented once per view | |
20 // implementation). |controller| will own the created dialog. | |
21 static AutofillDialogView* CreateDialog(AutofillDialogController* controller); | |
22 }; | |
23 | |
24 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_H_ | |
OLD | NEW |