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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.cc

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/views/autofill/autofill_dialog_views.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
index 9aad87799a30bdebc814ac597a9f410aeda8e0f8..137351a036e50463baf5f4c5bd79d2a94562de1a 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
@@ -1321,7 +1321,7 @@ void AutofillDialogViews::UpdateAccountChooser() {
legal_document_view_->SetText(text);
if (!text.empty()) {
- const std::vector<ui::Range>& link_ranges =
+ const std::vector<gfx::Range>& link_ranges =
delegate_->LegalDocumentLinks();
for (size_t i = 0; i < link_ranges.size(); ++i) {
legal_document_view_->AddStyleRange(
@@ -1727,7 +1727,7 @@ void AutofillDialogViews::OnSelectedIndexChanged(views::Combobox* combobox) {
ValidateGroup(*group, VALIDATE_EDIT);
}
-void AutofillDialogViews::StyledLabelLinkClicked(const ui::Range& range,
+void AutofillDialogViews::StyledLabelLinkClicked(const gfx::Range& range,
int event_flags) {
delegate_->LegalDocumentLinkClicked(range);
}

Powered by Google App Engine
This is Rietveld 408576698