* Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemTy...
authorzecke@webkit.org <zecke@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Jan 2008 19:14:58 +0000 (19:14 +0000)
committerzecke@webkit.org <zecke@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Jan 2008 19:14:58 +0000 (19:14 +0000)
commit1e8b71ec7d71095a196016cfad2a3183d605db43
tree3fae57d35242ffabd0de8f9614b233317c6932f7
parent3cc8939c8b140b9940e33f6ede3ca20cf213842e
* Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemType for checkable
  actions.
* Use this information in the Gtk platform to create a GtkCheckMenuItem when needed.
* Update the ContextMenuController to accept CheckableActionTypes as well.
* Change ContextMenu.cpp to use the CheckableActionType. The information if a item is checkable
  was extracted from ContextMenu::checkOrEnableIfNeeded.
* Update the Qt and Windows port.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29230 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/page/ContextMenuController.cpp
WebCore/platform/ContextMenu.cpp
WebCore/platform/ContextMenuItem.h
WebCore/platform/gtk/ContextMenuItemGtk.cpp
WebKit/qt/Api/qwebpage.cpp
WebKit/qt/ChangeLog
WebKit/win/ChangeLog
WebKit/win/WebContextMenuClient.cpp