1 // Copyright 2012 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_APP_CHROME_COMMAND_IDS_H_
6 #define CHROME_APP_CHROME_COMMAND_IDS_H_
8 #include "build/branding_buildflags.h"
9 #include "build/build_config.h"
10 #include "build/chromeos_buildflags.h"
11 #include "components/services/screen_ai/buildflags/buildflags.h"
12 #include "ui/base/command_id_constants.h"
14 // This file lists all the command IDs understood by e.g. the browser.
15 // It is used by Windows RC files, Mac NIB files, and other platforms too.
19 // Values below IDC_MinimumLabelValue are reserved for dynamic menu items.
20 #define IDC_MinimumLabelValue 4000
22 // NOTE: Within each of the following sections, the IDs are ordered roughly by
23 // how they appear in the GUI/menus (left to right, top to bottom, etc.).
25 // Navigation commands
26 // TODO: Reorder to be in visible order; collapse holes
27 #define IDC_BACK 33000
28 #define IDC_FORWARD 33001
29 #define IDC_RELOAD 33002
30 #define IDC_HOME 33003
31 #define IDC_OPEN_CURRENT_URL 33004
32 #define IDC_STOP 33006
33 #define IDC_RELOAD_BYPASSING_CACHE 33007
34 #define IDC_RELOAD_CLEARING_CACHE 33009
36 // Window management commands
37 #define IDC_NEW_WINDOW 34000
38 #define IDC_NEW_INCOGNITO_WINDOW 34001
39 #define IDC_CLOSE_WINDOW 34012
40 #define IDC_ALWAYS_ON_TOP 34013
41 #define IDC_NEW_TAB 34014
42 #define IDC_CLOSE_TAB 34015
43 #define IDC_SELECT_NEXT_TAB 34016
44 #define IDC_SELECT_PREVIOUS_TAB 34017
45 #define IDC_SELECT_TAB_0 34018
46 #define IDC_SELECT_TAB_1 34019
47 #define IDC_SELECT_TAB_2 34020
48 #define IDC_SELECT_TAB_3 34021
49 #define IDC_SELECT_TAB_4 34022
50 #define IDC_SELECT_TAB_5 34023
51 #define IDC_SELECT_TAB_6 34024
52 #define IDC_SELECT_TAB_7 34025
53 #define IDC_SELECT_LAST_TAB 34026
54 #define IDC_DUPLICATE_TAB 34027
55 #define IDC_RESTORE_TAB 34028
56 #define IDC_SHOW_AS_TAB 34029
57 #define IDC_FULLSCREEN 34030
58 #define IDC_EXIT 34031
59 #define IDC_MOVE_TAB_NEXT 34032
60 #define IDC_MOVE_TAB_PREVIOUS 34033
61 #define IDC_SEARCH 34035
62 #define IDC_WINDOW_MENU 34045
63 #define IDC_MINIMIZE_WINDOW 34046
64 #define IDC_MAXIMIZE_WINDOW 34047
65 #define IDC_ALL_WINDOWS_FRONT 34048
66 #define IDC_NAME_WINDOW 34049
67 #if BUILDFLAG(IS_CHROMEOS)
68 #define IDC_TOGGLE_MULTITASK_MENU 34050
71 #if BUILDFLAG(IS_LINUX)
72 #define IDC_USE_SYSTEM_TITLE_BAR 34051
75 // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch of lacros-chrome is complete.
76 #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
77 #define IDC_RESTORE_WINDOW 34052
80 #define IDC_OPEN_IN_PWA_WINDOW 34053
81 #define IDC_MOVE_TAB_TO_NEW_WINDOW 34054
83 // Web app window commands
84 #define IDC_COPY_URL 34060
85 #define IDC_OPEN_IN_CHROME 34061
86 #define IDC_WEB_APP_SETTINGS 34062
87 #define IDC_WEB_APP_MENU_APP_INFO 34063
89 #if BUILDFLAG(IS_CHROMEOS_ASH)
90 // Move window to other user commands
91 #define IDC_VISIT_DESKTOP_OF_LRU_USER_2 34080
92 #define IDC_VISIT_DESKTOP_OF_LRU_USER_3 34081
93 #define IDC_VISIT_DESKTOP_OF_LRU_USER_4 34082
94 #define IDC_VISIT_DESKTOP_OF_LRU_USER_5 34083
95 #define IDC_VISIT_DESKTOP_OF_LRU_USER_NEXT IDC_VISIT_DESKTOP_OF_LRU_USER_2
96 #define IDC_VISIT_DESKTOP_OF_LRU_USER_LAST IDC_VISIT_DESKTOP_OF_LRU_USER_5
99 // Page-related commands
100 #define IDC_BOOKMARK_THIS_TAB 35000
101 #define IDC_BOOKMARK_ALL_TABS 35001
102 #define IDC_VIEW_SOURCE 35002
103 #define IDC_PRINT 35003
104 #define IDC_SAVE_PAGE 35004
105 #define IDC_EMAIL_PAGE_LOCATION 35006
106 #define IDC_BASIC_PRINT 35007
107 #define IDC_SAVE_CREDIT_CARD_FOR_PAGE 35008
108 #define IDC_SHOW_TRANSLATE 35009
109 #define IDC_MANAGE_PASSWORDS_FOR_PAGE 35010
110 #define IDC_ROUTE_MEDIA 35011
111 #define IDC_WINDOW_MUTE_SITE 35012
112 #define IDC_WINDOW_PIN_TAB 35013
113 #define IDC_WINDOW_GROUP_TAB 35014
114 #define IDC_MIGRATE_LOCAL_CREDIT_CARD_FOR_PAGE 35015
115 #define IDC_SEND_TAB_TO_SELF 35016
116 #define IDC_FOCUS_THIS_TAB 35017
117 #define IDC_QRCODE_GENERATOR 35021
118 #define IDC_WINDOW_CLOSE_TABS_TO_RIGHT 35022
119 #define IDC_WINDOW_CLOSE_OTHER_TABS 35023
120 #define IDC_NEW_TAB_TO_RIGHT 35024
121 #define IDC_SAVE_AUTOFILL_ADDRESS 35025
122 #define IDC_OFFERS_AND_REWARDS_FOR_PAGE 35026
123 #define IDC_WEBAUTHN 35027
124 #define IDC_SHARING_HUB 35028
125 #define IDC_SHARING_HUB_MENU 35029
126 #define IDC_VIRTUAL_CARD_MANUAL_FALLBACK 35030
127 #define IDC_SHARING_HUB_SCREENSHOT 35031
128 #define IDC_VIRTUAL_CARD_ENROLL 35032
129 #define IDC_FOLLOW 35033
130 #define IDC_UNFOLLOW 35034
131 #define IDC_SAVE_IBAN_FOR_PAGE 35035
132 #define IDC_AUTOFILL_MANDATORY_REAUTH 35036
133 #define IDC_PROFILE_MENU_IN_APP_MENU 35039
134 #define IDC_PASSWORDS_AND_AUTOFILL_MENU 35040
135 #define IDC_SHOW_PASSWORD_MANAGER 35041
136 #define IDC_SHOW_PAYMENT_METHODS 35042
137 #define IDC_SHOW_ADDRESSES 35043
138 #define IDC_ORGANIZE_TABS 35044
140 // Page-manipulation commands that target a specified tab, which may not be the
142 #define IDC_MUTE_TARGET_SITE 35050
143 #define IDC_PIN_TARGET_TAB 35051
144 #define IDC_GROUP_TARGET_TAB 35052
145 #define IDC_DUPLICATE_TARGET_TAB 35053
147 // Clipboard commands
148 #define IDC_CUT 36000
149 #define IDC_COPY 36001
150 #define IDC_PASTE 36003
151 #define IDC_EDIT_MENU 36004
154 #define IDC_FIND 37000
155 #define IDC_FIND_NEXT 37001
156 #define IDC_FIND_PREVIOUS 37002
157 #define IDC_CLOSE_FIND_OR_STOP 37003
158 #define IDC_FIND_MENU 37100
160 // Find/Edit sub menu
161 #define IDC_FIND_AND_EDIT_MENU 37200
163 // Save/Share sub menu
164 #define IDC_SAVE_AND_SHARE_MENU 37300
167 #define IDC_CUSTOMIZE_CHROME 37350
168 #define IDC_CLOSE_PROFILE 35351
169 #define IDC_MANAGE_GOOGLE_ACCOUNT 35352
170 #define IDC_SHOW_SYNC_SETTINGS 35353
171 #define IDC_TURN_ON_SYNC 35354
172 #define IDC_SHOW_SIGNIN_WHEN_PAUSED 35355
173 #define IDC_OPEN_GUEST_PROFILE 35356
174 #define IDC_ADD_NEW_PROFILE 35357
175 #define IDC_MANAGE_CHROME_PROFILES 35358
178 #define IDC_ZOOM_MENU 38000
179 #define IDC_ZOOM_PLUS 38001
180 #define IDC_ZOOM_NORMAL 38002
181 #define IDC_ZOOM_MINUS 38003
183 // Focus various bits of UI
184 #define IDC_FOCUS_TOOLBAR 39000
185 #define IDC_FOCUS_LOCATION 39001
186 #define IDC_FOCUS_SEARCH 39002
187 #define IDC_FOCUS_MENU_BAR 39003
188 #define IDC_FOCUS_NEXT_PANE 39004
189 #define IDC_FOCUS_PREVIOUS_PANE 39005
190 #define IDC_FOCUS_BOOKMARKS 39006
191 #define IDC_FOCUS_INACTIVE_POPUP_FOR_ACCESSIBILITY 39007
192 #define IDC_FOCUS_WEB_CONTENTS_PANE 39009
194 // Show various bits of UI
195 #define IDC_OPEN_FILE 40000
196 #define IDC_CREATE_SHORTCUT 40002
197 #define IDC_DEVELOPER_MENU 40003
198 #define IDC_DEV_TOOLS 40004
199 #define IDC_DEV_TOOLS_CONSOLE 40005
200 #define IDC_TASK_MANAGER 40006
201 #define IDC_DEV_TOOLS_DEVICES 40007
202 #define IDC_FEEDBACK 40008
203 #define IDC_SHOW_BOOKMARK_BAR 40009
204 #define IDC_SHOW_HISTORY 40010
205 #define IDC_SHOW_BOOKMARK_MANAGER 40011
206 #define IDC_SHOW_DOWNLOADS 40012
207 #define IDC_CLEAR_BROWSING_DATA 40013
208 #define IDC_IMPORT_SETTINGS 40014
209 #define IDC_OPTIONS 40015
210 #define IDC_EDIT_SEARCH_ENGINES 40016
211 #define IDC_VIEW_PASSWORDS 40017
212 #define IDC_ABOUT 40018
213 #define IDC_HELP_PAGE_VIA_KEYBOARD 40019
214 #define IDC_HELP_PAGE_VIA_MENU 40020
215 #define IDC_SHOW_APP_MENU 40021
216 #define IDC_MANAGE_EXTENSIONS 40022
217 #define IDC_DEV_TOOLS_INSPECT 40023
218 #define IDC_UPGRADE_DIALOG 40024
219 #define IDC_SHOW_HISTORY_CLUSTERS_SIDE_PANEL 40025
220 #define IDC_PROFILING_ENABLED 40028
221 #define IDC_BOOKMARKS_MENU 40029
222 #define IDC_EXTENSION_ERRORS 40031
223 #define IDC_SHOW_SETTINGS_CHANGE_FIRST 40033
224 #define IDC_SHOW_SETTINGS_CHANGE_LAST 40133
225 #define IDC_SHOW_AVATAR_MENU 40134
226 #define IDC_EXTENSION_INSTALL_ERROR_FIRST 40135
227 #define IDC_EXTENSION_INSTALL_ERROR_LAST 40235
228 #define IDC_TOGGLE_REQUEST_TABLET_SITE 40236
229 #define IDC_DEV_TOOLS_TOGGLE 40237
230 #define IDC_RECENT_TABS_MENU 40239
231 #define IDC_RECENT_TABS_NO_DEVICE_TABS 40240
232 #define IDC_SHOW_SETTINGS_RESET_BUBBLE 40241
233 #define IDC_DISTILL_PAGE 40243
234 #define IDC_HELP_MENU 40244
235 #define IDC_SHOW_SRT_BUBBLE 40246
236 #define IDC_ELEVATED_RECOVERY_DIALOG 40247
237 #define IDC_TAKE_SCREENSHOT 40248
238 #define IDC_MORE_TOOLS_MENU 40249
239 #define IDC_TOGGLE_FULLSCREEN_TOOLBAR 40250
240 #define IDC_CUSTOMIZE_TOUCH_BAR 40251
241 #define IDC_SHOW_BETA_FORUM 40252
242 #define IDC_TOGGLE_JAVASCRIPT_APPLE_EVENTS 40253
243 #define IDC_INSTALL_PWA 40254
244 #define IDC_SHOW_MANAGEMENT_PAGE 40255
245 #define IDC_PASTE_AND_GO 40256
246 #define IDC_SHOW_SAVE_LOCAL_CARD_SIGN_IN_PROMO_IF_APPLICABLE 40257
247 #define IDC_CLOSE_SIGN_IN_PROMO 40258
248 #define IDC_SHOW_FULL_URLS 40259
249 #define IDC_CARET_BROWSING_TOGGLE 40260
250 #define IDC_TOGGLE_QUICK_COMMANDS 40261
251 #define IDC_CHROME_TIPS 40263
252 #define IDC_CHROME_WHATS_NEW 40264
254 #if BUILDFLAG(IS_CHROMEOS_ASH)
255 #define IDC_LACROS_DATA_MIGRATION 40265
258 #define IDC_PERFORMANCE 40266
259 #define IDC_EXTENSIONS_SUBMENU 40267
260 #define IDC_EXTENSIONS_SUBMENU_MANAGE_EXTENSIONS 40268
261 #define IDC_EXTENSIONS_SUBMENU_VISIT_CHROME_WEB_STORE 40269
262 #define IDC_READING_LIST_MENU 40270
263 #define IDC_READING_LIST_MENU_ADD_TAB 40271
264 #define IDC_READING_LIST_MENU_SHOW_UI 40272
265 #define IDC_SHOW_READING_MODE_SIDE_PANEL 40273
266 #define IDC_SHOW_BOOKMARK_SIDE_PANEL 40274
267 #define IDC_SHOW_SEARCH_COMPANION 40275
268 #define IDC_SHOW_CHROME_LABS 40276
269 #define IDC_RECENT_TABS_LOGIN_FOR_DEVICE_TABS 40277
270 #define IDC_OPEN_RECENT_TAB 40278
271 #define IDC_OPEN_SAFETY_HUB 40279
274 // Insert any additional suggestions before _LAST; these have to be consecutive.
275 #define IDC_SPELLCHECK_SUGGESTION_0 41000
276 #define IDC_SPELLCHECK_SUGGESTION_1 41001
277 #define IDC_SPELLCHECK_SUGGESTION_2 41002
278 #define IDC_SPELLCHECK_SUGGESTION_3 41003
279 #define IDC_SPELLCHECK_SUGGESTION_4 41004
280 #define IDC_SPELLCHECK_SUGGESTION_LAST IDC_SPELLCHECK_SUGGESTION_4
281 #define IDC_SPELLCHECK_MENU 41005
282 // Language entries are inserted using autogenerated values between
284 #define IDC_SPELLCHECK_LANGUAGES_FIRST 41006
285 #define IDC_SPELLCHECK_LANGUAGES_LAST 41106
286 #define IDC_CHECK_SPELLING_WHILE_TYPING 41107
287 #define IDC_SPELLPANEL_TOGGLE 41109
288 #define IDC_SPELLCHECK_ADD_TO_DICTIONARY 41110
289 #define IDC_SPELLCHECK_MULTI_LINGUAL 41111
292 #define IDC_WRITING_DIRECTION_MENU 41120
293 #define IDC_WRITING_DIRECTION_DEFAULT 41121
294 #define IDC_WRITING_DIRECTION_LTR 41122
295 #define IDC_WRITING_DIRECTION_RTL 41123
298 #define IDC_TRANSLATE_ORIGINAL_LANGUAGE_BASE 42100
299 #define IDC_TRANSLATE_TARGET_LANGUAGE_BASE 42400
301 // Identifiers for platform-specific items.
302 // Placed in a common file to help insure they never collide.
303 #define IDC_VIEW_MENU 44000 // OSX only
304 #define IDC_FILE_MENU 44001 // OSX only
305 #define IDC_CHROME_MENU 44002 // OSX only
306 #define IDC_HIDE_APP 44003 // OSX only
307 #define IDC_HISTORY_MENU 46000 // OSX only
308 #define IDC_TAB_MENU 46001 // OSX only
309 #define IDC_PROFILE_MAIN_MENU 46100 // OSX only
310 #define IDC_INPUT_METHODS_MENU 46300 // Linux only
312 // The range of command ids reserved for context menus added by web content.
313 #define IDC_CONTENT_CONTEXT_CUSTOM_FIRST 47000
314 #define IDC_CONTENT_CONTEXT_CUSTOM_LAST 48000
316 // The range of command ids reserved for context menus added by extensions.
317 #define IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST 49000
318 #define IDC_EXTENSIONS_CONTEXT_CUSTOM_LAST 50000
320 // Context menu items in the render view.
322 #define IDC_CONTENT_CONTEXT_OPENLINKNEWTAB 50100
323 #define IDC_CONTENT_CONTEXT_OPENLINKNEWWINDOW 50101
324 #define IDC_CONTENT_CONTEXT_OPENLINKOFFTHERECORD 50102
325 #define IDC_CONTENT_CONTEXT_SAVELINKAS 50103
326 #define IDC_CONTENT_CONTEXT_COPYLINKLOCATION 50104
327 #define IDC_CONTENT_CONTEXT_COPYEMAILADDRESS 50105
328 #define IDC_CONTENT_CONTEXT_OPENLINKWITH 50106
329 #define IDC_CONTENT_CONTEXT_COPYLINKTEXT 50107
330 #define IDC_CONTENT_CONTEXT_OPENLINKINPROFILE 50108
331 #define IDC_CONTENT_CONTEXT_OPENLINKBOOKMARKAPP 50109
333 #define IDC_CONTENT_CONTEXT_SAVEIMAGEAS 50110
334 #define IDC_CONTENT_CONTEXT_COPYIMAGELOCATION 50111
335 #define IDC_CONTENT_CONTEXT_COPYIMAGE 50112
336 #define IDC_CONTENT_CONTEXT_OPENIMAGENEWTAB 50113
337 #define IDC_CONTENT_CONTEXT_SEARCHWEBFORIMAGE 50114
338 #define IDC_CONTENT_CONTEXT_OPEN_ORIGINAL_IMAGE_NEW_TAB 50115
339 #define IDC_CONTENT_CONTEXT_LOAD_IMAGE 50116
340 #define IDC_CONTENT_CONTEXT_SEARCHLENSFORIMAGE 50117
341 #define IDC_CONTENT_CONTEXT_TRANSLATEIMAGEWITHWEB 50118
342 #define IDC_CONTENT_CONTEXT_TRANSLATEIMAGEWITHLENS 50119
343 // Audio/video items.
344 #define IDC_CONTENT_CONTEXT_SAVEVIDEOFRAMEAS 50120
345 #define IDC_CONTENT_CONTEXT_SAVEAVAS 50121
346 #define IDC_CONTENT_CONTEXT_COPYAVLOCATION 50122
347 #define IDC_CONTENT_CONTEXT_COPYVIDEOFRAME 50123
348 #define IDC_CONTENT_CONTEXT_OPENAVNEWTAB 50124
349 #define IDC_CONTENT_CONTEXT_PICTUREINPICTURE 50125
351 #define IDC_CONTENT_CONTEXT_LOOP 50130
352 #define IDC_CONTENT_CONTEXT_CONTROLS 50131
353 #define IDC_CONTENT_CONTEXT_ROTATECW 50132
354 #define IDC_CONTENT_CONTEXT_ROTATECCW 50133
356 #define IDC_CONTENT_CONTEXT_COPY 50140
357 #define IDC_CONTENT_CONTEXT_CUT 50141
358 #define IDC_CONTENT_CONTEXT_PASTE 50142
359 #define IDC_CONTENT_CONTEXT_DELETE 50143
360 #define IDC_CONTENT_CONTEXT_UNDO 50144
361 #define IDC_CONTENT_CONTEXT_REDO 50145
362 #define IDC_CONTENT_CONTEXT_SELECTALL 50146
363 #define IDC_CONTENT_CONTEXT_PASTE_AND_MATCH_STYLE 50147
364 #define IDC_CONTENT_CONTEXT_COPYLINKTOTEXT 50148
365 #define IDC_CONTENT_CONTEXT_RESHARELINKTOTEXT 50149
366 #define IDC_CONTENT_CONTEXT_REMOVELINKTOTEXT 50150
368 #define IDC_CONTENT_CONTEXT_TRANSLATE 50151
369 #define IDC_CONTENT_CONTEXT_INSPECTELEMENT 50152
370 #define IDC_CONTENT_CONTEXT_VIEWPAGEINFO 50153
371 #define IDC_CONTENT_CONTEXT_LANGUAGE_SETTINGS 50154
372 #define IDC_CONTENT_CONTEXT_LOOK_UP 50155
373 #define IDC_CONTENT_CONTEXT_NO_SPELLING_SUGGESTIONS 50156
374 #define IDC_CONTENT_CONTEXT_SPELLING_SUGGESTION 50157
375 #define IDC_CONTENT_CONTEXT_SPELLING_TOGGLE 50158
376 #define IDC_CONTENT_CONTEXT_OPEN_IN_READING_MODE 50159
377 #define IDC_CONTENT_CONTEXT_SAVEPLUGINAS 50160
378 #define IDC_CONTENT_CONTEXT_INSPECTBACKGROUNDPAGE 50161
379 #define IDC_CONTENT_CONTEXT_RELOAD_PACKAGED_APP 50162
380 #define IDC_CONTENT_CONTEXT_RESTART_PACKAGED_APP 50163
381 #define IDC_CONTENT_CONTEXT_LENS_REGION_SEARCH 50164
382 #define IDC_CONTENT_CONTEXT_WEB_REGION_SEARCH 50165
383 #define IDC_CONTENT_CONTEXT_GENERATEPASSWORD 50166
384 #define IDC_CONTENT_CONTEXT_EXIT_FULLSCREEN 50167
385 #define IDC_CONTENT_CONTEXT_SHOWALLSAVEDPASSWORDS 50168
386 #define IDC_CONTENT_CONTEXT_PARTIAL_TRANSLATE 50169
388 #define IDC_CONTENT_CONTEXT_RELOADFRAME 50170
389 #define IDC_CONTENT_CONTEXT_VIEWFRAMESOURCE 50171
390 #define IDC_CONTENT_CONTEXT_VIEWFRAMEINFO 50172
392 #define IDC_CONTENT_CONTEXT_ADD_A_NOTE 50175
394 #define IDC_CONTENT_CONTEXT_GOTOURL 50180
395 #define IDC_CONTENT_CONTEXT_SEARCHWEBFOR 50181
396 #define IDC_CONTENT_CONTEXT_SEARCHWEBFORNEWTAB 50182
398 #define IDC_CONTENT_CONTEXT_OPEN_WITH1 50190
399 #define IDC_CONTENT_CONTEXT_OPEN_WITH2 50191
400 #define IDC_CONTENT_CONTEXT_OPEN_WITH3 50192
401 #define IDC_CONTENT_CONTEXT_OPEN_WITH4 50193
402 #define IDC_CONTENT_CONTEXT_OPEN_WITH5 50194
403 #define IDC_CONTENT_CONTEXT_OPEN_WITH6 50195
404 #define IDC_CONTENT_CONTEXT_OPEN_WITH7 50196
405 #define IDC_CONTENT_CONTEXT_OPEN_WITH8 50197
406 #define IDC_CONTENT_CONTEXT_OPEN_WITH9 50198
407 #define IDC_CONTENT_CONTEXT_OPEN_WITH10 50199
408 #define IDC_CONTENT_CONTEXT_OPEN_WITH11 50200
409 #define IDC_CONTENT_CONTEXT_OPEN_WITH12 50201
410 #define IDC_CONTENT_CONTEXT_OPEN_WITH13 50202
411 #define IDC_CONTENT_CONTEXT_OPEN_WITH14 50203
412 #define IDC_CONTENT_CONTEXT_OPEN_WITH_LAST IDC_CONTENT_CONTEXT_OPEN_WITH14
413 // Context menu items that provide fast access to input methods.
414 #define IDC_CONTENT_CONTEXT_EMOJI 50210
415 #define IDC_CONTEXT_COMPOSE 50220
416 // Context menu items in the bookmark bar
417 #define IDC_BOOKMARK_BAR_OPEN_ALL 51000
418 #define IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW 51001
419 #define IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO 51002
420 #define IDC_BOOKMARK_BAR_OPEN_INCOGNITO 51003
421 #define IDC_BOOKMARK_BAR_OPEN_ALL_NEW_TAB_GROUP 51004
422 #define IDC_BOOKMARK_BAR_RENAME_FOLDER 51005
423 #define IDC_BOOKMARK_BAR_EDIT 51006
424 #define IDC_BOOKMARK_BAR_REMOVE 51007
425 #define IDC_BOOKMARK_BAR_UNDO 51008
426 #define IDC_BOOKMARK_BAR_REDO 51009
427 #define IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK 51010
428 #define IDC_BOOKMARK_BAR_NEW_FOLDER 51011
429 #define IDC_BOOKMARK_MANAGER 51012
430 #define IDC_BOOKMARK_BAR_ALWAYS_SHOW 51013
431 #define IDC_BOOKMARK_BAR_SHOW_APPS_SHORTCUT 51014
432 #define IDC_BOOKMARK_BAR_SHOW_READING_LIST 51015
433 #define IDC_BOOKMARK_BAR_SHOW_MANAGED_BOOKMARKS 51016
434 #define IDC_BOOKMARK_BAR_TRACK_PRICE_FOR_SHOPPING_BOOKMARK 51017
435 #define IDC_BOOKMARK_BAR_UNTRACK_PRICE_FOR_SHOPPING_BOOKMARK 51018
436 #define IDC_BOOKMARK_BAR_ADD_TO_BOOKMARKS_BAR 51019
437 #define IDC_BOOKMARK_BAR_REMOVE_FROM_BOOKMARKS_BAR 51020
439 // Context menu items for Sharing
440 #define IDC_CONTENT_CONTEXT_SHARING_CLICK_TO_CALL_SINGLE_DEVICE 51030
441 #define IDC_CONTENT_CONTEXT_SHARING_CLICK_TO_CALL_MULTIPLE_DEVICES 51031
442 #define IDC_CONTENT_CONTEXT_SHARING_SHARED_CLIPBOARD_SINGLE_DEVICE 51032
443 #define IDC_CONTENT_CONTEXT_SHARING_SHARED_CLIPBOARD_MULTIPLE_DEVICES 51033
444 #define IDC_CONTENT_CONTEXT_GENERATE_QR_CODE 51034
445 #define IDC_CONTENT_CONTEXT_SHARING_SUBMENU 51035
446 // Context menu item to show the clipboard history menu
447 #define IDC_CONTENT_CLIPBOARD_HISTORY_MENU 51036
448 #define IDC_CONTENT_PASTE_FROM_CLIPBOARD 51037
450 // Context menu items in the status tray
451 #define IDC_STATUS_TRAY_KEEP_CHROME_RUNNING_IN_BACKGROUND 51100
453 // Context menu items for media router
454 #define IDC_MEDIA_ROUTER_ABOUT 51200
455 #define IDC_MEDIA_ROUTER_HELP 51201
456 #define IDC_MEDIA_ROUTER_LEARN_MORE 51202
457 #define IDC_MEDIA_ROUTER_ALWAYS_SHOW_TOOLBAR_ACTION 51204
458 #define IDC_MEDIA_ROUTER_SHOWN_BY_POLICY 51206
459 #define IDC_MEDIA_ROUTER_SHOW_IN_TOOLBAR 51207
460 #define IDC_MEDIA_ROUTER_TOGGLE_MEDIA_REMOTING 51208
462 // Context menu items for media toolbar button
463 #if BUILDFLAG(GOOGLE_CHROME_BRANDING)
464 #define IDC_MEDIA_TOOLBAR_CONTEXT_REPORT_CAST_ISSUE 51209
466 #define IDC_MEDIA_TOOLBAR_CONTEXT_SHOW_OTHER_SESSIONS 51210
468 // Context menu items for media stream status tray
469 #define IDC_MEDIA_STREAM_DEVICE_STATUS_TRAY 51300
470 #define IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_FIRST 51301
471 #define IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_LAST 51399
472 #define IDC_MEDIA_STREAM_DEVICE_ALWAYS_ALLOW 51400
474 // Protocol handler menu entries
475 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_FIRST 52000
476 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_LAST 52199
477 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_SETTINGS 52200
479 // Open link in profile entries
480 #define IDC_OPEN_LINK_IN_PROFILE_FIRST 52300
481 #define IDC_OPEN_LINK_IN_PROFILE_LAST 52399
483 // Start smart text selection actions
484 #define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION1 52400
485 #define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION2 52401
486 #define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION3 52402
487 #define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION4 52403
488 #define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION5 52404
489 #define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION_LAST IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION5
490 // A gap here for new smart text selection actions.
492 // Accessibility labels
493 #define IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS_TOGGLE 52410
494 #define IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS 52411
495 #define IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS_TOGGLE_ONCE 52412
497 #if BUILDFLAG(IS_CHROMEOS_ASH)
498 // Quick Answers context menu items.
499 #define IDC_CONTENT_CONTEXT_QUICK_ANSWERS_INLINE_ANSWER 52413
500 #define IDC_CONTENT_CONTEXT_QUICK_ANSWERS_INLINE_QUERY 52414
503 // Screen AI layout extraction.
504 #define IDC_CONTENT_CONTEXT_RUN_LAYOUT_EXTRACTION 52420
507 #define IDC_CONTENT_CONTEXT_PDF_OCR 52421
510 #define IDC_TAB_SEARCH 52500
511 #define IDC_TAB_SEARCH_CLOSE 52501
513 // Views debug commands.
514 #define IDC_DEBUG_TOGGLE_TABLET_MODE 52510
515 #define IDC_DEBUG_PRINT_VIEW_TREE 52511
516 #define IDC_DEBUG_PRINT_VIEW_TREE_DETAILS 52512
517 // Please leave a gap here for new debug commands.
519 // Autofill feedback.
520 #define IDC_CONTENT_CONTEXT_AUTOFILL_FEEDBACK 52990
521 // Autofill context menu commands
522 #define IDC_CONTENT_CONTEXT_AUTOFILL_FALLBACK_ADDRESS 52995
523 #define IDC_CONTENT_CONTEXT_AUTOFILL_FALLBACK_PAYMENTS 52996
526 #define IDC_LIVE_CAPTION 53251
528 // Device API system tray icon
529 #define IDC_DEVICE_SYSTEM_TRAY_ICON_FIRST 53260
530 #define IDC_DEVICE_SYSTEM_TRAY_ICON_LAST 53299
532 // NOTE: The last valid command value is 57343 (0xDFFF)
533 // See http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx
535 // Starting command id for menus showing an arbitrarily high (variable) number
536 // of menu items. Currently, this includes the recent tabs and bookmarks menus.
537 // While command ids passed to Windows functions must not be higher than
538 // 0xDFFF, these IDs are not exposed to the native system and thus can be in
539 // this otherwise-reserved range.
540 // WARNING: No command used in a bounded menu should be higher than this,
541 // otherwise it'll conflict. Unbounded menus must also avoid conflicting with
542 // each other, by only using every Nth id (where N is the number of unbounded
544 #define IDC_FIRST_UNBOUNDED_MENU COMMAND_ID_FIRST_UNBOUNDED
546 #endif // CHROME_APP_CHROME_COMMAND_IDS_H_