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

Unified Diff: content/renderer/render_view_impl.cc

Issue 1486743002: Clean up some remaining obsolete coordinate-space naming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Mac compile Created 5 years 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/render_view_impl.h ('k') | third_party/WebKit/Source/core/frame/FrameView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 8bb66f17ae1b3486bd1dbb52df9164a85e8d85e4..35d517fbe90e0b33ce38bc53ecb6b24152bc848d 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1800,7 +1800,7 @@ void RenderViewImpl::SetValidationMessageDirection(
}
void RenderViewImpl::showValidationMessage(
- const blink::WebRect& anchor_in_root_view,
+ const blink::WebRect& anchor_in_viewport,
const blink::WebString& main_text,
blink::WebTextDirection main_text_hint,
const blink::WebString& sub_text,
@@ -1812,7 +1812,7 @@ void RenderViewImpl::showValidationMessage(
&wrapped_main_text, main_text_hint, &wrapped_sub_text, sub_text_hint);
Send(new ViewHostMsg_ShowValidationMessage(
- routing_id(), AdjustValidationMessageAnchor(anchor_in_root_view),
+ routing_id(), AdjustValidationMessageAnchor(anchor_in_viewport),
wrapped_main_text, wrapped_sub_text));
}
@@ -1821,9 +1821,9 @@ void RenderViewImpl::hideValidationMessage() {
}
void RenderViewImpl::moveValidationMessage(
- const blink::WebRect& anchor_in_root_view) {
+ const blink::WebRect& anchor_in_viewport) {
Send(new ViewHostMsg_MoveValidationMessage(
- routing_id(), AdjustValidationMessageAnchor(anchor_in_root_view)));
+ routing_id(), AdjustValidationMessageAnchor(anchor_in_viewport)));
}
void RenderViewImpl::setStatusText(const WebString& text) {
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | third_party/WebKit/Source/core/frame/FrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698