File: chrome_command_ids.h

package info (click to toggle)
chromium 139.0.7258.127-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 6,122,068 kB
  • sloc: cpp: 35,100,771; ansic: 7,163,530; javascript: 4,103,002; python: 1,436,920; asm: 946,517; xml: 746,709; pascal: 187,653; perl: 88,691; sh: 88,436; objc: 79,953; sql: 51,488; cs: 44,583; fortran: 24,137; makefile: 22,147; tcl: 15,277; php: 13,980; yacc: 8,984; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (600 lines) | stat: -rw-r--r-- 25,651 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_APP_CHROME_COMMAND_IDS_H_
#define CHROME_APP_CHROME_COMMAND_IDS_H_

#include "build/branding_buildflags.h"
#include "build/build_config.h"
#include "services/screen_ai/buildflags/buildflags.h"
#include "ui/base/command_id_constants.h"

// This file lists all the command IDs understood by e.g. the browser.
// It is used by Windows RC files, Mac NIB files, and other platforms too.

// clang-format off

// Note: Add `NO_IFTTT=<reason>` in the CL description if the linter is not
// applicable.
//
// LINT.IfChange(ChromeCommandIds)

// Values below IDC_MinimumLabelValue are reserved for dynamic menu items.
#define IDC_MinimumLabelValue           4000

// NOTE: Within each of the following sections, the IDs are ordered roughly by
// how they appear in the GUI/menus (left to right, top to bottom, etc.).

// Navigation commands
// TODO: Reorder to be in visible order; collapse holes
#define IDC_BACK                        33000
#define IDC_FORWARD                     33001
#define IDC_RELOAD                      33002
#define IDC_HOME                        33003
#define IDC_OPEN_CURRENT_URL            33004
#define IDC_STOP                        33006
#define IDC_RELOAD_BYPASSING_CACHE      33007
#define IDC_RELOAD_CLEARING_CACHE       33009

// Window management commands
#define IDC_NEW_WINDOW                  34000
#define IDC_NEW_INCOGNITO_WINDOW        34001
#define IDC_CLOSE_WINDOW                34012
#define IDC_ALWAYS_ON_TOP               34013
#define IDC_NEW_TAB                     34014
#define IDC_CLOSE_TAB                   34015
#define IDC_SELECT_NEXT_TAB             34016
#define IDC_SELECT_PREVIOUS_TAB         34017
#define IDC_SELECT_TAB_0                34018
#define IDC_SELECT_TAB_1                34019
#define IDC_SELECT_TAB_2                34020
#define IDC_SELECT_TAB_3                34021
#define IDC_SELECT_TAB_4                34022
#define IDC_SELECT_TAB_5                34023
#define IDC_SELECT_TAB_6                34024
#define IDC_SELECT_TAB_7                34025
#define IDC_SELECT_LAST_TAB             34026
#define IDC_DUPLICATE_TAB               34027
#define IDC_RESTORE_TAB                 34028
#define IDC_SHOW_AS_TAB                 34029
#define IDC_FULLSCREEN                  34030
#define IDC_EXIT                        34031
#define IDC_MOVE_TAB_NEXT               34032
#define IDC_MOVE_TAB_PREVIOUS           34033
#define IDC_SEARCH                      34035
#define IDC_WINDOW_MENU                 34045
#define IDC_MINIMIZE_WINDOW             34046
#define IDC_MAXIMIZE_WINDOW             34047
#define IDC_ALL_WINDOWS_FRONT           34048
#define IDC_NAME_WINDOW                 34049
#if BUILDFLAG(IS_CHROMEOS)
#define IDC_TOGGLE_MULTITASK_MENU       34050
#endif

#if BUILDFLAG(IS_LINUX)
#define IDC_USE_SYSTEM_TITLE_BAR        34051
#endif

#if BUILDFLAG(IS_LINUX)
#define IDC_RESTORE_WINDOW              34052
#endif

#define IDC_OPEN_IN_PWA_WINDOW          34053
#define IDC_MOVE_TAB_TO_NEW_WINDOW      34054
#define IDC_NEW_SPLIT_TAB               34055

// Web app window commands
#define IDC_COPY_URL                    34060
#define IDC_OPEN_IN_CHROME              34061
#define IDC_WEB_APP_SETTINGS            34062
#define IDC_WEB_APP_MENU_APP_INFO    34063

