Code cleanup for showValidationMessage

Removing showValidationMessage, as code on the chromium side has landed.

R=tkent@chromium.org
BUG=91638

Review URL: https://codereview.chromium.org/557753002

git-svn-id: svn://svn.chromium.org/blink/trunk@181697 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 2b55692f
......@@ -83,7 +83,6 @@ void ValidationMessageClientImpl::showValidationMessage(const Element& anchor, c
m_webView.client()->showValidationMessage(anchorInRootView, m_message, toWebTextDirection(messageDir),
subMessage, toWebTextDirection(subMessageDir));
m_webView.client()->showValidationMessage(anchorInRootView, m_message, subMessage, toWebTextDirection(messageDir));
m_finishTime = monotonicallyIncreasingTime() + std::max(minimumSecondToShowValidationMessage, (message.length() + subMessage.length()) * secondPerCharacter);
// FIXME: We should invoke checkAnchorStatus actively when layout, scroll,
......
......@@ -159,8 +159,6 @@ public:
// 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) { }
// FIXME: BUG91638, when landed on chrome side, this will be removed.
virtual void showValidationMessage(const WebRect& anchorInRootView, const WebString& mainText, const WebString& supplementalText, WebTextDirection hint) { }
// Hide notifation popup for form validation messages.
virtual void hideValidationMessage() { }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment