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

Unified Diff: chrome/renderer/validation_message_agent.cc

Issue 14848002: Re-implement form validation message UI with native widgets (GTK) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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 | « chrome/browser/ui/gtk/validation_message_bubble_gtk.cc ('k') | no next file » | 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 dcd96880907a06a3bb61ed2c93a9c65716f80498..24f39854813b2dc63d0dd42549ba952bbc192246 100644
--- a/chrome/renderer/validation_message_agent.cc
+++ b/chrome/renderer/validation_message_agent.cc
@@ -12,9 +12,8 @@
ValidationMessageAgent::ValidationMessageAgent(content::RenderView* render_view)
: content::RenderViewObserver(render_view)
{
-#if defined(OS_MACOSX) || defined(TOOLKIT_VIEWS)
- // TODO(tkent): enable this for other platforms.
- // crbug.com/235717, crbug.com/235721.
+#if !defined(OS_ANDROID)
+ // TODO(tkent): enable this for Android. crbug.com/235721.
render_view->GetWebView()->setValidationMessageClient(this);
#endif
}
« no previous file with comments | « chrome/browser/ui/gtk/validation_message_bubble_gtk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698