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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_types.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_types.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_types.h b/chrome/browser/ui/autofill/autofill_dialog_types.h
index 8b0fdb48078dc19e5514bf53f1087dcd99a9538c..d19e25317434e54f08d7b15d549b52fd6a912846 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_types.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_types.h
@@ -14,9 +14,9 @@
#include "components/autofill/core/browser/autofill_metrics.h"
#include "components/autofill/core/browser/field_types.h"
#include "third_party/skia/include/core/SkColor.h"
-#include "ui/base/range/range.h"
#include "ui/gfx/font.h"
#include "ui/gfx/image/image.h"
+#include "ui/gfx/range/range.h"
#include "ui/gfx/text_constants.h"
#include "url/gurl.h"
@@ -116,7 +116,7 @@ class DialogNotification {
void set_link_url(const GURL& link_url) { link_url_ = link_url; }
const GURL& link_url() const { return link_url_; }
- const ui::Range& link_range() const { return link_range_; }
+ const gfx::Range& link_range() const { return link_range_; }
void set_tooltip_text(const string16& tooltip_text) {
tooltip_text_ = tooltip_text;
@@ -136,7 +136,7 @@ class DialogNotification {
// If the notification includes a link, these describe the destination and
// which part of |display_text_| is the anchor text.
GURL link_url_;
- ui::Range link_range_;
+ gfx::Range link_range_;
// When non-empty, indicates that a tooltip should be shown on the end of
// the notification.
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc ('k') | chrome/browser/ui/autofill/autofill_dialog_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698