Following up bug 17324 as suggested by Adam. > It seems to me that a better approach would be to move the menu > items into ContextMenu{Gtk,Mac,Win,Wx,Qt}.cpp, instead of moving > the logic up into WebKit. WebKit's for the most part supposed to > be a thin API layer that wraps WebCore, so I don't think moving > this kind of logic there is the right direction to go in. The ContextMenu should be refactored into platform specific implementations while many items still should be shared among ports.