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

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

Issue 23033016: Remove autocheckout code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing compile failures and tests. 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_VIEW_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_MOCK_AUTOFILL_DIALOG_VIEW_DELEGATE_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_MOCK_AUTOFILL_DIALOG_VIEW_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_MOCK_AUTOFILL_DIALOG_VIEW_DELEGATE_H_
7 7
8 #include "chrome/browser/ui/autofill/autofill_dialog_view_delegate.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
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 gfx::NativeView, 58 gfx::NativeView,
59 const gfx::Rect&, 59 const gfx::Rect&,
60 const string16&, 60 const string16&,
61 bool was_edit)); 61 bool was_edit));
62 MOCK_METHOD1(HandleKeyPressEventInInput, 62 MOCK_METHOD1(HandleKeyPressEventInInput,
63 bool(const content::NativeWebKeyboardEvent& event)); 63 bool(const content::NativeWebKeyboardEvent& event));
64 MOCK_METHOD0(FocusMoved, void()); 64 MOCK_METHOD0(FocusMoved, void());
65 MOCK_CONST_METHOD0(SplashPageImage, gfx::Image()); 65 MOCK_CONST_METHOD0(SplashPageImage, gfx::Image());
66 MOCK_METHOD0(ViewClosed, void()); 66 MOCK_METHOD0(ViewClosed, void());
67 MOCK_METHOD0(CurrentNotifications,std::vector<DialogNotification>()); 67 MOCK_METHOD0(CurrentNotifications,std::vector<DialogNotification>());
68 MOCK_CONST_METHOD0(CurrentAutocheckoutSteps,
69 std::vector<DialogAutocheckoutStep>());
70 MOCK_METHOD0(SignInLinkClicked, void()); 68 MOCK_METHOD0(SignInLinkClicked, void());
71 MOCK_METHOD2(NotificationCheckboxStateChanged, 69 MOCK_METHOD2(NotificationCheckboxStateChanged,
72 void(DialogNotification::Type, bool)); 70 void(DialogNotification::Type, bool));
73 MOCK_METHOD1(LegalDocumentLinkClicked, void(const ui::Range&)); 71 MOCK_METHOD1(LegalDocumentLinkClicked, void(const ui::Range&));
74 MOCK_METHOD0(OverlayButtonPressed, void()); 72 MOCK_METHOD0(OverlayButtonPressed, void());
75 MOCK_METHOD0(OnCancel, bool()); 73 MOCK_METHOD0(OnCancel, bool());
76 MOCK_METHOD0(OnAccept, bool()); 74 MOCK_METHOD0(OnAccept, bool());
77 MOCK_METHOD0(profile, Profile*()); 75 MOCK_METHOD0(profile, Profile*());
78 MOCK_METHOD0(GetWebContents, content::WebContents*()); 76 MOCK_METHOD0(GetWebContents, content::WebContents*());
79 private: 77 private:
80 DetailInputs default_inputs_; 78 DetailInputs default_inputs_;
81 DetailInputs cc_default_inputs_; // Default inputs for SECTION_CC. 79 DetailInputs cc_default_inputs_; // Default inputs for SECTION_CC.
82 std::vector<ui::Range> range_; 80 std::vector<ui::Range> range_;
83 }; 81 };
84 82
85 } // namespace autofill 83 } // namespace autofill
86 84
87 #endif // CHROME_BROWSER_UI_AUTOFILL_MOCK_AUTOFILL_DIALOG_VIEW_DELEGATE_H_ 85 #endif // CHROME_BROWSER_UI_AUTOFILL_MOCK_AUTOFILL_DIALOG_VIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698