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

Unified Diff: chrome/browser/ui/autofill/generated_credit_card_bubble_controller.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/generated_credit_card_bubble_controller.h
diff --git a/chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h b/chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h
index 89dff3ec860f2ea39314d065472bd62d291fda9d..bdb1614de8ac79aaabffe8884faf19542cf084a1 100644
--- a/chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h
+++ b/chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h
@@ -13,8 +13,8 @@
#include "base/strings/string16.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/browser/web_contents_user_data.h"
-#include "ui/base/range/range.h"
#include "ui/gfx/image/image.h"
+#include "ui/gfx/range/range.h"
namespace content {
class WebContents;
@@ -33,7 +33,7 @@ class GeneratedCreditCardBubbleView;
// If |is_link| is false, the text denoted by |range| should be bolded.
struct TextRange {
// The range of text this TextRange applies to (start and end).
- ui::Range range;
+ gfx::Range range;
// Whether this text range should be styled like a link (e.g. clickable).
bool is_link;
// An equality operator for testing.

Powered by Google App Engine
This is Rietveld 408576698