| Index: chrome/renderer/validation_message_agent.cc
|
| diff --git a/chrome/renderer/validation_message_agent.cc b/chrome/renderer/validation_message_agent.cc
|
| index ed7326a762ec8901b3f3ea9c1a00513d704152a2..bbfe655bb832f0c16accc7cc8a74bfa27bd36cbb 100644
|
| --- a/chrome/renderer/validation_message_agent.cc
|
| +++ b/chrome/renderer/validation_message_agent.cc
|
| @@ -18,7 +18,7 @@ ValidationMessageAgent::ValidationMessageAgent(content::RenderView* render_view)
|
| ValidationMessageAgent::~ValidationMessageAgent() {}
|
|
|
| void ValidationMessageAgent::showValidationMessage(
|
| - const WebKit::WebRect& anchor_in_screen,
|
| + const WebKit::WebRect& anchor_in_root_view,
|
| const WebKit::WebString& main_text,
|
| const WebKit::WebString& sub_text,
|
| WebKit::WebTextDirection hint) {
|
| @@ -40,10 +40,16 @@ void ValidationMessageAgent::showValidationMessage(
|
| }
|
|
|
| Send(new ValidationMessageMsg_ShowValidationMessage(
|
| - routing_id(), anchor_in_screen, wrapped_main_text, wrapped_sub_text));
|
| + routing_id(), anchor_in_root_view, wrapped_main_text, wrapped_sub_text));
|
| }
|
|
|
| void ValidationMessageAgent::hideValidationMessage() {
|
| Send(new ValidationMessageMsg_HideValidationMessage());
|
| }
|
|
|
| +void ValidationMessageAgent::moveValidationMessage(
|
| + const WebKit::WebRect& anchor_in_root_view) {
|
| + Send(new ValidationMessageMsg_MoveValidationMessage(
|
| + routing_id(), anchor_in_root_view));
|
| +}
|
| +
|
|
|