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

Unified Diff: public/web/WebViewClient.h

Issue 389343002: Custom validation message to take into account text direction (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed |dir| value read. Updated tests to use setDirection. Created 6 years, 4 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: public/web/WebViewClient.h
diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h
index 748a9d3dcfa4027d29bf788bf677378f03322b07..bbc5269c4015b17b96c66e039cc6d0e1479770f0 100644
--- a/public/web/WebViewClient.h
+++ b/public/web/WebViewClient.h
@@ -163,6 +163,7 @@ public:
// Show a notification popup for the specified form vaidation messages
// besides the anchor rectangle. An implementation of this function should
// not hide the popup until hideValidationMessage call.
+ virtual void showValidationMessage(const WebRect& anchorInRootView, const WebString& mainText, WebTextDirection mainTextDir, const WebString& supplementalText, WebTextDirection supplementalTextDir) { }
virtual void showValidationMessage(const WebRect& anchorInRootView, const WebString& mainText, const WebString& supplementalText, WebTextDirection hint) { }
tkent 2014/08/11 01:45:49 Add a FIXME comment that we'll remove this version
Habib Virji 2014/08/11 20:34:29 Done.
// Hide notifation popup for form validation messages.
« Source/web/ValidationMessageClientImpl.h ('K') | « Source/web/ValidationMessageClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698