Lines Matching refs:WebContextMenuItem
30 #include "WebContextMenuItem.h"
38 WebContextMenuItem::WebContextMenuItem(const WebContextMenuItemData& data)
43 PassRefPtr<WebContextMenuItem> WebContextMenuItem::create(const String& title, bool enabled, API::Array* submenuItems)
51 WebContextMenuItem* item = submenuItems->at<WebContextMenuItem>(i);
56 return adoptRef(new WebContextMenuItem(WebContextMenuItemData(WebCore::ContextMenuItemTagNoAction, title, enabled, submenu))).leakRef();
59 WebContextMenuItem* WebContextMenuItem::separatorItem()
61 static WebContextMenuItem* separatorItem = new WebContextMenuItem(WebContextMenuItemData(WebCore::SeparatorType, WebCore::ContextMenuItemTagNoAction, String(), true, false));
65 PassRefPtr<API::Array> WebContextMenuItem::submenuItemsAsAPIArray() const
74 submenuItems.uncheckedAppend(WebContextMenuItem::create(item));
79 API::Object* WebContextMenuItem::userData() const
84 void WebContextMenuItem::setUserData(API::Object* userData)