The two interfaces are intentionally similar. Here's why the two exist...
PlatformMouseEvent is a WebCore type. WebMouseEvent is defined by Chrome's webkit/glue layer to abstract away the WebCore types. This is valuable since the underlying WebCore types change frequently. The abstraction layer insulates the rest of Chrome from those kinds of changes. This actually explains the whole purpose of webkit/glue ;-) -Darin On Thu, Sep 18, 2008 at 6:08 PM, Mark Wang <[EMAIL PROTECTED]> wrote: > > Hi all -- > > In going through the Chrome UI code, I'm noticing these two classes; > both apparently seem to be a platform-independent abstraction of a > mouse event, and that both are in use. > > Is there much functional difference between the two? In quickly > glancing through the headers, they seem to overlap a bit. Will they > be coalesced into one or do they serve two distinct purposes? > > Thanks, > > Mark > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/chromium-dev?hl=en -~----------~----~----~----~------~----~------~--~---
