Searched refs:MenuModel (Results 1 – 9 of 9) sorted by relevance
/third_party/cef/libcef/browser/native/ |
D | menu_2.h | 19 class MenuModel; variable 41 explicit Menu2(ui::MenuModel* model); 74 ui::MenuModel* model() const { return model_; } in model() 80 ui::MenuModel* model_;
|
D | native_menu_win.h | 18 class MenuModel; variable 31 CefNativeMenuWin(ui::MenuModel* model, HWND system_menu_for); 113 ui::MenuModel* model_;
|
D | native_menu_win.cc | 193 ui::MenuModel* model = menu_win->model_; in OnMenuCommand() 291 ui::MenuModel::ItemType type = in OnDrawItem() 312 DCHECK(type != ui::MenuModel::TYPE_CHECK); in OnDrawItem() 323 } else if (type == ui::MenuModel::TYPE_CHECK && in OnDrawItem() 441 CefNativeMenuWin::CefNativeMenuWin(ui::MenuModel* model, HWND system_menu_for) in CefNativeMenuWin() 523 if (model_->GetTypeAt(model_index) == ui::MenuModel::TYPE_SEPARATOR) in Rebuild() 658 ui::MenuModel::ItemType type = model_->GetTypeAt(model_index); in AddMenuItemAt() 659 if (type == ui::MenuModel::TYPE_SUBMENU) { in AddMenuItemAt() 665 if (type == ui::MenuModel::TYPE_RADIO) in AddMenuItemAt() 725 ui::MenuModel::ItemType type = model_->GetTypeAt(model_index); in UpdateMenuItemInfoForString() [all …]
|
D | menu_wrapper.h | 15 class MenuModel; variable 36 static MenuWrapper* CreateWrapper(ui::MenuModel* model);
|
D | menu_2.cc | 11 Menu2::Menu2(ui::MenuModel* model) in Menu2()
|
/third_party/cef/libcef/browser/ |
D | simple_menu_model_impl.cc | 20 cef_menu_item_type_t GetCefItemType(ui::MenuModel::ItemType type) { in GetCefItemType() 22 case ui::MenuModel::TYPE_COMMAND: in GetCefItemType() 24 case ui::MenuModel::TYPE_CHECK: in GetCefItemType() 26 case ui::MenuModel::TYPE_RADIO: in GetCefItemType() 28 case ui::MenuModel::TYPE_SEPARATOR: in GetCefItemType() 30 case ui::MenuModel::TYPE_SUBMENU: in GetCefItemType()
|
D | menu_model_impl.h | 182 ui::MenuModel* model() const { return model_.get(); } in model() 223 std::unique_ptr<ui::MenuModel> model_;
|
D | menu_model_impl.cc | 30 class CefSimpleMenuModel : public ui::MenuModel { 133 MenuModel* GetSubmenuModelAt(int index) const override { in GetSubmenuModelAt()
|
/third_party/cef/patch/patches/ |
D | views_1749_2102.patch | 17 @@ -147,6 +150,27 @@ class COMPONENT_EXPORT(UI_BASE) MenuModel 358 + const std::map<MenuItemView*, ui::MenuModel*>::const_iterator map_iterator = 372 + const std::map<MenuItemView*, ui::MenuModel*>::const_iterator map_iterator = 385 + const std::map<MenuItemView*, ui::MenuModel*>::const_iterator map_iterator = 399 + ui::MenuModel* model = menu_model_; 401 + if (ui::MenuModel::GetModelAndIndexForCommandId(command_id, &model, &index)) 414 + ui::MenuModel* model = menu_model_; 416 + if (ui::MenuModel::GetModelAndIndexForCommandId(command_id, &model, &index)) 425 const std::map<MenuItemView*, ui::MenuModel*>::const_iterator map_iterator =
|