OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" | 10 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 virtual void UpdateSection(DialogSection section) OVERRIDE; | 70 virtual void UpdateSection(DialogSection section) OVERRIDE; |
71 virtual void GetUserInput(DialogSection section, | 71 virtual void GetUserInput(DialogSection section, |
72 DetailOutputMap* output) OVERRIDE; | 72 DetailOutputMap* output) OVERRIDE; |
73 virtual string16 GetCvc() OVERRIDE; | 73 virtual string16 GetCvc() OVERRIDE; |
74 virtual bool UseBillingForShipping() OVERRIDE; | 74 virtual bool UseBillingForShipping() OVERRIDE; |
75 virtual bool SaveDetailsLocally() OVERRIDE; | 75 virtual bool SaveDetailsLocally() OVERRIDE; |
76 virtual const content::NavigationController& ShowSignIn() OVERRIDE; | 76 virtual const content::NavigationController& ShowSignIn() OVERRIDE; |
77 virtual void HideSignIn() OVERRIDE; | 77 virtual void HideSignIn() OVERRIDE; |
78 virtual void UpdateProgressBar(double value) OVERRIDE; | 78 virtual void UpdateProgressBar(double value) OVERRIDE; |
79 virtual void ModelChanged() OVERRIDE; | 79 virtual void ModelChanged() OVERRIDE; |
| 80 virtual void SubmitForTesting() OVERRIDE; |
| 81 virtual void CancelForTesting() OVERRIDE; |
80 | 82 |
81 // views::DialogDelegate implementation: | 83 // views::DialogDelegate implementation: |
82 virtual string16 GetWindowTitle() const OVERRIDE; | 84 virtual string16 GetWindowTitle() const OVERRIDE; |
83 virtual void WindowClosing() OVERRIDE; | 85 virtual void WindowClosing() OVERRIDE; |
84 virtual void DeleteDelegate() OVERRIDE; | 86 virtual void DeleteDelegate() OVERRIDE; |
85 virtual views::Widget* GetWidget() OVERRIDE; | 87 virtual views::Widget* GetWidget() OVERRIDE; |
86 virtual const views::Widget* GetWidget() const OVERRIDE; | 88 virtual const views::Widget* GetWidget() const OVERRIDE; |
87 virtual views::View* GetContentsView() OVERRIDE; | 89 virtual views::View* GetContentsView() OVERRIDE; |
88 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; | 90 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; |
89 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; | 91 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 | 384 |
383 // The focus manager for |window_|. | 385 // The focus manager for |window_|. |
384 views::FocusManager* focus_manager_; | 386 views::FocusManager* focus_manager_; |
385 | 387 |
386 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); | 388 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); |
387 }; | 389 }; |
388 | 390 |
389 } // namespace autofill | 391 } // namespace autofill |
390 | 392 |
391 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 393 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
OLD | NEW |