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

Unified Diff: content/common/mac/attributed_string_coder.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
« no previous file with comments | « content/common/content_param_traits.cc ('k') | content/common/mac/attributed_string_coder.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/mac/attributed_string_coder.h
diff --git a/content/common/mac/attributed_string_coder.h b/content/common/mac/attributed_string_coder.h
index c3b3e9d5dc9c9b8ad980db3a7e284d4c84060405..629beedff4ead5360ad03393435f8eb9c6d12fd9 100644
--- a/content/common/mac/attributed_string_coder.h
+++ b/content/common/mac/attributed_string_coder.h
@@ -11,7 +11,7 @@
#include "content/common/content_export.h"
#include "content/common/mac/font_descriptor.h"
#include "ipc/ipc_message_utils.h"
-#include "ui/base/range/range.h"
+#include "ui/gfx/range/range.h"
#if __OBJC__
@class NSAttributedString;
@@ -35,8 +35,8 @@ class CONTENT_EXPORT AttributedStringCoder {
// set.
class FontAttribute {
public:
- FontAttribute(NSDictionary* ns_attributes, ui::Range effective_range);
- FontAttribute(FontDescriptor font, ui::Range range);
+ FontAttribute(NSDictionary* ns_attributes, gfx::Range effective_range);
+ FontAttribute(FontDescriptor font, gfx::Range range);
FontAttribute();
~FontAttribute();
@@ -51,11 +51,11 @@ class CONTENT_EXPORT AttributedStringCoder {
// Accessors:
FontDescriptor font_descriptor() const { return font_descriptor_; }
- ui::Range effective_range() const { return effective_range_; }
+ gfx::Range effective_range() const { return effective_range_; }
private:
FontDescriptor font_descriptor_;
- ui::Range effective_range_;
+ gfx::Range effective_range_;
};
// A class that contains the pertinent information from an NSAttributedString,
« no previous file with comments | « content/common/content_param_traits.cc ('k') | content/common/mac/attributed_string_coder.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698