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

Unified Diff: chrome/browser/ui/autofill/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/autofill_dialog_view_delegate.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_view_delegate.h b/chrome/browser/ui/autofill/autofill_dialog_view_delegate.h
index 7b6af662f56a6e9bd55f98868d2cc19ad86186b8..8d5ad98fe1df3463ccb46740c2522fa2217fb071 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_view_delegate.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_view_delegate.h
@@ -11,10 +11,10 @@
#include "chrome/browser/ui/autofill/autofill_dialog_types.h"
#include "components/autofill/content/browser/wallet/required_action.h"
#include "components/autofill/core/browser/field_types.h"
-#include "ui/base/range/range.h"
#include "ui/base/ui_base_types.h"
#include "ui/gfx/image/image.h"
#include "ui/gfx/native_widget_types.h"
+#include "ui/gfx/range/range.h"
class Profile;
@@ -88,7 +88,7 @@ class AutofillDialogViewDelegate {
virtual DialogOverlayState GetDialogOverlay() const = 0;
// Returns ranges to linkify in the text returned by |LegalDocumentsText()|.
- virtual const std::vector<ui::Range>& LegalDocumentLinks() = 0;
+ virtual const std::vector<gfx::Range>& LegalDocumentLinks() = 0;
// Detail inputs -------------------------------------------------------------
@@ -178,7 +178,7 @@ class AutofillDialogViewDelegate {
bool checked) = 0;
// A legal document link has been clicked.
- virtual void LegalDocumentLinkClicked(const ui::Range& range) = 0;
+ virtual void LegalDocumentLinkClicked(const gfx::Range& range) = 0;
// Called when the view has been cancelled. Returns true if the dialog should
// now close, or false to keep it open.

Powered by Google App Engine
This is Rietveld 408576698