#if BUILDFLAG(IS_CHROMEOS)
// Move window to other user commands
#define IDC_VISIT_DESKTOP_OF_LRU_USER_2 34080
#define IDC_VISIT_DESKTOP_OF_LRU_USER_3 34081
#define IDC_VISIT_DESKTOP_OF_LRU_USER_4 34082
#define IDC_VISIT_DESKTOP_OF_LRU_USER_5 34083
#define IDC_VISIT_DESKTOP_OF_LRU_USER_NEXT IDC_VISIT_DESKTOP_OF_LRU_USER_2
#define IDC_VISIT_DESKTOP_OF_LRU_USER_LAST IDC_VISIT_DESKTOP_OF_LRU_USER_5
#endif

// Tab group Commands
#define IDC_ADD_NEW_TAB_TO_GROUP      34100
#define IDC_CREATE_NEW_TAB_GROUP      34101
#define IDC_FOCUS_NEXT_TAB_GROUP      34102
#define IDC_FOCUS_PREV_TAB_GROUP      34103
#define IDC_CLOSE_TAB_GROUP           34104

// Page-related commands
#define IDC_BOOKMARK_THIS_TAB           35000
#define IDC_BOOKMARK_ALL_TABS           35001
#define IDC_VIEW_SOURCE                 35002
#define IDC_PRINT                       35003
#define IDC_SAVE_PAGE                   35004
#define IDC_EMAIL_PAGE_LOCATION         35006
#define IDC_BASIC_PRINT                 35007
#define IDC_SAVE_CREDIT_CARD_FOR_PAGE   35008
#define IDC_SHOW_TRANSLATE              35009
#define IDC_MANAGE_PASSWORDS_FOR_PAGE   35010
#define IDC_ROUTE_MEDIA                 35011
#define IDC_WINDOW_MUTE_SITE            35012
#define IDC_WINDOW_PIN_TAB              35013
#define IDC_WINDOW_GROUP_TAB            35014
#define IDC_MIGRATE_LOCAL_CREDIT_CARD_FOR_PAGE 35015
#define IDC_SEND_TAB_TO_SELF            35016
#define IDC_FOCUS_THIS_TAB              35017
#define IDC_QRCODE_GENERATOR            35021
#define IDC_WINDOW_CLOSE_TABS_TO_RIGHT  35022
#define IDC_WINDOW_CLOSE_OTHER_TABS     35023
#define IDC_NEW_TAB_TO_RIGHT            35024
#define IDC_SAVE_AUTOFILL_ADDRESS       35025
#define IDC_OFFERS_AND_REWARDS_FOR_PAGE 35026
#define IDC_WEBAUTHN                    35027
#define IDC_SHARING_HUB                 35028
#define IDC_SHARING_HUB_MENU            35029
#define IDC_FILLED_CARD_INFORMATION     35030
#define IDC_SHARING_HUB_SCREENSHOT      35031
#define IDC_VIRTUAL_CARD_ENROLL         35032
#define IDC_SAVE_IBAN_FOR_PAGE          35035
#define IDC_AUTOFILL_MANDATORY_REAUTH   35036
#define IDC_PROFILE_MENU_IN_APP_MENU    35039
#define IDC_PASSWORDS_AND_AUTOFILL_MENU 35040
#define IDC_SHOW_PASSWORD_MANAGER       35041
#define IDC_SHOW_PAYMENT_METHODS        35042
#define IDC_SHOW_ADDRESSES              35043
#define IDC_ORGANIZE_TABS               35044
#define IDC_DECLUTTER_TABS              35045
#define IDC_SEND_SHARED_TAB_GROUP_FEEDBACK 35046

// Page-manipulation commands that target a specified tab, which may not be the
// active one.
#define IDC_MUTE_TARGET_SITE            35050
#define IDC_PIN_TARGET_TAB              35051
#define IDC_GROUP_TARGET_TAB            35052
#define IDC_DUPLICATE_TARGET_TAB        35053

// Clipboard commands
#define IDC_CUT                         36000
#define IDC_COPY                        36001
#define IDC_PASTE                       36003
#define IDC_EDIT_MENU                   36004

// Find-in-page
#define IDC_FIND                        37000
#define IDC_FIND_NEXT                   37001
#define IDC_FIND_PREVIOUS               37002
#define IDC_CLOSE_FIND_OR_STOP          37003
#define IDC_FIND_MENU                   37100

// Find/Edit sub menu
#define IDC_FIND_AND_EDIT_MENU          37200

// Save/Share sub menu
#define IDC_SAVE_AND_SHARE_MENU         37300

