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

Side by Side Diff: chrome/browser/ui/autofill/mock_autofill_dialog_controller.cc

Issue 19287006: [rAC, OSX] "Save In Chrome" checkbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/mock_autofill_dialog_controller.h ('k') | chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698