DescriptionConvert RenderViewContextMenu to MenuItemView.
This CL is part of general GTK removal for ChromiumOS. Menu2 uses GTK on linux so we are replacing it with MenuItemView. Chrome Frame currently passes the context menu between processes by using the HMENU. Because MenuItemView does not use HMENU, we need to use another mechanism.
This CL creates a ContextMenuModel struct that is serialized into an automation message for Chrome Frame. ContextMenuModel contains the context menu definition in-band replacing the out-of-band HMENU.
BUG=chromium-os:13887
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92182
Patch Set 1 #Patch Set 2 : Handle all menu item types, pass enabled and checked states. #Patch Set 3 : Don't pass invisible menu items. #Patch Set 4 : Remove unused utility function. #
Total comments: 10
Patch Set 5 : Implement reviewer recommendations. #Patch Set 6 : Fixed test build. #Patch Set 7 : Remove unnecessary #include. #Patch Set 8 : clang build fix. #
Total comments: 6
Patch Set 9 : Implement reviewer recommendations. #Messages
Total messages: 12 (0 generated)
|