// Profile sub menu
#define IDC_CUSTOMIZE_CHROME            37350
#define IDC_CLOSE_PROFILE               35351
#define IDC_MANAGE_GOOGLE_ACCOUNT       35352
#define IDC_SHOW_SYNC_SETTINGS          35353
#define IDC_TURN_ON_SYNC                35354
#define IDC_SHOW_SIGNIN_WHEN_PAUSED     35355
#define IDC_OPEN_GUEST_PROFILE          35356
#define IDC_ADD_NEW_PROFILE             35357
#define IDC_MANAGE_CHROME_PROFILES      35358

// Zoom
#define IDC_ZOOM_MENU                   38000
#define IDC_ZOOM_PLUS                   38001
#define IDC_ZOOM_NORMAL                 38002
#define IDC_ZOOM_MINUS                  38003

// Focus various bits of UI
#define IDC_FOCUS_TOOLBAR               39000
#define IDC_FOCUS_LOCATION              39001
#define IDC_FOCUS_SEARCH                39002
#define IDC_FOCUS_MENU_BAR              39003
#define IDC_FOCUS_NEXT_PANE             39004
#define IDC_FOCUS_PREVIOUS_PANE         39005
#define IDC_FOCUS_BOOKMARKS             39006
#define IDC_FOCUS_INACTIVE_POPUP_FOR_ACCESSIBILITY 39007
#define IDC_FOCUS_WEB_CONTENTS_PANE     39009

// Show various bits of UI
#define IDC_OPEN_FILE                   40000
#define IDC_CREATE_SHORTCUT             40002
#define IDC_DEVELOPER_MENU              40003
#define IDC_DEV_TOOLS                   40004
#define IDC_DEV_TOOLS_CONSOLE           40005
#define IDC_TASK_MANAGER                40006
#define IDC_DEV_TOOLS_DEVICES           40007
#define IDC_FEEDBACK                    40008
#define IDC_SHOW_BOOKMARK_BAR           40009
#define IDC_SHOW_HISTORY                40010
#define IDC_SHOW_BOOKMARK_MANAGER       40011
#define IDC_SHOW_DOWNLOADS              40012
#define IDC_CLEAR_BROWSING_DATA         40013
#define IDC_IMPORT_SETTINGS             40014
#define IDC_OPTIONS                     40015
#define IDC_EDIT_SEARCH_ENGINES         40016
#define IDC_VIEW_PASSWORDS              40017
#define IDC_ABOUT                       40018
#define IDC_HELP_PAGE_VIA_KEYBOARD      40019
#define IDC_HELP_PAGE_VIA_MENU          40020
#define IDC_SHOW_APP_MENU               40021
#define IDC_MANAGE_EXTENSIONS           40022
#define IDC_DEV_TOOLS_INSPECT           40023
#define IDC_UPGRADE_DIALOG              40024
#define IDC_SHOW_HISTORY_CLUSTERS_SIDE_PANEL 40025
#define IDC_PROFILING_ENABLED           40028
#define IDC_BOOKMARKS_MENU              40029
#define IDC_SAVED_TAB_GROUPS_MENU       40030
#define IDC_EXTENSION_ERRORS            40031
#define IDC_SHOW_SETTINGS_CHANGE_FIRST  40033
#define IDC_SHOW_SETTINGS_CHANGE_LAST   40133
#define IDC_SHOW_AVATAR_MENU            40134
#define IDC_EXTENSION_INSTALL_ERROR_FIRST 40135
#define IDC_EXTENSION_INSTALL_ERROR_LAST 40235
#define IDC_TOGGLE_REQUEST_TABLET_SITE  40236
#define IDC_DEV_TOOLS_TOGGLE            40237
#define IDC_RECENT_TABS_MENU            40239
#define IDC_RECENT_TABS_NO_DEVICE_TABS  40240
#define IDC_SHOW_SETTINGS_RESET_BUBBLE  40241
#define IDC_DISTILL_PAGE                40243
#define IDC_HELP_MENU                   40244
#define IDC_SHOW_SRT_BUBBLE             40246
#define IDC_ELEVATED_RECOVERY_DIALOG    40247
#define IDC_TAKE_SCREENSHOT             40248
#define IDC_MORE_TOOLS_MENU             40249
#define IDC_TOGGLE_FULLSCREEN_TOOLBAR   40250
#define IDC_CUSTOMIZE_TOUCH_BAR         40251
#define IDC_SHOW_BETA_FORUM             40252
#define IDC_TOGGLE_JAVASCRIPT_APPLE_EVENTS 40253
#define IDC_INSTALL_PWA                 40254
#define IDC_SHOW_MANAGEMENT_PAGE             40255
#define IDC_PASTE_AND_GO                40256
#define IDC_SHOW_SAVE_LOCAL_CARD_SIGN_IN_PROMO_IF_APPLICABLE 40257
#define IDC_CLOSE_SIGN_IN_PROMO        40258
#define IDC_SHOW_FULL_URLS             40259
#define IDC_CARET_BROWSING_TOGGLE      40260
#define IDC_CHROME_TIPS                40263
#define IDC_CHROME_WHATS_NEW           40264
#define IDC_PERFORMANCE                             40266
#define IDC_EXTENSIONS_SUBMENU                         40267
#define IDC_EXTENSIONS_SUBMENU_MANAGE_EXTENSIONS       40268
#define IDC_EXTENSIONS_SUBMENU_VISIT_CHROME_WEB_STORE  40269
#define IDC_READING_LIST_MENU           40270
#define IDC_READING_LIST_MENU_ADD_TAB   40271
#define IDC_READING_LIST_MENU_SHOW_UI   40272
#define IDC_SHOW_READING_MODE_SIDE_PANEL 40273
#define IDC_SHOW_BOOKMARK_SIDE_PANEL    40274
#define IDC_SHOW_CHROME_LABS            40276
#define IDC_RECENT_TABS_LOGIN_FOR_DEVICE_TABS  40277
#define IDC_OPEN_RECENT_TAB             40278
#define IDC_OPEN_SAFETY_HUB             40279
#define IDC_SAFETY_HUB_SHOW_PASSWORD_CHECKUP  40280
#define IDC_SAFETY_HUB_MANAGE_EXTENSIONS  40281
#define IDC_SHOW_GOOGLE_LENS_SHORTCUT   40282
#define IDC_SHOW_CUSTOMIZE_CHROME_SIDE_PANEL 40283
#define IDC_SHOW_CUSTOMIZE_CHROME_TOOLBAR 40284
#define IDC_TASK_MANAGER_APP_MENU       40285
#define IDC_TASK_MANAGER_SHORTCUT       40286
#define IDC_TASK_MANAGER_CONTEXT_MENU   40287
#define IDC_TASK_MANAGER_MAIN_MENU      40288
#define IDC_COMPARE_MENU                40289
#define IDC_SHOW_ALL_COMPARISON_TABLES  40290
#define IDC_ADD_TO_COMPARISON_TABLE_MENU 40291
#define IDC_CREATE_NEW_COMPARISON_TABLE_WITH_TAB 40292
#define IDC_SHOW_HISTORY_SIDE_PANEL     40293
#define IDC_OPEN_GLIC                   40294
#define IDC_FIND_EXTENSIONS  40295
#define IDC_SHOW_SEARCH_TOOLS  40296

