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

Unified Diff: Source/web/ValidationMessageClientImpl.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: Addressed code review comments 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: Source/web/ValidationMessageClientImpl.h
diff --git a/Source/web/ValidationMessageClientImpl.h b/Source/web/ValidationMessageClientImpl.h
index bad73ecf011d596689b687904f6e46cb3bb19c72..a1f51284e0bba1413c34acf99d00943b988319e9 100644
--- a/Source/web/ValidationMessageClientImpl.h
+++ b/Source/web/ValidationMessageClientImpl.h
@@ -53,10 +53,10 @@ private:
void checkAnchorStatus(blink::Timer<ValidationMessageClientImpl>*);
blink::FrameView* currentView();
- virtual void showValidationMessage(const blink::Element& anchor, const String& message) OVERRIDE;
- virtual void hideValidationMessage(const blink::Element& anchor) OVERRIDE;
- virtual bool isValidationMessageVisible(const blink::Element& anchor) OVERRIDE;
- virtual void documentDetached(const blink::Document&) OVERRIDE;
+ virtual void showValidationMessage(const WebCore::Element& anchor, const String& message, WebCore::TextDirection messageDir, const String& subMessage, WebCore::TextDirection subMessageDir) OVERRIDE;
tkent 2014/07/22 23:56:49 Please use blink:: namespace.
Habib Virji 2014/07/23 13:32:04 Done.
+ virtual void hideValidationMessage(const WebCore::Element& anchor) OVERRIDE;
+ virtual bool isValidationMessageVisible(const WebCore::Element& anchor) OVERRIDE;
+ virtual void documentDetached(const WebCore::Document&) OVERRIDE;
virtual void willBeDestroyed() OVERRIDE;
WebViewImpl& m_webView;

Powered by Google App Engine
This is Rietveld 408576698