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

Unified Diff: public/webpage/WebValidationMessageClient.h

Issue 16180009: Improve WebValidationMessageClient interface and implementation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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/WebKit/chromium/src/ValidationMessageClientImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/webpage/WebValidationMessageClient.h
diff --git a/public/webpage/WebValidationMessageClient.h b/public/webpage/WebValidationMessageClient.h
index 6ba1555272942b015102b4c3df0b3d2ba2e8867c..26a07b15ebe10e0eaed33ae46e314910b421dc19 100644
--- a/public/webpage/WebValidationMessageClient.h
+++ b/public/webpage/WebValidationMessageClient.h
@@ -44,11 +44,13 @@ 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& anchorInScreen, const WebString& mainText, const WebString& supplementalText, WebTextDirection hint) { }
+ virtual void showValidationMessage(const WebRect& anchorInRootView, const WebString& mainText, const WebString& supplementalText, WebTextDirection hint) { }
// Hide notifation popup for form validation messages.
virtual void hideValidationMessage() { }
+ // Move the existing notifation popup for the new anchor position.
+ virtual void moveValidationMessage(const WebRect& anchorInRootView) { }
protected:
virtual ~WebValidationMessageClient() { }
« no previous file with comments | « Source/WebKit/chromium/src/ValidationMessageClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698