// Spell-check
// Insert any additional suggestions before _LAST; these have to be consecutive.
#define IDC_SPELLCHECK_SUGGESTION_0     41000
#define IDC_SPELLCHECK_SUGGESTION_1     41001
#define IDC_SPELLCHECK_SUGGESTION_2     41002
#define IDC_SPELLCHECK_SUGGESTION_3     41003
#define IDC_SPELLCHECK_SUGGESTION_4     41004
#define IDC_SPELLCHECK_SUGGESTION_LAST  IDC_SPELLCHECK_SUGGESTION_4
#define IDC_SPELLCHECK_MENU             41005
// Language entries are inserted using autogenerated values between
// [_FIRST, _LAST).
#define IDC_SPELLCHECK_LANGUAGES_FIRST  41006
#define IDC_SPELLCHECK_LANGUAGES_LAST   41106
#define IDC_CHECK_SPELLING_WHILE_TYPING 41107
#define IDC_SPELLPANEL_TOGGLE           41109
#define IDC_SPELLCHECK_ADD_TO_DICTIONARY 41110
#define IDC_SPELLCHECK_MULTI_LINGUAL    41111

// Writing direction
#define IDC_WRITING_DIRECTION_MENU       41120
#define IDC_WRITING_DIRECTION_DEFAULT    41121
#define IDC_WRITING_DIRECTION_LTR        41122
#define IDC_WRITING_DIRECTION_RTL        41123

// Translate
#define IDC_TRANSLATE_ORIGINAL_LANGUAGE_BASE 42100
#define IDC_TRANSLATE_TARGET_LANGUAGE_BASE   42400

