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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.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/autofill_dialog_controller_impl.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
index acc4a2c5aec1b6f79c1a095fc8c962536dd25f6b..e09036dbd5d410c5a72224ec586b7c6f37341fd0 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -119,7 +119,7 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
virtual int GetDialogButtons() const OVERRIDE;
virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE;
virtual DialogOverlayState GetDialogOverlay() const OVERRIDE;
- virtual const std::vector<ui::Range>& LegalDocumentLinks() OVERRIDE;
+ virtual const std::vector<gfx::Range>& LegalDocumentLinks() OVERRIDE;
virtual bool SectionIsActive(DialogSection section) const OVERRIDE;
virtual const DetailInputs& RequestedFieldsForSection(DialogSection section)
const OVERRIDE;
@@ -154,7 +154,7 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
virtual void SignInLinkClicked() OVERRIDE;
virtual void NotificationCheckboxStateChanged(DialogNotification::Type type,
bool checked) OVERRIDE;
- virtual void LegalDocumentLinkClicked(const ui::Range& range) OVERRIDE;
+ virtual void LegalDocumentLinkClicked(const gfx::Range& range) OVERRIDE;
virtual bool OnCancel() OVERRIDE;
virtual bool OnAccept() OVERRIDE;
virtual Profile* profile() OVERRIDE;
@@ -610,7 +610,7 @@ class AutofillDialogControllerImpl : public AutofillDialogViewDelegate,
// The text to display when the user is accepting new terms of service, etc.
string16 legal_documents_text_;
// The ranges within |legal_documents_text_| to linkify.
- std::vector<ui::Range> legal_document_link_ranges_;
+ std::vector<gfx::Range> legal_document_link_ranges_;
// The instrument and address IDs from the Online Wallet server to be used
// when getting a full wallet.

Powered by Google App Engine
This is Rietveld 408576698