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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 string16 GetCvc() OVERRIDE; | 72 virtual string16 GetCvc() OVERRIDE; |
73 virtual bool UseBillingForShipping() OVERRIDE; | 73 virtual bool UseBillingForShipping() OVERRIDE; |
74 virtual bool SaveDetailsLocally() OVERRIDE; | 74 virtual bool SaveDetailsLocally() OVERRIDE; |
75 virtual const content::NavigationController& ShowSignIn() OVERRIDE; | 75 virtual const content::NavigationController& ShowSignIn() OVERRIDE; |
76 virtual void HideSignIn() OVERRIDE; | 76 virtual void HideSignIn() OVERRIDE; |
77 virtual void UpdateProgressBar(double value) OVERRIDE; | 77 virtual void UpdateProgressBar(double value) OVERRIDE; |
| 78 virtual void UpdateFootnote() OVERRIDE; |
78 | 79 |
79 // views::DialogDelegate implementation: | 80 // views::DialogDelegate implementation: |
80 virtual string16 GetWindowTitle() const OVERRIDE; | 81 virtual string16 GetWindowTitle() const OVERRIDE; |
81 virtual void WindowClosing() OVERRIDE; | 82 virtual void WindowClosing() OVERRIDE; |
82 virtual void DeleteDelegate() OVERRIDE; | 83 virtual void DeleteDelegate() OVERRIDE; |
83 virtual views::Widget* GetWidget() OVERRIDE; | 84 virtual views::Widget* GetWidget() OVERRIDE; |
84 virtual const views::Widget* GetWidget() const OVERRIDE; | 85 virtual const views::Widget* GetWidget() const OVERRIDE; |
85 virtual views::View* GetContentsView() OVERRIDE; | 86 virtual views::View* GetContentsView() OVERRIDE; |
86 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; | 87 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; |
87 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; | 88 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 // This checkbox controls whether new details are saved to the Autofill | 364 // This checkbox controls whether new details are saved to the Autofill |
364 // database. It lives in |extra_view_|. | 365 // database. It lives in |extra_view_|. |
365 views::Checkbox* save_in_chrome_checkbox_; | 366 views::Checkbox* save_in_chrome_checkbox_; |
366 | 367 |
367 // View to host |autocheckout_progress_bar_| and its label. | 368 // View to host |autocheckout_progress_bar_| and its label. |
368 views::View* autocheckout_progress_bar_view_; | 369 views::View* autocheckout_progress_bar_view_; |
369 | 370 |
370 // Progress bar for displaying Autocheckout progress. | 371 // Progress bar for displaying Autocheckout progress. |
371 AutocheckoutProgressBar* autocheckout_progress_bar_; | 372 AutocheckoutProgressBar* autocheckout_progress_bar_; |
372 | 373 |
| 374 // View shown when accepting of a new Terms of Service is required. Lives |
| 375 // below the Cancel/Submit buttons. |
| 376 views::View* footnote_view_; |
| 377 |
| 378 views::Link* terms_of_service_link_; |
| 379 views::Link* privacy_policy_link_; |
| 380 |
373 // The focus manager for |window_|. | 381 // The focus manager for |window_|. |
374 views::FocusManager* focus_manager_; | 382 views::FocusManager* focus_manager_; |
375 | 383 |
376 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); | 384 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); |
377 }; | 385 }; |
378 | 386 |
379 } // namespace autofill | 387 } // namespace autofill |
380 | 388 |
381 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ | 389 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ |
OLD | NEW |