diff options
Diffstat (limited to 'webkit/glue/webview_impl.cc')
-rw-r--r-- | webkit/glue/webview_impl.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/glue/webview_impl.cc b/webkit/glue/webview_impl.cc index 2a387df..c295303 100644 --- a/webkit/glue/webview_impl.cc +++ b/webkit/glue/webview_impl.cc @@ -1848,6 +1848,14 @@ WebCore::Node* WebViewImpl::GetNodeForWindowPos(int x, int y) { return result.innerNonSharedNode(); } +#if ENABLE(NOTIFICATIONS) +WebKit::NotificationPresenterImpl* WebViewImpl::GetNotificationPresenter() { + if (!notification_presenter_.isInitialized() && delegate_) + notification_presenter_.initialize(delegate_->GetNotificationPresenter()); + return ¬ification_presenter_; +} +#endif + void WebViewImpl::HideAutofillPopup() { HideAutoCompletePopup(); } |