Reviewed by Beth.
Fix <rdar://problem/4942294> REGRESSION: "Spelling and Grammar", "Font", "Speech", and "Writing Direction" are missing from contextual menu * WebCoreSupport/WebContextMenuClient.mm: (fixMenusForOldClients): Change our new SPI tags to WebMenuItemTagOther because old clients aren't expecting the new tags. (fixMenusFromOldClients): Use each menu item's title to figure out its correct tag again. (WebContextMenuClient::getCustomMenuFromDefaultItems): Call fixMenusForOldClients before calling up to the delegate. * WebView/WebUIDelegatePrivate.h: Define WEBMENUITEMTAG_SPI_START so that we can use it in WebContextMenuClient. git-svn-id: svn://svn.chromium.org/blink/trunk@18995 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment