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

Unified Diff: content/shell/renderer/test_runner/web_test_proxy.h

Issue 391923006: Extra parameter to pass sub-message direction for validation message (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unit test updated to reflect direction changes Created 6 years, 5 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
Index: content/shell/renderer/test_runner/web_test_proxy.h
diff --git a/content/shell/renderer/test_runner/web_test_proxy.h b/content/shell/renderer/test_runner/web_test_proxy.h
index 7a1c6d447d960cac284706ac70872a70bf58a740..2cac1e052a96fce7a46514a94a3aa509819c86cd 100644
--- a/content/shell/renderer/test_runner/web_test_proxy.h
+++ b/content/shell/renderer/test_runner/web_test_proxy.h
@@ -108,6 +108,7 @@ class WebTestProxyBase : public blink::WebCompositeAndReadbackAsyncCallback {
blink::WebFileChooserCompletion* completion);
void ShowValidationMessage(const blink::WebRect& anchor_in_root_view,
const blink::WebString& message,
+ blink::WebTextDirection message_hint,
const blink::WebString& sub_message,
blink::WebTextDirection hint);
void HideValidationMessage();
@@ -382,10 +383,11 @@ class WebTestProxy : public Base, public WebTestProxyBase {
}
virtual void showValidationMessage(const blink::WebRect& anchor_in_root_view,
const blink::WebString& message,
+ blink::WebTextDirection message_hint,
const blink::WebString& sub_message,
blink::WebTextDirection hint) {
WebTestProxyBase::ShowValidationMessage(
- anchor_in_root_view, message, sub_message, hint);
+ anchor_in_root_view, message, message_hint, sub_message, hint);
}
virtual void postSpellCheckEvent(const blink::WebString& event_name) {
WebTestProxyBase::PostSpellCheckEvent(event_name);

Powered by Google App Engine
This is Rietveld 408576698