// Identifiers for platform-specific items.
// Placed in a common file to help insure they never collide.
#define IDC_VIEW_MENU                   44000     // OSX only
#define IDC_FILE_MENU                   44001     // OSX only
#define IDC_CHROME_MENU                 44002     // OSX only
#define IDC_HIDE_APP                    44003     // OSX only
#define IDC_HISTORY_MENU                46000     // OSX only
#define IDC_TAB_MENU                    46001     // OSX only
#define IDC_PROFILE_MAIN_MENU           46100     // OSX only
#define IDC_INPUT_METHODS_MENU          46300     // Linux only

// The range of command ids reserved for context menus added by web content.
#define IDC_CONTENT_CONTEXT_CUSTOM_FIRST 47000
#define IDC_CONTENT_CONTEXT_CUSTOM_LAST  48000

// The range of command ids reserved for context menus added by extensions.
#define IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST 49000
#define IDC_EXTENSIONS_CONTEXT_CUSTOM_LAST 50000

// Context menu items in the render view.
// Link items.
#define IDC_CONTENT_CONTEXT_OPENLINKNEWTAB 50100
#define IDC_CONTENT_CONTEXT_OPENLINKNEWWINDOW 50101
#define IDC_CONTENT_CONTEXT_OPENLINKOFFTHERECORD 50102
#define IDC_CONTENT_CONTEXT_SAVELINKAS 50103
#define IDC_CONTENT_CONTEXT_COPYLINKLOCATION 50104
#define IDC_CONTENT_CONTEXT_COPYEMAILADDRESS 50105
#define IDC_CONTENT_CONTEXT_OPENLINKWITH 50106
#define IDC_CONTENT_CONTEXT_COPYLINKTEXT 50107
#define IDC_CONTENT_CONTEXT_OPENLINKINPROFILE 50108
#define IDC_CONTENT_CONTEXT_OPENLINKBOOKMARKAPP 50109
#define IDC_CONTENT_CONTEXT_OPENLINKPREVIEW 50110
#define IDC_CONTENT_CONTEXT_OPENLINKSPLITVIEW 50111
// Image items.
#define IDC_CONTENT_CONTEXT_SAVEIMAGEAS 50120
#define IDC_CONTENT_CONTEXT_COPYIMAGELOCATION 50121
#define IDC_CONTENT_CONTEXT_COPYIMAGE 50122
#define IDC_CONTENT_CONTEXT_OPENIMAGENEWTAB 50123
#define IDC_CONTENT_CONTEXT_SEARCHWEBFORIMAGE 50124
#define IDC_CONTENT_CONTEXT_OPEN_ORIGINAL_IMAGE_NEW_TAB 50125
#define IDC_CONTENT_CONTEXT_LOAD_IMAGE 50126
#define IDC_CONTENT_CONTEXT_SEARCHLENSFORIMAGE 50127
// Audio/video items.
#define IDC_CONTENT_CONTEXT_SAVEVIDEOFRAMEAS 50130
#define IDC_CONTENT_CONTEXT_SAVEAVAS 50131
#define IDC_CONTENT_CONTEXT_COPYAVLOCATION 50132
#define IDC_CONTENT_CONTEXT_COPYVIDEOFRAME 50133
#define IDC_CONTENT_CONTEXT_SEARCHLENSFORVIDEOFRAME 50134
#define IDC_CONTENT_CONTEXT_SEARCHWEBFORVIDEOFRAME 50135
#define IDC_CONTENT_CONTEXT_OPENAVNEWTAB 50136
#define IDC_CONTENT_CONTEXT_PICTUREINPICTURE 50137
// Media items.
#define IDC_CONTENT_CONTEXT_LOOP 50140
#define IDC_CONTENT_CONTEXT_CONTROLS 50141
#define IDC_CONTENT_CONTEXT_ROTATECW 50142
#define IDC_CONTENT_CONTEXT_ROTATECCW 50143
// Edit items.
#define IDC_CONTENT_CONTEXT_COPY 50150
#define IDC_CONTENT_CONTEXT_CUT 50151
#define IDC_CONTENT_CONTEXT_PASTE 50152
#define IDC_CONTENT_CONTEXT_DELETE 50153
#define IDC_CONTENT_CONTEXT_UNDO 50154
#define IDC_CONTENT_CONTEXT_REDO 50155
#define IDC_CONTENT_CONTEXT_SELECTALL 50156
#define IDC_CONTENT_CONTEXT_PASTE_AND_MATCH_STYLE 50157
#define IDC_CONTENT_CONTEXT_COPYLINKTOTEXT 50158
#define IDC_CONTENT_CONTEXT_RESHARELINKTOTEXT 50159
#define IDC_CONTENT_CONTEXT_REMOVELINKTOTEXT 50160
// Other items.
#define IDC_CONTENT_CONTEXT_TRANSLATE 50161
#define IDC_CONTENT_CONTEXT_INSPECTELEMENT 50162
#define IDC_CONTENT_CONTEXT_VIEWPAGEINFO 50163
#define IDC_CONTENT_CONTEXT_LANGUAGE_SETTINGS 50164
#define IDC_CONTENT_CONTEXT_LOOK_UP 50165
#define IDC_CONTENT_CONTEXT_NO_SPELLING_SUGGESTIONS 50166
#define IDC_CONTENT_CONTEXT_SPELLING_SUGGESTION 50167
#define IDC_CONTENT_CONTEXT_SPELLING_TOGGLE 50168
#define IDC_CONTENT_CONTEXT_OPEN_IN_READING_MODE 50169
#define IDC_CONTENT_CONTEXT_SAVEPLUGINAS 50170
#define IDC_CONTENT_CONTEXT_INSPECTBACKGROUNDPAGE 50171
#define IDC_CONTENT_CONTEXT_RELOAD_PACKAGED_APP 50172
#define IDC_CONTENT_CONTEXT_RESTART_PACKAGED_APP 50173
#define IDC_CONTENT_CONTEXT_LENS_REGION_SEARCH 50174
#define IDC_CONTENT_CONTEXT_WEB_REGION_SEARCH 50175
// TODO(b/316143236): Remove this entry once `kPasswordManualFallbackAvailable`
// is rolled out.
#define IDC_CONTENT_CONTEXT_GENERATEPASSWORD 50176
#define IDC_CONTENT_CONTEXT_EXIT_FULLSCREEN 50177
// TODO(b/316143236): Remove this entry once `kPasswordManualFallbackAvailable`
// is rolled out.
#define IDC_CONTENT_CONTEXT_SHOWALLSAVEDPASSWORDS 50178
#define IDC_CONTENT_CONTEXT_PARTIAL_TRANSLATE 50179
// Frame items.
#define IDC_CONTENT_CONTEXT_RELOADFRAME 50180
#define IDC_CONTENT_CONTEXT_VIEWFRAMESOURCE 50181
#define IDC_CONTENT_CONTEXT_VIEWFRAMEINFO 50182
// User Notes.
#define IDC_CONTENT_CONTEXT_ADD_A_NOTE 50185
// Search items.
#define IDC_CONTENT_CONTEXT_GOTOURL 50190
#define IDC_CONTENT_CONTEXT_SEARCHWEBFOR 50191
#define IDC_CONTENT_CONTEXT_SEARCHWEBFORNEWTAB 50192
#define IDC_CONTENT_CONTEXT_LENS_OVERLAY 50193
// Use passkey from another device from the top level of context menu.
#define IDC_CONTENT_CONTEXT_USE_PASSKEY_FROM_ANOTHER_DEVICE 50194
// Open with items.
#define IDC_CONTENT_CONTEXT_OPEN_WITH1 50200
#define IDC_CONTENT_CONTEXT_OPEN_WITH2 50201
#define IDC_CONTENT_CONTEXT_OPEN_WITH3 50202
#define IDC_CONTENT_CONTEXT_OPEN_WITH4 50203
#define IDC_CONTENT_CONTEXT_OPEN_WITH5 50204
#define IDC_CONTENT_CONTEXT_OPEN_WITH6 50205
#define IDC_CONTENT_CONTEXT_OPEN_WITH7 50206
#define IDC_CONTENT_CONTEXT_OPEN_WITH8 50207
#define IDC_CONTENT_CONTEXT_OPEN_WITH9 50208
#define IDC_CONTENT_CONTEXT_OPEN_WITH10 50209
#define IDC_CONTENT_CONTEXT_OPEN_WITH11 50210
#define IDC_CONTENT_CONTEXT_OPEN_WITH12 50211
#define IDC_CONTENT_CONTEXT_OPEN_WITH13 50212
#define IDC_CONTENT_CONTEXT_OPEN_WITH14 50213
#define IDC_CONTENT_CONTEXT_OPEN_WITH_LAST IDC_CONTENT_CONTEXT_OPEN_WITH14
// Context menu items that provide fast access to input methods.
#define IDC_CONTENT_CONTEXT_EMOJI 50220
#define IDC_CONTEXT_COMPOSE 50230
// Context menu items to control glic
#define IDC_CONTENT_CONTEXT_CLOSE_GLIC  50231
#define IDC_CONTENT_CONTEXT_RELOAD_GLIC  50232
// Context menu items in the bookmark bar
#define IDC_BOOKMARK_BAR_OPEN_ALL 51000
#define IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW 51001
#define IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO 51002
#define IDC_BOOKMARK_BAR_OPEN_INCOGNITO 51003
#define IDC_BOOKMARK_BAR_OPEN_ALL_NEW_TAB_GROUP 51004
#define IDC_BOOKMARK_BAR_RENAME_FOLDER 51005
#define IDC_BOOKMARK_BAR_EDIT 51006
#define IDC_BOOKMARK_BAR_REMOVE 51007
#define IDC_BOOKMARK_BAR_UNDO 51008
#define IDC_BOOKMARK_BAR_REDO 51009
#define IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK 51010
#define IDC_BOOKMARK_BAR_NEW_FOLDER 51011
#define IDC_BOOKMARK_MANAGER 51012
#define IDC_BOOKMARK_BAR_ALWAYS_SHOW 51013
#define IDC_BOOKMARK_BAR_SHOW_APPS_SHORTCUT 51014
#define IDC_BOOKMARK_BAR_SHOW_READING_LIST 51015
#define IDC_BOOKMARK_BAR_SHOW_MANAGED_BOOKMARKS 51016
#define IDC_BOOKMARK_BAR_TRACK_PRICE_FOR_SHOPPING_BOOKMARK 51017
#define IDC_BOOKMARK_BAR_UNTRACK_PRICE_FOR_SHOPPING_BOOKMARK 51018
#define IDC_BOOKMARK_BAR_ADD_TO_BOOKMARKS_BAR 51019
#define IDC_BOOKMARK_BAR_REMOVE_FROM_BOOKMARKS_BAR 51020
#define IDC_BOOKMARK_BAR_TOGGLE_SHOW_TAB_GROUPS 51021
#define IDC_BOOKMARK_BAR_MOVE 51022
#define IDC_BOOKMARK_BAR_OPEN_SPLIT_VIEW 51023

