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

Unified Diff: ui/views/ime/input_method_bridge.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/ime/input_method_bridge.h ('k') | ui/views/touchui/touch_selection_controller_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/ime/input_method_bridge.cc
diff --git a/ui/views/ime/input_method_bridge.cc b/ui/views/ime/input_method_bridge.cc
index 613f776414becc91d49007feff26ad2d1e35c6ec..e1669cbecb86f93f3760ba7e79d61ff885d55831 100644
--- a/ui/views/ime/input_method_bridge.cc
+++ b/ui/views/ime/input_method_bridge.cc
@@ -179,33 +179,33 @@ bool InputMethodBridge::HasCompositionText() {
return client ? client->HasCompositionText() : false;
}
-bool InputMethodBridge::GetTextRange(ui::Range* range) {
+bool InputMethodBridge::GetTextRange(gfx::Range* range) {
TextInputClient* client = GetTextInputClient();
return client ? client->GetTextRange(range) : false;
}
-bool InputMethodBridge::GetCompositionTextRange(ui::Range* range) {
+bool InputMethodBridge::GetCompositionTextRange(gfx::Range* range) {
TextInputClient* client = GetTextInputClient();
return client ? client->GetCompositionTextRange(range) : false;
}
-bool InputMethodBridge::GetSelectionRange(ui::Range* range) {
+bool InputMethodBridge::GetSelectionRange(gfx::Range* range) {
TextInputClient* client = GetTextInputClient();
return client ? client->GetSelectionRange(range) : false;
}
-bool InputMethodBridge::SetSelectionRange(const ui::Range& range) {
+bool InputMethodBridge::SetSelectionRange(const gfx::Range& range) {
TextInputClient* client = GetTextInputClient();
return client ? client->SetSelectionRange(range) : false;
}
-bool InputMethodBridge::DeleteRange(const ui::Range& range) {
+bool InputMethodBridge::DeleteRange(const gfx::Range& range) {
TextInputClient* client = GetTextInputClient();
return client ? client->DeleteRange(range) : false;
}
bool InputMethodBridge::GetTextFromRange(
- const ui::Range& range, string16* text) {
+ const gfx::Range& range, string16* text) {
TextInputClient* client = GetTextInputClient();
return client ? client->GetTextFromRange(range, text) : false;
}
« no previous file with comments | « ui/views/ime/input_method_bridge.h ('k') | ui/views/touchui/touch_selection_controller_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698