Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1933)

Unified Diff: chrome/browser/ui/autofill/mock_autofill_dialog_controller.cc

Issue 18850006: retry r210334 with fix for android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/autofill/mock_autofill_dialog_controller.cc
diff --git a/chrome/browser/ui/autofill/mock_autofill_dialog_controller.cc b/chrome/browser/ui/autofill/mock_autofill_dialog_controller.cc
index 006fa2b82988a01e6cc8d8dca8c25cef342d1826..cb86349daa181b619166689aacdddb09799e9c38 100644
--- a/chrome/browser/ui/autofill/mock_autofill_dialog_controller.cc
+++ b/chrome/browser/ui/autofill/mock_autofill_dialog_controller.cc
@@ -65,6 +65,10 @@ gfx::Image MockAutofillDialogController::AccountChooserImage() {
return gfx::Image();
}
+bool MockAutofillDialogController::ShouldShowDetailArea() const {
+ return false;
+}
+
bool MockAutofillDialogController::ShouldShowProgressBar() const {
return false;
}
@@ -73,15 +77,15 @@ int MockAutofillDialogController::GetDialogButtons() const {
return ui::DIALOG_BUTTON_OK | ui::DIALOG_BUTTON_CANCEL;
}
-bool MockAutofillDialogController::ShouldShowDetailArea() const {
- return false;
-}
-
bool MockAutofillDialogController::IsDialogButtonEnabled(
ui::DialogButton button) const {
return false;
}
+DialogOverlayState MockAutofillDialogController::GetDialogOverlay() const {
+ return DialogOverlayState();
+}
+
const std::vector<ui::Range>&
MockAutofillDialogController::LegalDocumentLinks() {
return range_;
@@ -171,6 +175,8 @@ void MockAutofillDialogController::NotificationCheckboxStateChanged(
void MockAutofillDialogController::LegalDocumentLinkClicked(
const ui::Range& range) {}
+void MockAutofillDialogController::OverlayButtonPressed() {}
+
void MockAutofillDialogController::OnCancel() {}
void MockAutofillDialogController::OnAccept() {}

Powered by Google App Engine
This is Rietveld 408576698