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

Unified Diff: content/renderer/text_input_client_observer.cc

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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') | content/renderer/v8_value_converter_impl.cc » ('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 cec5e1ab76f931d6a79171912a8627420896108e..6d892037515017c81949990039600c1ec890c0fe 100644
--- a/content/renderer/text_input_client_observer.cc
+++ b/content/renderer/text_input_client_observer.cc
@@ -38,12 +38,12 @@ bool TextInputClientObserver::OnMessageReceived(const IPC::Message& message) {
return handled;
}
-WebKit::WebView* TextInputClientObserver::webview() {
+blink::WebView* TextInputClientObserver::webview() {
return render_view()->GetWebView();
}
void TextInputClientObserver::OnCharacterIndexForPoint(gfx::Point point) {
- WebKit::WebPoint web_point(point);
+ blink::WebPoint web_point(point);
size_t index = webview()->focusedFrame()->characterIndexForPoint(web_point);
Send(new TextInputClientReplyMsg_GotCharacterIndexForPoint(routing_id(),
index));
@@ -55,9 +55,9 @@ void TextInputClientObserver::OnFirstRectForCharacterRange(gfx::Range range) {
if (!render_view_impl_->GetPepperCaretBounds(&rect))
#endif
{
- WebKit::WebFrame* frame = webview()->focusedFrame();
+ blink::WebFrame* frame = webview()->focusedFrame();
if (frame) {
- WebKit::WebRect web_rect;
+ blink::WebRect web_rect;
frame->firstRectForCharacterRange(range.start(), range.length(),
web_rect);
rect = web_rect;
@@ -69,9 +69,9 @@ void TextInputClientObserver::OnFirstRectForCharacterRange(gfx::Range range) {
void TextInputClientObserver::OnStringForRange(gfx::Range range) {
#if defined(OS_MACOSX)
NSAttributedString* string = nil;
- WebKit::WebFrame* frame = webview()->focusedFrame();
+ blink::WebFrame* frame = webview()->focusedFrame();
if (frame) {
- string = WebKit::WebSubstringUtil::attributedSubstringInRange(
+ string = blink::WebSubstringUtil::attributedSubstringInRange(
frame, range.start(), range.length());
}
scoped_ptr<const mac::AttributedStringCoder::EncodedString> encoded(
« no previous file with comments | « content/renderer/text_input_client_observer.h ('k') | content/renderer/v8_value_converter_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698