// Context menu items for Sharing
#define IDC_CONTENT_CONTEXT_SHARING_CLICK_TO_CALL_SINGLE_DEVICE 51030
#define IDC_CONTENT_CONTEXT_SHARING_CLICK_TO_CALL_MULTIPLE_DEVICES 51031
#define IDC_CONTENT_CONTEXT_SHARING_SHARED_CLIPBOARD_SINGLE_DEVICE 51032
#define IDC_CONTENT_CONTEXT_SHARING_SHARED_CLIPBOARD_MULTIPLE_DEVICES 51033
#define IDC_CONTENT_CONTEXT_GENERATE_QR_CODE 51034
#define IDC_CONTENT_CONTEXT_SHARING_SUBMENU 51035

// ChromeOS clipboard history
#define IDC_CONTENT_PASTE_FROM_CLIPBOARD 51037

// Context menu items in the status tray
#define IDC_STATUS_TRAY_KEEP_CHROME_RUNNING_IN_BACKGROUND 51100
#define IDC_STATUS_TRAY_KEEP_CHROME_RUNNING_IN_BACKGROUND_SETTING 51101

// Context menu items for media router
#define IDC_MEDIA_ROUTER_ABOUT 51200
#define IDC_MEDIA_ROUTER_HELP 51201
#define IDC_MEDIA_ROUTER_LEARN_MORE 51202
#define IDC_MEDIA_ROUTER_ALWAYS_SHOW_TOOLBAR_ACTION 51204
#define IDC_MEDIA_ROUTER_SHOWN_BY_POLICY 51206
#define IDC_MEDIA_ROUTER_SHOW_IN_TOOLBAR 51207
#define IDC_MEDIA_ROUTER_TOGGLE_MEDIA_REMOTING 51208

