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

Unified Diff: Source/core/page/ValidationMessageClient.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: Corrected addition in core.gypi 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
« no previous file with comments | « Source/core/html/HTMLFormControlElementTest.cpp ('k') | Source/web/ValidationMessageClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/ValidationMessageClient.h
diff --git a/Source/core/page/ValidationMessageClient.h b/Source/core/page/ValidationMessageClient.h
index dff9455348054107dbf9f201590eee5dcea672f0..a0190a7e92e84c892ab73376741662a1e2925ea2 100644
--- a/Source/core/page/ValidationMessageClient.h
+++ b/Source/core/page/ValidationMessageClient.h
@@ -27,6 +27,7 @@
#define ValidationMessageClient_h
#include "platform/heap/Handle.h"
+#include "platform/text/TextDirection.h"
#include "wtf/Forward.h"
namespace blink {
@@ -41,7 +42,7 @@ public:
// Show validation message for the specified anchor element. An
// implementation of this function may hide the message automatically after
// some period.
- virtual void showValidationMessage(const Element& anchor, const String& message) = 0;
+ virtual void showValidationMessage(const Element& anchor, const String& mainMessage, TextDirection, const String& subMessage, TextDirection) = 0;
// Hide validation message for the specified anchor if the message for the
// anchor is already visible.
« no previous file with comments | « Source/core/html/HTMLFormControlElementTest.cpp ('k') | Source/web/ValidationMessageClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698