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

Unified Diff: content/renderer/text_input_client_observer.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 | « content/renderer/text_input_client_observer.h ('k') | ui/app_list/search_result.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/text_input_client_observer.cc
diff --git a/content/renderer/text_input_client_observer.cc b/content/renderer/text_input_client_observer.cc
index 1494ebba841e203db3e466d937e48e9ade92fb6b..cec5e1ab76f931d6a79171912a8627420896108e 100644
--- a/content/renderer/text_input_client_observer.cc
+++ b/content/renderer/text_input_client_observer.cc
@@ -49,7 +49,7 @@ void TextInputClientObserver::OnCharacterIndexForPoint(gfx::Point point) {
index));
}
-void TextInputClientObserver::OnFirstRectForCharacterRange(ui::Range range) {
+void TextInputClientObserver::OnFirstRectForCharacterRange(gfx::Range range) {
gfx::Rect rect;
#if defined(ENABLE_PLUGINS)
if (!render_view_impl_->GetPepperCaretBounds(&rect))
@@ -66,7 +66,7 @@ void TextInputClientObserver::OnFirstRectForCharacterRange(ui::Range range) {
Send(new TextInputClientReplyMsg_GotFirstRectForRange(routing_id(), rect));
}
-void TextInputClientObserver::OnStringForRange(ui::Range range) {
+void TextInputClientObserver::OnStringForRange(gfx::Range range) {
#if defined(OS_MACOSX)
NSAttributedString* string = nil;
WebKit::WebFrame* frame = webview()->focusedFrame();
« no previous file with comments | « content/renderer/text_input_client_observer.h ('k') | ui/app_list/search_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698