// Context menu items for media toolbar button
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
#define IDC_MEDIA_TOOLBAR_CONTEXT_REPORT_CAST_ISSUE 51209
#endif
#define IDC_MEDIA_TOOLBAR_CONTEXT_SHOW_OTHER_SESSIONS 51210

// Context menu items for pinned sidepanel toolbar button
#define IDC_UPDATE_SIDE_PANEL_PIN_STATE 51211

// Context menu items for media stream status tray
#define IDC_MEDIA_STREAM_DEVICE_STATUS_TRAY 51300
#define IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_FIRST 51301
#define IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_LAST 51399
#define IDC_MEDIA_STREAM_DEVICE_ALWAYS_ALLOW 51400

// Protocol handler menu entries
#define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_FIRST     52000
#define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_LAST      52199
#define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_SETTINGS  52200

// Open link in profile entries
#define IDC_OPEN_LINK_IN_PROFILE_FIRST 52300
#define IDC_OPEN_LINK_IN_PROFILE_LAST  52399

// Start smart text selection actions
#define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION1 52400
#define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION2 52401
#define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION3 52402
#define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION4 52403
#define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION5 52404
#define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION_LAST IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION5
// A gap here for new smart text selection actions.

// Accessibility labels
#define IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS_TOGGLE 52410
#define IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS 52411
#define IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS_TOGGLE_ONCE 52412

