Bug 28875 - Post a notification when a WebView is closing
Summary: Post a notification when a WebView is closing
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-01 08:35 PDT by Adam Roben (:aroben)
Modified: 2009-09-01 09:35 PDT (History)
1 user (show)

See Also:


Attachments
Patch v1 (10.75 KB, patch)
2009-09-01 08:35 PDT, Adam Roben (:aroben)
sullivan: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2009-09-01 08:35:26 PDT
Created attachment 38866 [details]
Patch v1

This is useful for situations where some code wants to react to the
WebView closing but isn't in charge of the WebView and can't otherwise
be notified. This notification could replace
IWebUIDelegatePrivate::webViewClosing if we decide that the
notification system isn't too burdensome.

Reviewed by NOBODY (OOPS!).

Need a short description and bug URL (OOPS!)

* Interfaces/IWebViewPrivate.idl: Added the
WebViewWillCloseNotification string constant.
* WebKit.vcproj/WebKit.vcproj: Link against comsuppw.lib in all
configurations so that we can use _bstr_t.
* WebView.cpp:
(WebView::close): Post the WebViewWillCloseNotification.
---
 4 files changed, 32 insertions(+), 5 deletions(-)
Comment 1 Adam Roben (:aroben) 2009-09-01 09:35:33 PDT
Fixed in r47940