-
benjamin.poulain@nokia.com authored
Reviewed by Kenneth Rohde Christiansen. [Qt] [WK2] Add support for non-trivial context menu action https://bugs.webkit.org/show_bug.cgi?id=51902 Fix the preprocessor guard for ContextMenuItemTagSelectAll in the implementation of ContextMenuController::contextMenuItemSelected(). The guard was inconsistent with what is defined in ContextMenuItem.h. * page/ContextMenuController.cpp: (WebCore::ContextMenuController::contextMenuItemSelected): 2011-01-04 Benjamin Poulain <benjamin.poulain@nokia.com> Reviewed by Kenneth Rohde Christiansen. [Qt] [WK2] Add support for non-trivial context menu action https://bugs.webkit.org/show_bug.cgi?id=51902 Implement a call back from the QAction triggered in the UIProcess to the action in WebProcess. A few basic actions have been implemented based on this feature. * UIProcess/API/qt/qwkpage.cpp: (contextMenuActionForWebAction): (QWKPage::triggerAction): (QWKPage::action): * UIProcess/API/qt/qwkpage.h: * UIProcess/qt/WebContextMenuProxyQt.cpp: (WebKit::webActionForContextMenuAction): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75047 268f45cc-cd09-0410-ab3c-d52691b4dbfc
d5f43946