Chromium Code Reviews| 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_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 24 #include "components/autofill/content/browser/wallet/wallet_client_delegate.h" | 24 #include "components/autofill/content/browser/wallet/wallet_client_delegate.h" |
| 25 #include "components/autofill/content/browser/wallet/wallet_items.h" | 25 #include "components/autofill/content/browser/wallet/wallet_items.h" |
| 26 #include "components/autofill/content/browser/wallet/wallet_signin_helper_delega te.h" | 26 #include "components/autofill/content/browser/wallet/wallet_signin_helper_delega te.h" |
| 27 #include "components/autofill/core/browser/autofill_manager_delegate.h" | 27 #include "components/autofill/core/browser/autofill_manager_delegate.h" |
| 28 #include "components/autofill/core/browser/autofill_metrics.h" | 28 #include "components/autofill/core/browser/autofill_metrics.h" |
| 29 #include "components/autofill/core/browser/autofill_popup_delegate.h" | 29 #include "components/autofill/core/browser/autofill_popup_delegate.h" |
| 30 #include "components/autofill/core/browser/field_types.h" | 30 #include "components/autofill/core/browser/field_types.h" |
| 31 #include "components/autofill/core/browser/form_structure.h" | 31 #include "components/autofill/core/browser/form_structure.h" |
| 32 #include "components/autofill/core/browser/personal_data_manager.h" | 32 #include "components/autofill/core/browser/personal_data_manager.h" |
| 33 #include "components/autofill/core/browser/personal_data_manager_observer.h" | 33 #include "components/autofill/core/browser/personal_data_manager_observer.h" |
| 34 #include "components/autofill/core/browser/validation_downloader.h" | |
| 34 #include "content/public/browser/notification_observer.h" | 35 #include "content/public/browser/notification_observer.h" |
| 35 #include "content/public/browser/notification_registrar.h" | 36 #include "content/public/browser/notification_registrar.h" |
| 36 #include "content/public/browser/web_contents_observer.h" | 37 #include "content/public/browser/web_contents_observer.h" |
| 37 #include "content/public/common/ssl_status.h" | 38 #include "content/public/common/ssl_status.h" |
| 38 #include "third_party/skia/include/core/SkColor.h" | 39 #include "third_party/skia/include/core/SkColor.h" |
| 39 #include "ui/base/models/simple_menu_model.h" | 40 #include "ui/base/models/simple_menu_model.h" |
| 40 #include "ui/base/ui_base_types.h" | 41 #include "ui/base/ui_base_types.h" |
| 41 #include "ui/gfx/animation/animation_delegate.h" | 42 #include "ui/gfx/animation/animation_delegate.h" |
| 42 #include "ui/gfx/animation/linear_animation.h" | 43 #include "ui/gfx/animation/linear_animation.h" |
| 43 #include "url/gurl.h" | 44 #include "url/gurl.h" |
| (...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 594 // and also tracks which data source the dialog is using. | 595 // and also tracks which data source the dialog is using. |
| 595 AccountChooserModel account_chooser_model_; | 596 AccountChooserModel account_chooser_model_; |
| 596 | 597 |
| 597 // The sign-in helper to fetch the user's Wallet cookie and to perform passive | 598 // The sign-in helper to fetch the user's Wallet cookie and to perform passive |
| 598 // sign-in. The helper is set only during fetch/sign-in, and NULL otherwise. | 599 // sign-in. The helper is set only during fetch/sign-in, and NULL otherwise. |
| 599 scoped_ptr<wallet::WalletSigninHelper> signin_helper_; | 600 scoped_ptr<wallet::WalletSigninHelper> signin_helper_; |
| 600 | 601 |
| 601 // A client to talk to the Online Wallet API. | 602 // A client to talk to the Online Wallet API. |
| 602 wallet::WalletClient wallet_client_; | 603 wallet::WalletClient wallet_client_; |
| 603 | 604 |
| 605 // Downloads validation rules for address input. New rules are downloaded when | |
| 606 // country is changed. | |
| 607 ValidationDownloader validation_downloader_; | |
|
please use gerrit instead
2013/12/02 17:03:54
This object will be owned by libaddressinput, so t
| |
| 608 | |
| 604 // True if |this| has ever called GetWalletItems(). | 609 // True if |this| has ever called GetWalletItems(). |
| 605 bool wallet_items_requested_; | 610 bool wallet_items_requested_; |
| 606 | 611 |
| 607 // True when the user has clicked the "Use Wallet" link and we're waiting to | 612 // True when the user has clicked the "Use Wallet" link and we're waiting to |
| 608 // figure out whether we need to ask them to actively sign in. | 613 // figure out whether we need to ask them to actively sign in. |
| 609 bool handling_use_wallet_link_click_; | 614 bool handling_use_wallet_link_click_; |
| 610 | 615 |
| 611 // True when the current WalletItems has a passive auth action which was | 616 // True when the current WalletItems has a passive auth action which was |
| 612 // attempted and failed. | 617 // attempted and failed. |
| 613 bool passive_failed_; | 618 bool passive_failed_; |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 763 | 768 |
| 764 // A username string we display in the card scrambling/generated overlay. | 769 // A username string we display in the card scrambling/generated overlay. |
| 765 base::string16 submitted_cardholder_name_; | 770 base::string16 submitted_cardholder_name_; |
| 766 | 771 |
| 767 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); | 772 DISALLOW_COPY_AND_ASSIGN(AutofillDialogControllerImpl); |
| 768 }; | 773 }; |
| 769 | 774 |
| 770 } // namespace autofill | 775 } // namespace autofill |
| 771 | 776 |
| 772 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ | 777 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_IMPL_H_ |
| OLD | NEW |