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

Unified Diff: chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h

Issue 24012002: Move Range code to gfx. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: d Created 7 years, 3 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_view_delegate.h
diff --git a/chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h b/chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h
index c309cbaf97d44129c775e6f517778df22821899a..b65ecda60d94e1be22e9166a41f078b83fc9ee70 100644
--- a/chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h
+++ b/chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h
@@ -36,7 +36,7 @@ class MockAutofillDialogViewDelegate : public AutofillDialogViewDelegate {
MOCK_CONST_METHOD0(GetDialogButtons, int());
MOCK_CONST_METHOD1(IsDialogButtonEnabled, bool(ui::DialogButton button));
MOCK_CONST_METHOD0(GetDialogOverlay, DialogOverlayState());
- MOCK_METHOD0(LegalDocumentLinks, const std::vector<ui::Range>&());
+ MOCK_METHOD0(LegalDocumentLinks, const std::vector<gfx::Range>&());
MOCK_CONST_METHOD1(SectionIsActive, bool(DialogSection));
MOCK_CONST_METHOD1(RequestedFieldsForSection,
const DetailInputs&(DialogSection));
@@ -69,7 +69,7 @@ class MockAutofillDialogViewDelegate : public AutofillDialogViewDelegate {
MOCK_METHOD0(SignInLinkClicked, void());
MOCK_METHOD2(NotificationCheckboxStateChanged,
void(DialogNotification::Type, bool));
- MOCK_METHOD1(LegalDocumentLinkClicked, void(const ui::Range&));
+ MOCK_METHOD1(LegalDocumentLinkClicked, void(const gfx::Range&));
MOCK_METHOD0(OverlayButtonPressed, void());
MOCK_METHOD0(OnCancel, bool());
MOCK_METHOD0(OnAccept, bool());
@@ -78,7 +78,7 @@ class MockAutofillDialogViewDelegate : public AutofillDialogViewDelegate {
private:
DetailInputs default_inputs_;
DetailInputs cc_default_inputs_; // Default inputs for SECTION_CC.
- std::vector<ui::Range> range_;
+ std::vector<gfx::Range> range_;
};
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698