diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-03-16 14:34:43 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-03-16 14:34:43 +0100 |
commit | 9ffb601435df46744b1f4a95b3a4b231f4bda64e (patch) | |
tree | 48b34f7ef1ef8aea962cf103d97ec8ab7b38291b /src/core/web_contents_delegate_qt.cpp | |
parent | 6e356d55c8eabcc96223e25182458b78378dd5a4 (diff) | |
parent | 9bec2760d44c944e7f6b43388924b5714d9e8e06 (diff) |
Merge remote-tracking branch 'origin/5.5' into dev
Conflicts:
src/webengine/ui_delegates_manager.h
Change-Id: I989280b6008fbc4844ed86d6d16f7e7aa6ba8db9
Diffstat (limited to 'src/core/web_contents_delegate_qt.cpp')
-rw-r--r-- | src/core/web_contents_delegate_qt.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/core/web_contents_delegate_qt.cpp b/src/core/web_contents_delegate_qt.cpp index a2e6f192a..61eb7999c 100644 --- a/src/core/web_contents_delegate_qt.cpp +++ b/src/core/web_contents_delegate_qt.cpp @@ -357,4 +357,22 @@ void WebContentsDelegateQt::geolocationPermissionReply(const QUrl &origin, bool } } +void WebContentsDelegateQt::ShowValidationMessage(content::WebContents *web_contents, const gfx::Rect &anchor_in_root_view, const base::string16 &main_text, const base::string16 &sub_text) +{ + Q_UNUSED(web_contents); + m_viewClient->showValidationMessage(toQt(anchor_in_root_view), toQt(main_text), toQt(sub_text)); +} + +void WebContentsDelegateQt::HideValidationMessage(content::WebContents *web_contents) +{ + Q_UNUSED(web_contents); + m_viewClient->hideValidationMessage(); +} + +void WebContentsDelegateQt::MoveValidationMessage(content::WebContents *web_contents, const gfx::Rect &anchor_in_root_view) +{ + Q_UNUSED(web_contents); + m_viewClient->moveValidationMessage(toQt(anchor_in_root_view)); +} + } // namespace QtWebEngineCore |