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

Side by Side Diff: chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h

Issue 21692002: Rename AutofillDialogController to AutofillDialogViewDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 4 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 #ifndef CHROME_BROWSER_UI_AUTOFILL_MOCK_AUTOFILL_DIALOG_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_MOCK_AUTOFILL_DIALOG_VIEW_DELEGATE_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_MOCK_AUTOFILL_DIALOG_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_MOCK_AUTOFILL_DIALOG_VIEW_DELEGATE_H_
7 7
8 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" 8 #include "chrome/browser/ui/autofill/autofill_dialog_view_delegate.h"
9 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
10 10
11 namespace autofill { 11 namespace autofill {
12 12
13 class MockAutofillDialogController : public AutofillDialogController { 13 class MockAutofillDialogViewDelegate : public AutofillDialogViewDelegate {
14 public: 14 public:
15 MockAutofillDialogController(); 15 MockAutofillDialogViewDelegate();
16 virtual ~MockAutofillDialogController(); 16 virtual ~MockAutofillDialogViewDelegate();
17 17
18 MOCK_CONST_METHOD0(DialogTitle, string16()); 18 MOCK_CONST_METHOD0(DialogTitle, string16());
19 MOCK_CONST_METHOD0(AccountChooserText, string16()); 19 MOCK_CONST_METHOD0(AccountChooserText, string16());
20 MOCK_CONST_METHOD0(SignInLinkText, string16()); 20 MOCK_CONST_METHOD0(SignInLinkText, string16());
21 MOCK_CONST_METHOD0(EditSuggestionText, string16()); 21 MOCK_CONST_METHOD0(EditSuggestionText, string16());
22 MOCK_CONST_METHOD0(CancelButtonText, string16()); 22 MOCK_CONST_METHOD0(CancelButtonText, string16());
23 MOCK_CONST_METHOD0(ConfirmButtonText, string16()); 23 MOCK_CONST_METHOD0(ConfirmButtonText, string16());
24 MOCK_CONST_METHOD0(SaveLocallyText, string16()); 24 MOCK_CONST_METHOD0(SaveLocallyText, string16());
25 MOCK_METHOD0(LegalDocumentsText, string16()); 25 MOCK_METHOD0(LegalDocumentsText, string16());
26 MOCK_CONST_METHOD0(SignedInState, DialogSignedInState()); 26 MOCK_CONST_METHOD0(SignedInState, DialogSignedInState());
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 MOCK_METHOD0(profile, Profile*()); 76 MOCK_METHOD0(profile, Profile*());
77 MOCK_METHOD0(web_contents, content::WebContents*()); 77 MOCK_METHOD0(web_contents, content::WebContents*());
78 private: 78 private:
79 DetailInputs default_inputs_; 79 DetailInputs default_inputs_;
80 DetailInputs cc_default_inputs_; // Default inputs for SECTION_CC. 80 DetailInputs cc_default_inputs_; // Default inputs for SECTION_CC.
81 std::vector<ui::Range> range_; 81 std::vector<ui::Range> range_;
82 }; 82 };
83 83
84 } // namespace autofill 84 } // namespace autofill
85 85
86 #endif // CHROME_BROWSER_UI_AUTOFILL_MOCK_AUTOFILL_DIALOG_CONTROLLER_H_ 86 #endif // CHROME_BROWSER_UI_AUTOFILL_MOCK_AUTOFILL_DIALOG_VIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698