Re: [webkit-dev] Towards a More Convenient IWebUIDelegate

2009-12-02 Thread Maciej Stachowiak
On Dec 2, 2009, at 10:47 PM, Steve Falkenburg wrote: On Dec 2, 2009, at 9:53 PM, Brent Fulgham wrote: To add insult to injury, all of these interface classes also require each concrete implementation to implement a stub QueryInterface, AddRef, and RemoveRef method. Yes, this is one of t

Re: [webkit-dev] Towards a More Convenient IWebUIDelegate

2009-12-02 Thread Steve Falkenburg
On Dec 2, 2009, at 9:53 PM, Brent Fulgham wrote: To add insult to injury, all of these interface classes also require each concrete implementation to implement a stub QueryInterface, AddRef, and RemoveRef method. Yes, this is one of the downsides of COM. Some COM developers use ATL (or s

[webkit-dev] Towards a More Convenient IWebUIDelegate

2009-12-02 Thread Brent Fulgham
I recently explored the IWebUIDelegate interface to customize the context menu in WebKit. In Cocoa, using the WebUIDelegate is very convenient -- I simply provide an implementation for the one or two methods I wish to customize, and leave the others alone. I was proudly showing a coworker how