Lines Matching defs:model
18 // A controller for the cross-platform menu model. The menu that's created
20 // NSValue holding a pointer to the model for that level of the menu (to
21 // allow for hierarchical menus). The tag is the index into that model for
22 // that particular item. It is important that the model outlives this object
33 @property(nonatomic, assign) ui::MenuModel* model;
46 // Builds a NSMenu from the pre-built model (must not be nil). Changes made
47 // to the contents of the model after calling this will not be noticed. If
51 - (id)initWithModel:(ui::MenuModel*)model
80 fromModel:(ui::MenuModel*)model;
81 - (NSMenu*)menuFromModel:(ui::MenuModel*)model;
84 - (int)maxWidthForMenuModel:(ui::MenuModel*)model