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

Unified Diff: chrome/renderer/validation_message_agent.cc

Issue 63273002: Rename WebKit namespace to blink (part 4) (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 | « chrome/renderer/validation_message_agent.h ('k') | chrome/renderer/web_apps.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/validation_message_agent.cc
diff --git a/chrome/renderer/validation_message_agent.cc b/chrome/renderer/validation_message_agent.cc
index ef4c504d980de62e95e0b98ec609860d7b8dda8e..c729534f7c704bac2c1f114be851706abeceffdd 100644
--- a/chrome/renderer/validation_message_agent.cc
+++ b/chrome/renderer/validation_message_agent.cc
@@ -18,20 +18,20 @@ ValidationMessageAgent::ValidationMessageAgent(content::RenderView* render_view)
ValidationMessageAgent::~ValidationMessageAgent() {}
void ValidationMessageAgent::showValidationMessage(
- const WebKit::WebRect& anchor_in_root_view,
- const WebKit::WebString& main_text,
- const WebKit::WebString& sub_text,
- WebKit::WebTextDirection hint) {
+ const blink::WebRect& anchor_in_root_view,
+ const blink::WebString& main_text,
+ const blink::WebString& sub_text,
+ blink::WebTextDirection hint) {
string16 wrapped_main_text = main_text;
string16 wrapped_sub_text = sub_text;
- if (hint == WebKit::WebTextDirectionLeftToRight) {
+ if (hint == blink::WebTextDirectionLeftToRight) {
wrapped_main_text
= base::i18n::GetDisplayStringInLTRDirectionality(wrapped_main_text);
if (!wrapped_sub_text.empty()) {
wrapped_sub_text
= base::i18n::GetDisplayStringInLTRDirectionality(wrapped_sub_text);
}
- } else if (hint == WebKit::WebTextDirectionRightToLeft
+ } else if (hint == blink::WebTextDirectionRightToLeft
&& !base::i18n::IsRTL()) {
base::i18n::WrapStringWithRTLFormatting(&wrapped_main_text);
if (!wrapped_sub_text.empty()) {
@@ -48,7 +48,7 @@ void ValidationMessageAgent::hideValidationMessage() {
}
void ValidationMessageAgent::moveValidationMessage(
- const WebKit::WebRect& anchor_in_root_view) {
+ const blink::WebRect& anchor_in_root_view) {
Send(new ValidationMessageMsg_MoveValidationMessage(
routing_id(), anchor_in_root_view));
}
« no previous file with comments | « chrome/renderer/validation_message_agent.h ('k') | chrome/renderer/web_apps.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698