#if BUILDFLAG(IS_CHROMEOS)
// Quick Answers context menu items.
#define IDC_CONTENT_CONTEXT_QUICK_ANSWERS_INLINE_ANSWER 52413
#define IDC_CONTENT_CONTEXT_QUICK_ANSWERS_INLINE_QUERY 52414
#endif

// Tab Search
#define IDC_TAB_SEARCH 52500
#define IDC_TAB_SEARCH_CLOSE 52501

// Views debug commands.
#define IDC_DEBUG_TOGGLE_TABLET_MODE 52510
#define IDC_DEBUG_PRINT_VIEW_TREE 52511
#define IDC_DEBUG_PRINT_VIEW_TREE_DETAILS 52512
// Please leave a gap here for new debug commands.

// Autofill feedback.
#define IDC_CONTENT_CONTEXT_AUTOFILL_FEEDBACK 52990
// Autofill context menu commands
#define IDC_CONTENT_CONTEXT_AUTOFILL_FALLBACK_PLUS_ADDRESS 52994
#define IDC_CONTENT_CONTEXT_AUTOFILL_FALLBACK_PASSWORDS_SELECT_PASSWORD 52998
#define IDC_CONTENT_CONTEXT_AUTOFILL_FALLBACK_PASSWORDS_IMPORT_PASSWORDS 52999
#define IDC_CONTENT_CONTEXT_AUTOFILL_FALLBACK_PASSWORDS_SUGGEST_PASSWORD 53000
#define IDC_CONTENT_CONTEXT_AUTOFILL_FALLBACK_PASSWORDS_USE_PASSKEY_FROM_ANOTHER_DEVICE 53002

// Live Caption
#define IDC_LIVE_CAPTION 53251

// Device API system tray icon
#define IDC_DEVICE_SYSTEM_TRAY_ICON_FIRST 53260
#define IDC_DEVICE_SYSTEM_TRAY_ICON_LAST 53299

// Default browser prompt
#define IDC_SET_BROWSER_AS_DEFAULT 53300

// Glic status tray icon menu
#define IDC_GLIC_STATUS_ICON_MENU_SHOW                        53310
#define IDC_GLIC_STATUS_ICON_MENU_CUSTOMIZE_KEYBOARD_SHORTCUT 53311
#define IDC_GLIC_STATUS_ICON_MENU_REMOVE_ICON                 53312
#define IDC_GLIC_STATUS_ICON_MENU_SETTINGS                    53313
#define IDC_GLIC_STATUS_ICON_MENU_EXIT                        53314
#define IDC_GLIC_STATUS_ICON_MENU_CLOSE                       53315

// Glic button context menu and tabstrip context menu
#define IDC_GLIC_TOGGLE_PIN 53320

// NOTE: The last valid command value is 57343 (0xDFFF)
// See http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx

// Starting command id for menus showing an arbitrarily high (variable) number
// of menu items. Currently, this includes the recent tabs and bookmarks menus.
// While command ids passed to Windows functions must not be higher than
// 0xDFFF, these IDs are not exposed to the native system and thus can be in
// this otherwise-reserved range.
// WARNING: No command used in a bounded menu should be higher than this,
// otherwise it'll conflict. Unbounded menus must also avoid conflicting with
// each other, by only using every Nth id (where N is the number of unbounded
// menus).
#define IDC_FIRST_UNBOUNDED_MENU COMMAND_ID_FIRST_UNBOUNDED

// LINT.ThenChange(//chrome/browser/renderer_context_menu/render_view_context_menu.h:CommandsGatedOnFencedFrameUntrustedNetworkStatus)

#endif  // CHROME_APP_CHROME_COMMAND_IDS_H_