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

Unified Diff: ui/views/controls/prefix_selector.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
« no previous file with comments | « ui/views/controls/prefix_selector.h ('k') | ui/views/controls/styled_label.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/prefix_selector.cc
diff --git a/ui/views/controls/prefix_selector.cc b/ui/views/controls/prefix_selector.cc
index 6d6e0809c8b2244cb455aa79dbf9ec9b14af53d8..8136e4f10a438cea83ecac619597891f5d27c436 100644
--- a/ui/views/controls/prefix_selector.cc
+++ b/ui/views/controls/prefix_selector.cc
@@ -6,7 +6,7 @@
#include "base/i18n/case_conversion.h"
#include "ui/base/ime/text_input_type.h"
-#include "ui/base/range/range.h"
+#include "ui/gfx/range/range.h"
#include "ui/views/controls/prefix_delegate.h"
#include "ui/views/widget/widget.h"
@@ -91,30 +91,30 @@ bool PrefixSelector::HasCompositionText() {
return false;
}
-bool PrefixSelector::GetTextRange(ui::Range* range) {
- *range = ui::Range();
+bool PrefixSelector::GetTextRange(gfx::Range* range) {
+ *range = gfx::Range();
return false;
}
-bool PrefixSelector::GetCompositionTextRange(ui::Range* range) {
- *range = ui::Range();
+bool PrefixSelector::GetCompositionTextRange(gfx::Range* range) {
+ *range = gfx::Range();
return false;
}
-bool PrefixSelector::GetSelectionRange(ui::Range* range) {
- *range = ui::Range();
+bool PrefixSelector::GetSelectionRange(gfx::Range* range) {
+ *range = gfx::Range();
return false;
}
-bool PrefixSelector::SetSelectionRange(const ui::Range& range) {
+bool PrefixSelector::SetSelectionRange(const gfx::Range& range) {
return false;
}
-bool PrefixSelector::DeleteRange(const ui::Range& range) {
+bool PrefixSelector::DeleteRange(const gfx::Range& range) {
return false;
}
-bool PrefixSelector::GetTextFromRange(const ui::Range& range,
+bool PrefixSelector::GetTextFromRange(const gfx::Range& range,
string16* text) {
return false;
}
« no previous file with comments | « ui/views/controls/prefix_selector.h ('k') | ui/views/controls/styled_label.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698