Home
last modified time | relevance | path

Searched refs:AddItemWithStringId (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/chrome/browser/ui/tabs/
Dtab_menu_model.cc24 AddItemWithStringId(TabStripModel::CommandNewTab, IDS_TAB_CXMENU_NEWTAB); in Build()
26 AddItemWithStringId(TabStripModel::CommandReload, IDS_TAB_CXMENU_RELOAD); in Build()
27 AddItemWithStringId(TabStripModel::CommandDuplicate, in Build()
31 AddItemWithStringId( in Build()
35 AddItemWithStringId( in Build()
43 AddItemWithStringId( in Build()
50 AddItemWithStringId( in Build()
58 AddItemWithStringId(TabStripModel::CommandCloseTab, in Build()
61 AddItemWithStringId(TabStripModel::CommandCloseTab, in Build()
64 AddItemWithStringId(TabStripModel::CommandCloseOtherTabs, in Build()
[all …]
/external/chromium_org/chrome/browser/ui/views/frame/
Dsystem_menu_model_builder.cc62 model->AddItemWithStringId(IDC_NEW_TAB, IDS_NEW_TAB); in BuildSystemMenuForBrowserWindow()
63 model->AddItemWithStringId(IDC_RESTORE_TAB, IDS_RESTORE_TAB); in BuildSystemMenuForBrowserWindow()
66 model->AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER); in BuildSystemMenuForBrowserWindow()
80 model->AddItemWithStringId(IDC_BACK, IDS_CONTENT_CONTEXT_BACK); in BuildSystemMenuForAppOrPopupWindow()
81 model->AddItemWithStringId(IDC_FORWARD, IDS_CONTENT_CONTEXT_FORWARD); in BuildSystemMenuForAppOrPopupWindow()
82 model->AddItemWithStringId(IDC_RELOAD, IDS_APP_MENU_RELOAD); in BuildSystemMenuForAppOrPopupWindow()
85 model->AddItemWithStringId(IDC_NEW_TAB, IDS_APP_MENU_NEW_WEB_PAGE); in BuildSystemMenuForAppOrPopupWindow()
87 model->AddItemWithStringId(IDC_SHOW_AS_TAB, IDS_SHOW_AS_TAB); in BuildSystemMenuForAppOrPopupWindow()
89 model->AddItemWithStringId(IDC_CUT, IDS_CUT); in BuildSystemMenuForAppOrPopupWindow()
90 model->AddItemWithStringId(IDC_COPY, IDS_COPY); in BuildSystemMenuForAppOrPopupWindow()
[all …]
/external/chromium_org/chrome/browser/ui/toolbar/
Dwrench_menu_model.cc180 AddItemWithStringId(IDC_ZOOM_PLUS, IDS_ZOOM_PLUS); in Build()
181 AddItemWithStringId(IDC_ZOOM_NORMAL, IDS_ZOOM_NORMAL); in Build()
182 AddItemWithStringId(IDC_ZOOM_MINUS, IDS_ZOOM_MINUS); in Build()
207 AddItemWithStringId(IDC_HELP_PAGE_VIA_MENU, help_string_id); in Build()
214 AddItemWithStringId(IDC_FEEDBACK, IDS_FEEDBACK); in Build()
243 AddItemWithStringId(IDC_CREATE_HOSTED_APP, IDS_CREATE_HOSTED_APP); in Build()
246 AddItemWithStringId(IDC_CREATE_SHORTCUTS, IDS_CREATE_SHORTCUTS); in Build()
250 AddItemWithStringId(IDC_MANAGE_EXTENSIONS, IDS_SHOW_EXTENSIONS); in Build()
253 AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER); in Build()
255 AddItemWithStringId(IDC_CLEAR_BROWSING_DATA, IDS_CLEAR_BROWSING_DATA); in Build()
[all …]
Dbookmark_sub_menu_model.cc29 AddItemWithStringId(IDC_SHOW_BOOKMARK_MANAGER, IDS_BOOKMARK_MANAGER); in Build()
31 AddItemWithStringId(IDC_IMPORT_SETTINGS, IDS_IMPORT_SETTINGS_MENU_LABEL); in Build()
38 AddItemWithStringId(IDC_BOOKMARK_PAGE, IDS_BOOKMARK_THIS_PAGE); in Build()
39 AddItemWithStringId(IDC_BOOKMARK_ALL_TABS, IDS_BOOKMARK_OPEN_PAGES); in Build()
41 AddItemWithStringId(IDC_PIN_TO_START_SCREEN, IDS_PIN_TO_START_SCREEN); in Build()
Drecent_tabs_sub_menu_model.cc434 AddItemWithStringId(IDC_RECENT_TABS_NO_DEVICE_TABS, in BuildTabsFromOtherDevices()
502 AddItemWithStringId(IDC_SHOW_HISTORY, IDS_RECENT_TABS_MORE); in BuildTabsFromOtherDevices()
/external/chromium_org/chrome/browser/renderer_context_menu/
Drender_view_context_menu.cc648 menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_INSPECTELEMENT, in AppendDeveloperItems()
656 menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_RELOAD_PACKAGED_APP, in AppendDevtoolsForUnpackedExtensions()
658 menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_RESTART_PACKAGED_APP, in AppendDevtoolsForUnpackedExtensions()
661 menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_INSPECTBACKGROUNDPAGE, in AppendDevtoolsForUnpackedExtensions()
667 menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_OPENLINKNEWTAB, in AppendLinkItems()
669 menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_OPENLINKNEWWINDOW, in AppendLinkItems()
675 menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_OPENLINKOFFTHERECORD, in AppendLinkItems()
677 menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_SAVELINKAS, in AppendLinkItems()
681 menu_model_.AddItemWithStringId( in AppendLinkItems()
689 menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_SAVEIMAGEAS, in AppendImageItems()
[all …]
Dspellchecker_submenu_observer_hunspell.cc63 submenu_model_.AddItemWithStringId( in InitMenu()
/external/chromium_org/chrome/browser/download/
Ddownload_shelf_context_menu.cc294 in_progress_download_menu_model_->AddItemWithStringId( in GetInProgressMenuModel()
296 in_progress_download_menu_model_->AddItemWithStringId( in GetInProgressMenuModel()
299 in_progress_download_menu_model_->AddItemWithStringId( in GetInProgressMenuModel()
311 finished_download_menu_model_->AddItemWithStringId( in GetFinishedMenuModel()
315 finished_download_menu_model_->AddItemWithStringId( in GetFinishedMenuModel()
318 finished_download_menu_model_->AddItemWithStringId( in GetFinishedMenuModel()
321 finished_download_menu_model_->AddItemWithStringId( in GetFinishedMenuModel()
341 interrupted_download_menu_model_->AddItemWithStringId( in GetInterruptedMenuModel()
348 interrupted_download_menu_model_->AddItemWithStringId( in GetInterruptedMenuModel()
353 interrupted_download_menu_model_->AddItemWithStringId( in GetInterruptedMenuModel()
[all …]
/external/chromium_org/chrome/browser/ui/app_list/
Dapp_context_menu.cc80 menu_model_->AddItemWithStringId( in GetMenuModel()
84 menu_model_->AddItemWithStringId( in GetMenuModel()
89 menu_model_->AddItemWithStringId(SHOW_APP_INFO, in GetMenuModel()
104 menu_model_->AddItemWithStringId( in GetMenuModel()
112 menu_model_->AddItemWithStringId(CREATE_SHORTCUTS, in GetMenuModel()
163 menu_model_->AddItemWithStringId(OPTIONS, IDS_NEW_TAB_APP_OPTIONS); in GetMenuModel()
165 menu_model_->AddItemWithStringId(UNINSTALL, in GetMenuModel()
171 menu_model_->AddItemWithStringId(SHOW_APP_INFO, in GetMenuModel()
/external/chromium_org/chrome/browser/extensions/
Dextension_context_menu_model.cc113 AddItemWithStringId(INSPECT_POPUP, IDS_EXTENSION_ACTION_INSPECT_POPUP); in ExtensionContextMenuModel()
287 AddItemWithStringId(ALWAYS_RUN, IDS_EXTENSIONS_ALWAYS_RUN); in InitMenu()
290 AddItemWithStringId(CONFIGURE, IDS_EXTENSIONS_OPTIONS_MENU_ITEM); in InitMenu()
297 AddItemWithStringId(TOGGLE_VISIBILITY, visibility_string_id); in InitMenu()
300 AddItemWithStringId(MANAGE, IDS_MANAGE_EXTENSION); in InitMenu()
/external/chromium_org/components/translate/core/browser/
Doptions_menu_model.cc63 AddItemWithStringId(ABOUT_TRANSLATE, IDS_TRANSLATE_INFOBAR_OPTIONS_ABOUT); in OptionsMenuModel()
/external/chromium_org/chrome/browser/ui/cocoa/renderer_context_menu/
Drender_view_context_menu_mac.mm241 menu_model_.AddItemWithStringId(
247 speech_submenu_model_.AddItemWithStringId(
250 speech_submenu_model_.AddItemWithStringId(
/external/chromium_org/chrome/browser/background/
Dbackground_mode_manager.cc113 menu->AddItemWithStringId(IDC_MinimumLabelValue, in BuildProfileMenu()
751 menu->AddItemWithStringId(IDC_TASK_MANAGER, IDS_TASK_MANAGER); in UpdateStatusTrayIconContextMenu()
807 menu->AddItemWithStringId(IDC_EXIT, IDS_EXIT); in UpdateStatusTrayIconContextMenu()
/external/chromium_org/chrome/browser/ui/views/bookmarks/
Dbookmark_editor_view.cc635 context_menu_model_->AddItemWithStringId(IDS_EDIT, IDS_EDIT); in GetMenuModel()
636 context_menu_model_->AddItemWithStringId(IDS_DELETE, IDS_DELETE); in GetMenuModel()
637 context_menu_model_->AddItemWithStringId( in GetMenuModel()
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dreload_button.cc212 menu_model->AddItemWithStringId(kReloadMenuItems[i], kReloadMenuItems[i]); in CreateMenuModel()
/external/chromium_org/ui/views/controls/textfield/
Dtextfield.cc1726 context_menu_contents_->AddItemWithStringId(IDS_APP_UNDO, IDS_APP_UNDO); in UpdateContextMenu()
1728 context_menu_contents_->AddItemWithStringId(IDS_APP_CUT, IDS_APP_CUT); in UpdateContextMenu()
1729 context_menu_contents_->AddItemWithStringId(IDS_APP_COPY, IDS_APP_COPY); in UpdateContextMenu()
1730 context_menu_contents_->AddItemWithStringId(IDS_APP_PASTE, IDS_APP_PASTE); in UpdateContextMenu()
1731 context_menu_contents_->AddItemWithStringId(IDS_APP_DELETE, IDS_APP_DELETE); in UpdateContextMenu()
1733 context_menu_contents_->AddItemWithStringId(IDS_APP_SELECT_ALL, in UpdateContextMenu()
/external/chromium_org/ui/base/models/
Dsimple_menu_model.h77 void AddItemWithStringId(int command_id, int string_id);
Dsimple_menu_model.cc93 void SimpleMenuModel::AddItemWithStringId(int command_id, int string_id) { in AddItemWithStringId() function in ui::SimpleMenuModel
/external/chromium_org/chrome/browser/ui/bookmarks/
Dbookmark_context_menu_controller.cc121 menu_model_->AddItemWithStringId(id, localization_id); in AddItem()
/external/chromium_org/chrome/browser/ui/cocoa/website_settings/
Dsplit_block_button.mm314 menuModel_->AddItemWithStringId(0, IDS_PERMISSION_CUSTOMIZE);
/external/chromium_org/chrome/browser/ui/views/omnibox/
Domnibox_view_views.cc1044 menu_contents->AddItemWithStringId(IDC_EDIT_SEARCH_ENGINES, in UpdateContextMenu()