Searched defs:update_properties (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/context_menus/
H A Dcontext_menus_api_helpers.h224 // Updates a menu item from |update_properties|.
226 bool UpdateMenuItem(const PropertyWithEnumT& update_properties, argument
243 MenuItem::Type type = GetType(update_properties, item->type());
252 if (update_properties.title.get()) {
253 std::string title(*update_properties.title);
262 if (update_properties.checked.get()) {
263 bool checked = *update_properties.checked;
280 if (update_properties.enabled.get())
281 item->set_enabled(*update_properties.enabled);
285 if (update_properties
[all...]

Completed in 1364 milliseconds