| Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| index 32d1383c2779b1a94df1cd7db5ac565f85d1f0ec..e4b8cb22f1f9e6d03b52d637f5be9f17ff17da27 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
|
| @@ -464,6 +464,7 @@ AutofillDialogControllerImpl::~AutofillDialogControllerImpl() {
|
| }
|
| }
|
|
|
| +#if !defined(OS_ANDROID)
|
| // static
|
| base::WeakPtr<AutofillDialogControllerImpl>
|
| AutofillDialogControllerImpl::Create(
|
| @@ -482,6 +483,7 @@ base::WeakPtr<AutofillDialogControllerImpl>
|
| callback);
|
| return autofill_dialog_controller->weak_ptr_factory_.GetWeakPtr();
|
| }
|
| +#endif // !defined(OS_ANDROID)
|
|
|
| // static
|
| void AutofillDialogControllerImpl::RegisterProfilePrefs(
|
| @@ -1228,13 +1230,6 @@ ui::MenuModel* AutofillDialogControllerImpl::MenuModelForSection(
|
| return NULL;
|
| }
|
|
|
| -#if defined(OS_ANDROID)
|
| -ui::MenuModel* AutofillDialogControllerImpl::MenuModelForSectionHack(
|
| - DialogSection section) {
|
| - return SuggestionsMenuModelForSection(section);
|
| -}
|
| -#endif
|
| -
|
| ui::MenuModel* AutofillDialogControllerImpl::MenuModelForAccountChooser() {
|
| // If there were unrecoverable Wallet errors, or if there are choices other
|
| // than "Pay without the wallet", show the full menu.
|
| @@ -2400,9 +2395,6 @@ void AutofillDialogControllerImpl::LoadRiskFingerprintData() {
|
| gfx::Rect window_bounds;
|
| #if !defined(OS_ANDROID)
|
| window_bounds = GetBaseWindowForWebContents(web_contents())->GetBounds();
|
| -#else
|
| - // TODO(dbeam): figure out the correct browser window size to pass along for
|
| - // android.
|
| #endif
|
|
|
| PrefService* user_prefs = profile_->GetPrefs();
|
| @@ -2440,8 +2432,6 @@ void AutofillDialogControllerImpl::OpenTabWithUrl(const GURL& url) {
|
| content::PAGE_TRANSITION_AUTO_BOOKMARK);
|
| params.disposition = NEW_FOREGROUND_TAB;
|
| chrome::Navigate(¶ms);
|
| -#else
|
| - // TODO(estade): use TabModelList?
|
| #endif
|
| }
|
|
|
|
|