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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 virtual void UpdateAccountChooser() OVERRIDE; | 67 virtual void UpdateAccountChooser() OVERRIDE; |
68 virtual void UpdateNotificationArea() OVERRIDE; | 68 virtual void UpdateNotificationArea() OVERRIDE; |
69 virtual void UpdateSection(DialogSection section) OVERRIDE; | 69 virtual void UpdateSection(DialogSection section) OVERRIDE; |
70 virtual void GetUserInput(DialogSection section, | 70 virtual void GetUserInput(DialogSection section, |
71 DetailOutputMap* output) OVERRIDE; | 71 DetailOutputMap* output) OVERRIDE; |
72 virtual bool UseBillingForShipping() OVERRIDE; | 72 virtual bool UseBillingForShipping() OVERRIDE; |
73 virtual bool SaveDetailsLocally() OVERRIDE; | 73 virtual bool SaveDetailsLocally() OVERRIDE; |
74 virtual const content::NavigationController& ShowSignIn() OVERRIDE; | 74 virtual const content::NavigationController& ShowSignIn() OVERRIDE; |
75 virtual void HideSignIn() OVERRIDE; | 75 virtual void HideSignIn() OVERRIDE; |
76 virtual void UpdateProgressBar(double value) OVERRIDE; | 76 virtual void UpdateProgressBar(double value) OVERRIDE; |
| 77 virtual void SubmitForTesting() OVERRIDE; |
| 78 virtual void CancelForTesting() OVERRIDE; |
77 | 79 |
78 // views::DialogDelegate implementation: | 80 // views::DialogDelegate implementation: |
79 virtual string16 GetWindowTitle() const OVERRIDE; | 81 virtual string16 GetWindowTitle() const OVERRIDE; |
80 virtual void WindowClosing() OVERRIDE; | 82 virtual void WindowClosing() OVERRIDE; |
81 virtual void DeleteDelegate() OVERRIDE; | 83 virtual void DeleteDelegate() OVERRIDE; |
82 virtual views::Widget* GetWidget() OVERRIDE; | 84 virtual views::Widget* GetWidget() OVERRIDE; |
83 virtual const views::Widget* GetWidget() const OVERRIDE; | 85 virtual const views::Widget* GetWidget() const OVERRIDE; |
84 virtual views::View* GetContentsView() OVERRIDE; | 86 virtual views::View* GetContentsView() OVERRIDE; |
85 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; | 87 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; |
86 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; | 88 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 | 365 |
364 // The focus manager for |window_|. | 366 // The focus manager for |window_|. |
365 views::FocusManager* focus_manager_; | 367 views::FocusManager* focus_manager_; |
366 | 368 |
367 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); | 369 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); |
368 }; | 370 }; |
369 | 371 |
370 } // namespace autofill | 372 } // namespace autofill |
371 | 373 |
372 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 374 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
OLD | NEW |