Lines Matching refs:item
46 if (type === "item" || type === "checkbox")
80 case "item":
81 return { type: "item", id: this._id, label: this._label, enabled: !this._disabled };
113 var item = new WebInspector.ContextMenuItem(this._contextMenu, "item", label, disabled);
114 this._pushItem(item);
115 this._contextMenu._setHandler(item.id(), handler);
116 return item;
126 var item = new WebInspector.ContextSubMenuItem(this._contextMenu, label, disabled);
127 this._pushItem(item);
128 return item;
136 var item = new WebInspector.ContextMenuItem(this._contextMenu, "checkbox", label, disabled, checked);
137 this._pushItem(item);
138 this._contextMenu._setHandler(item.id(), handler);
139 return item;
149 * @param {!WebInspector.ContextMenuItem} item
151 _pushItem: function(item)
157 this._items.push(item);
287 // FIXME: Unfortunately, contextMenuCleared is invoked between show and item selected