Summary: | Post the WebViewDidChangeSelectionNotification when text selection changes | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ada Chan <adachan> | ||||||
Component: | WebKit API | Assignee: | Ada Chan <adachan> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | ||||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | PC | ||||||||
OS: | Windows Vista | ||||||||
Attachments: |
|
Description
Ada Chan
2009-09-16 17:32:22 PDT
Created attachment 39705 [details]
Patch
After further discussion with Adam Roben, we have agreed that it might be better to just post the WebViewDidChangeSelectionNotification instead of using IWebEditingDelegate. Created attachment 39709 [details]
Updated patch
Comment on attachment 39709 [details] Updated patch > Index: WebKit/win/Interfaces/IWebEditingDelegate.idl > =================================================================== > --- WebKit/win/Interfaces/IWebEditingDelegate.idl (revision 48477) > +++ WebKit/win/Interfaces/IWebEditingDelegate.idl (working copy) > @@ -23,6 +23,8 @@ > * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > */ > > +cpp_quote("#define WebViewDidChangeSelectionNotification TEXT(\"WebViewDidChangeSelectionNotification\")") > + I'd put this in IWebView.idl, to match where it is defined in the Mac API. r=me |