OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #include "chrome/browser/ui/autofill/mock_autofill_dialog_controller.h" | 5 #include "chrome/browser/ui/autofill/mock_autofill_dialog_controller.h" |
6 #include "grit/generated_resources.h" | 6 #include "grit/generated_resources.h" |
7 #include "testing/gmock/include/gmock/gmock.h" | 7 #include "testing/gmock/include/gmock/gmock.h" |
8 | 8 |
9 namespace autofill { | 9 namespace autofill { |
10 | 10 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 } | 68 } |
69 | 69 |
70 DialogSignedInState MockAutofillDialogController::SignedInState() const { | 70 DialogSignedInState MockAutofillDialogController::SignedInState() const { |
71 return REQUIRES_RESPONSE; | 71 return REQUIRES_RESPONSE; |
72 } | 72 } |
73 | 73 |
74 bool MockAutofillDialogController::ShouldShowSpinner() const { | 74 bool MockAutofillDialogController::ShouldShowSpinner() const { |
75 return false; | 75 return false; |
76 } | 76 } |
77 | 77 |
78 bool MockAutofillDialogController::ShouldOfferToSaveInChrome() const { | |
79 return false; | |
80 } | |
81 | |
82 gfx::Image MockAutofillDialogController::AccountChooserImage() { | 78 gfx::Image MockAutofillDialogController::AccountChooserImage() { |
83 return gfx::Image(); | 79 return gfx::Image(); |
84 } | 80 } |
85 | 81 |
86 bool MockAutofillDialogController::ShouldShowDetailArea() const { | 82 bool MockAutofillDialogController::ShouldShowDetailArea() const { |
87 return false; | 83 return false; |
88 } | 84 } |
89 | 85 |
90 bool MockAutofillDialogController::ShouldShowProgressBar() const { | 86 bool MockAutofillDialogController::ShouldShowProgressBar() const { |
91 return false; | 87 return false; |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 | 181 |
186 void MockAutofillDialogController::OnCancel() {} | 182 void MockAutofillDialogController::OnCancel() {} |
187 | 183 |
188 void MockAutofillDialogController::OnAccept() {} | 184 void MockAutofillDialogController::OnAccept() {} |
189 | 185 |
190 content::WebContents* MockAutofillDialogController::web_contents() { | 186 content::WebContents* MockAutofillDialogController::web_contents() { |
191 return NULL; | 187 return NULL; |
192 } | 188 } |
193 | 189 |
194 } // namespace autofill | 190 } // namespace autofill |
OLD | NEW |