1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_APP_CHROME_COMMAND_IDS_H_
6 #define CHROME_APP_CHROME_COMMAND_IDS_H_
7 
8 // This file lists all the command IDs understood by e.g. the browser.
9 // It is used by Windows RC files, Mac NIB files, and other platforms too.
10 
11 // clang-format off
12 
13 // Values below IDC_MinimumLabelValue are reserved for dynamic menu items.
14 #define IDC_MinimumLabelValue           4000
15 
16 // NOTE: Within each of the following sections, the IDs are ordered roughly by
17 // how they appear in the GUI/menus (left to right, top to bottom, etc.).
18 
19 // Navigation commands
20 // TODO: Reorder to be in visible order; collapse holes
21 #define IDC_BACK                        33000
22 #define IDC_FORWARD                     33001
23 #define IDC_RELOAD                      33002
24 #define IDC_HOME                        33003
25 #define IDC_OPEN_CURRENT_URL            33004
26 #define IDC_STOP                        33006
27 #define IDC_RELOAD_BYPASSING_CACHE      33007
28 #define IDC_RELOAD_CLEARING_CACHE       33009
29 
30 // Window management commands
31 #define IDC_NEW_WINDOW                  34000
32 #define IDC_NEW_INCOGNITO_WINDOW        34001
33 #define IDC_PIN_TO_START_SCREEN         34005
34 #define IDC_CLOSE_WINDOW                34012
35 #define IDC_ALWAYS_ON_TOP               34013
36 #define IDC_NEW_TAB                     34014
37 #define IDC_CLOSE_TAB                   34015
38 #define IDC_SELECT_NEXT_TAB             34016
39 #define IDC_SELECT_PREVIOUS_TAB         34017
40 #define IDC_SELECT_TAB_0                34018
41 #define IDC_SELECT_TAB_1                34019
42 #define IDC_SELECT_TAB_2                34020
43 #define IDC_SELECT_TAB_3                34021
44 #define IDC_SELECT_TAB_4                34022
45 #define IDC_SELECT_TAB_5                34023
46 #define IDC_SELECT_TAB_6                34024
47 #define IDC_SELECT_TAB_7                34025
48 #define IDC_SELECT_LAST_TAB             34026
49 #define IDC_DUPLICATE_TAB               34027
50 #define IDC_RESTORE_TAB                 34028
51 #define IDC_SHOW_AS_TAB                 34029
52 #define IDC_FULLSCREEN                  34030
53 #define IDC_EXIT                        34031
54 #define IDC_MOVE_TAB_NEXT               34032
55 #define IDC_MOVE_TAB_PREVIOUS           34033
56 #define IDC_SEARCH                      34035
57 #define IDC_DEBUG_FRAME_TOGGLE          34038
58 #define IDC_WINDOW_MENU                 34045
59 #define IDC_MINIMIZE_WINDOW             34046
60 #define IDC_MAXIMIZE_WINDOW             34047
61 #define IDC_ALL_WINDOWS_FRONT           34048
62 #define IDC_NAME_WINDOW                 34049
63 
64 #if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
65 #define IDC_USE_SYSTEM_TITLE_BAR        34051
66 #define IDC_RESTORE_WINDOW              34052
67 #endif
68 
69 #define IDC_OPEN_IN_PWA_WINDOW          34053
70 #define IDC_MOVE_TAB_TO_NEW_WINDOW          34054
71 
72 // Web app window commands
73 #define IDC_COPY_URL                    34060
74 #define IDC_OPEN_IN_CHROME              34061
75 #define IDC_SITE_SETTINGS               34062
76 #define IDC_WEB_APP_MENU_APP_INFO    34063
77 
78 #if defined(OS_CHROMEOS)
79 // Terminal system app commands
80 #define IDC_TERMINAL_SPLIT_HORIZONTAL   34070
81 #define IDC_TERMINAL_SPLIT_VERTICAL     34071
82 
83 // Move window to other user commands
84 #define IDC_VISIT_DESKTOP_OF_LRU_USER_2 34080
85 #define IDC_VISIT_DESKTOP_OF_LRU_USER_3 34081
86 #define IDC_VISIT_DESKTOP_OF_LRU_USER_4 34082
87 #define IDC_VISIT_DESKTOP_OF_LRU_USER_5 34083
88 #define IDC_VISIT_DESKTOP_OF_LRU_USER_NEXT IDC_VISIT_DESKTOP_OF_LRU_USER_2
89 #define IDC_VISIT_DESKTOP_OF_LRU_USER_LAST IDC_VISIT_DESKTOP_OF_LRU_USER_5
90 #endif
91 
92 // Page-related commands
93 #define IDC_BOOKMARK_THIS_TAB           35000
94 #define IDC_BOOKMARK_ALL_TABS           35001
95 #define IDC_VIEW_SOURCE                 35002
96 #define IDC_PRINT                       35003
97 #define IDC_SAVE_PAGE                   35004
98 #define IDC_EMAIL_PAGE_LOCATION         35006
99 #define IDC_BASIC_PRINT                 35007
100 #define IDC_SAVE_CREDIT_CARD_FOR_PAGE   35008
101 #define IDC_TRANSLATE_PAGE              35009
102 #define IDC_MANAGE_PASSWORDS_FOR_PAGE   35010
103 #define IDC_ROUTE_MEDIA                 35011
104 #define IDC_WINDOW_MUTE_SITE            35012
105 #define IDC_WINDOW_PIN_TAB              35013
106 #define IDC_WINDOW_GROUP_TAB            35014
107 #define IDC_MIGRATE_LOCAL_CREDIT_CARD_FOR_PAGE 35015
108 #define IDC_SEND_TAB_TO_SELF            35016
109 #define IDC_FOCUS_THIS_TAB              35017
110 #define IDC_CONTENT_LINK_SEND_TAB_TO_SELF 35018
111 #define IDC_SEND_TAB_TO_SELF_SINGLE_TARGET  35019
112 #define IDC_CONTENT_LINK_SEND_TAB_TO_SELF_SINGLE_TARGET  35020
113 #define IDC_QRCODE_GENERATOR            35021
114 #define IDC_WINDOW_CLOSE_TABS_TO_RIGHT  35022
115 #define IDC_WINDOW_CLOSE_OTHER_TABS     35023
116 
117 // Page-manipulation commands that target a specified tab, which may not be the
118 // active one.
119 #define IDC_MUTE_TARGET_SITE            35050
120 #define IDC_PIN_TARGET_TAB              35051
121 #define IDC_GROUP_TARGET_TAB            35052
122 #define IDC_DUPLICATE_TARGET_TAB        35053
123 
124 // Clipboard commands
125 #define IDC_CUT                         36000
126 #define IDC_COPY                        36001
127 #define IDC_PASTE                       36003
128 #define IDC_EDIT_MENU                   36004
129 
130 // Find-in-page
131 #define IDC_FIND                        37000
132 #define IDC_FIND_NEXT                   37001
133 #define IDC_FIND_PREVIOUS               37002
134 #define IDC_CLOSE_FIND_OR_STOP          37003
135 #define IDC_FIND_MENU                   37100
136 
137 // Zoom
138 #define IDC_ZOOM_MENU                   38000
139 #define IDC_ZOOM_PLUS                   38001
140 #define IDC_ZOOM_NORMAL                 38002
141 #define IDC_ZOOM_MINUS                  38003
142 #define IDC_ZOOM_PERCENT_DISPLAY        38004
143 
144 // Focus various bits of UI
145 #define IDC_FOCUS_TOOLBAR               39000
146 #define IDC_FOCUS_LOCATION              39001
147 #define IDC_FOCUS_SEARCH                39002
148 #define IDC_FOCUS_MENU_BAR              39003
149 #define IDC_FOCUS_NEXT_PANE             39004
150 #define IDC_FOCUS_PREVIOUS_PANE         39005
151 #define IDC_FOCUS_BOOKMARKS             39006
152 #define IDC_FOCUS_INACTIVE_POPUP_FOR_ACCESSIBILITY 39007
153 
154 // Show various bits of UI
155 #define IDC_OPEN_FILE                   40000
156 #define IDC_CREATE_SHORTCUT             40002
157 #define IDC_DEVELOPER_MENU              40003
158 #define IDC_DEV_TOOLS                   40004
159 #define IDC_DEV_TOOLS_CONSOLE           40005
160 #define IDC_TASK_MANAGER                40006
161 #define IDC_DEV_TOOLS_DEVICES           40007
162 #define IDC_FEEDBACK                    40008
163 #define IDC_SHOW_BOOKMARK_BAR           40009
164 #define IDC_SHOW_HISTORY                40010
165 #define IDC_SHOW_BOOKMARK_MANAGER       40011
166 #define IDC_SHOW_DOWNLOADS              40012
167 #define IDC_CLEAR_BROWSING_DATA         40013
168 #define IDC_IMPORT_SETTINGS             40014
169 #define IDC_OPTIONS                     40015
170 #define IDC_EDIT_SEARCH_ENGINES         40016
171 #define IDC_VIEW_PASSWORDS              40017
172 #define IDC_ABOUT                       40018
173 #define IDC_HELP_PAGE_VIA_KEYBOARD      40019
174 #define IDC_HELP_PAGE_VIA_MENU          40020
175 #define IDC_SHOW_APP_MENU               40021
176 #define IDC_MANAGE_EXTENSIONS           40022
177 #define IDC_DEV_TOOLS_INSPECT           40023
178 #define IDC_UPGRADE_DIALOG              40024
179 #define IDC_PROFILING_ENABLED           40028
180 #define IDC_BOOKMARKS_MENU              40029
181 #define IDC_SHOW_SIGNIN                 40030
182 #define IDC_EXTENSION_ERRORS            40031
183 #define IDC_SHOW_SIGNIN_ERROR           40032
184 #define IDC_SHOW_SETTINGS_CHANGE_FIRST  40033
185 #define IDC_SHOW_SETTINGS_CHANGE_LAST   40133
186 #define IDC_SHOW_AVATAR_MENU            40134
187 #define IDC_EXTENSION_INSTALL_ERROR_FIRST 40135
188 #define IDC_EXTENSION_INSTALL_ERROR_LAST 40235
189 #define IDC_TOGGLE_REQUEST_TABLET_SITE  40236
190 #define IDC_DEV_TOOLS_TOGGLE            40237
191 #define IDC_RECENT_TABS_MENU            40239
192 #define IDC_RECENT_TABS_NO_DEVICE_TABS  40240
193 #define IDC_SHOW_SETTINGS_RESET_BUBBLE  40241
194 #define IDC_SHOW_SYNC_ERROR             40242
195 #define IDC_DISTILL_PAGE                40243
196 #define IDC_HELP_MENU                   40244
197 #define IDC_EXTENSIONS_OVERFLOW_MENU    40245
198 #define IDC_SHOW_SRT_BUBBLE             40246
199 #define IDC_ELEVATED_RECOVERY_DIALOG    40247
200 #define IDC_TAKE_SCREENSHOT             40248
201 #define IDC_MORE_TOOLS_MENU             40249
202 #define IDC_TOGGLE_FULLSCREEN_TOOLBAR   40250
203 #define IDC_CUSTOMIZE_TOUCH_BAR         40251
204 #define IDC_SHOW_BETA_FORUM             40252
205 #define IDC_TOGGLE_JAVASCRIPT_APPLE_EVENTS 40253
206 #define IDC_INSTALL_PWA                 40254
207 #define IDC_SHOW_MANAGEMENT_PAGE             40255
208 #define IDC_PASTE_AND_GO                40256
209 #define IDC_SHOW_SAVE_LOCAL_CARD_SIGN_IN_PROMO_IF_APPLICABLE 40257
210 #define IDC_CLOSE_SIGN_IN_PROMO        40258
211 #define IDC_SHOW_FULL_URLS             40259
212 #define IDC_CARET_BROWSING_TOGGLE      40260
213 #define IDC_TOGGLE_COMMANDER     40261
214 
215 // Spell-check
216 // Insert any additional suggestions before _LAST; these have to be consecutive.
217 #define IDC_SPELLCHECK_SUGGESTION_0     41000
218 #define IDC_SPELLCHECK_SUGGESTION_1     41001
219 #define IDC_SPELLCHECK_SUGGESTION_2     41002
220 #define IDC_SPELLCHECK_SUGGESTION_3     41003
221 #define IDC_SPELLCHECK_SUGGESTION_4     41004
222 #define IDC_SPELLCHECK_SUGGESTION_LAST  IDC_SPELLCHECK_SUGGESTION_4
223 #define IDC_SPELLCHECK_MENU             41005
224 // Language entries are inserted using autogenerated values between
225 // [_FIRST, _LAST).
226 #define IDC_SPELLCHECK_LANGUAGES_FIRST  41006
227 #define IDC_SPELLCHECK_LANGUAGES_LAST   41106
228 #define IDC_CHECK_SPELLING_WHILE_TYPING 41107
229 #define IDC_SPELLPANEL_TOGGLE           41109
230 #define IDC_SPELLCHECK_ADD_TO_DICTIONARY 41110
231 #define IDC_SPELLCHECK_MULTI_LINGUAL    41111
232 
233 // Writing direction
234 #define IDC_WRITING_DIRECTION_MENU       41120
235 #define IDC_WRITING_DIRECTION_DEFAULT    41121
236 #define IDC_WRITING_DIRECTION_LTR        41122
237 #define IDC_WRITING_DIRECTION_RTL        41123
238 
239 // Translate
240 #define IDC_TRANSLATE_ORIGINAL_LANGUAGE_BASE 42100
241 #define IDC_TRANSLATE_TARGET_LANGUAGE_BASE   42400
242 
243 // Identifiers for platform-specific items.
244 // Placed in a common file to help insure they never collide.
245 #define IDC_VIEW_MENU                   44000     // OSX only
246 #define IDC_FILE_MENU                   44001     // OSX only
247 #define IDC_CHROME_MENU                 44002     // OSX only
248 #define IDC_HIDE_APP                    44003     // OSX only
249 #define IDC_HISTORY_MENU                46000     // OSX only
250 #define IDC_TAB_MENU                    46001     // OSX only
251 #define IDC_PROFILE_MAIN_MENU           46100     // OSX only
252 #define IDC_INPUT_METHODS_MENU          46300     // Linux only
253 
254 // The range of command ids reserved for context menus added by web content.
255 #define IDC_CONTENT_CONTEXT_CUSTOM_FIRST 47000
256 #define IDC_CONTENT_CONTEXT_CUSTOM_LAST  48000
257 
258 // The range of command ids reserved for context menus added by extensions.
259 #define IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST 49000
260 #define IDC_EXTENSIONS_CONTEXT_CUSTOM_LAST 50000
261 
262 // Context menu items in the render view.
263 // Link items.
264 #define IDC_CONTENT_CONTEXT_OPENLINKNEWTAB 50100
265 #define IDC_CONTENT_CONTEXT_OPENLINKNEWWINDOW 50101
266 #define IDC_CONTENT_CONTEXT_OPENLINKOFFTHERECORD 50102
267 #define IDC_CONTENT_CONTEXT_SAVELINKAS 50103
268 #define IDC_CONTENT_CONTEXT_COPYLINKLOCATION 50104
269 #define IDC_CONTENT_CONTEXT_COPYEMAILADDRESS 50105
270 #define IDC_CONTENT_CONTEXT_OPENLINKWITH 50106
271 #define IDC_CONTENT_CONTEXT_COPYLINKTEXT 50107
272 #define IDC_CONTENT_CONTEXT_OPENLINKINPROFILE 50108
273 #define IDC_CONTENT_CONTEXT_OPENLINKBOOKMARKAPP 50109
274 // Image items.
275 #define IDC_CONTENT_CONTEXT_SAVEIMAGEAS 50110
276 #define IDC_CONTENT_CONTEXT_COPYIMAGELOCATION 50111
277 #define IDC_CONTENT_CONTEXT_COPYIMAGE 50112
278 #define IDC_CONTENT_CONTEXT_OPENIMAGENEWTAB 50113
279 #define IDC_CONTENT_CONTEXT_SEARCHWEBFORIMAGE 50114
280 #define IDC_CONTENT_CONTEXT_OPEN_ORIGINAL_IMAGE_NEW_TAB 50115
281 #define IDC_CONTENT_CONTEXT_LOAD_IMAGE 50116
282 // Audio/video items.
283 #define IDC_CONTENT_CONTEXT_SAVEAVAS 50120
284 #define IDC_CONTENT_CONTEXT_COPYAVLOCATION 50121
285 #define IDC_CONTENT_CONTEXT_OPENAVNEWTAB 50122
286 #define IDC_CONTENT_CONTEXT_PICTUREINPICTURE 50123
287 // Media items.
288 #define IDC_CONTENT_CONTEXT_PLAYPAUSE 50130
289 #define IDC_CONTENT_CONTEXT_MUTE 50131
290 #define IDC_CONTENT_CONTEXT_LOOP 50132
291 #define IDC_CONTENT_CONTEXT_CONTROLS 50133
292 #define IDC_CONTENT_CONTEXT_ROTATECW 50134
293 #define IDC_CONTENT_CONTEXT_ROTATECCW 50135
294 // Edit items.
295 #define IDC_CONTENT_CONTEXT_COPY 50140
296 #define IDC_CONTENT_CONTEXT_CUT 50141
297 #define IDC_CONTENT_CONTEXT_PASTE 50142
298 #define IDC_CONTENT_CONTEXT_DELETE 50143
299 #define IDC_CONTENT_CONTEXT_UNDO 50144
300 #define IDC_CONTENT_CONTEXT_REDO 50145
301 #define IDC_CONTENT_CONTEXT_SELECTALL 50146
302 #define IDC_CONTENT_CONTEXT_PASTE_AND_MATCH_STYLE 50147
303 #define IDC_CONTENT_CONTEXT_COPYLINKTOTEXT 50148
304 // Other items.
305 #define IDC_CONTENT_CONTEXT_TRANSLATE 50150
306 #define IDC_CONTENT_CONTEXT_INSPECTELEMENT 50151
307 #define IDC_CONTENT_CONTEXT_VIEWPAGEINFO 50152
308 #define IDC_CONTENT_CONTEXT_LANGUAGE_SETTINGS 50153
309 #define IDC_CONTENT_CONTEXT_LOOK_UP 50154
310 #define IDC_CONTENT_CONTEXT_NO_SPELLING_SUGGESTIONS 50155
311 #define IDC_CONTENT_CONTEXT_SPELLING_SUGGESTION 50156
312 #define IDC_CONTENT_CONTEXT_SPELLING_TOGGLE 50157
313 #define IDC_CONTENT_CONTEXT_INSPECTBACKGROUNDPAGE 50161
314 #define IDC_CONTENT_CONTEXT_RELOAD_PACKAGED_APP 50162
315 #define IDC_CONTENT_CONTEXT_RESTART_PACKAGED_APP 50163
316 // A gap here. Feel free to insert new IDs.
317 #define IDC_CONTENT_CONTEXT_GENERATEPASSWORD 50166
318 #define IDC_CONTENT_CONTEXT_EXIT_FULLSCREEN 50167
319 #define IDC_CONTENT_CONTEXT_SHOWALLSAVEDPASSWORDS 50168
320 // Frame items.
321 #define IDC_CONTENT_CONTEXT_RELOADFRAME 50170
322 #define IDC_CONTENT_CONTEXT_VIEWFRAMESOURCE 50171
323 #define IDC_CONTENT_CONTEXT_VIEWFRAMEINFO 50172
324 // Search items.
325 #define IDC_CONTENT_CONTEXT_GOTOURL 50180
326 #define IDC_CONTENT_CONTEXT_SEARCHWEBFOR 50181
327 // Open with items.
328 #define IDC_CONTENT_CONTEXT_OPEN_WITH1 50190
329 #define IDC_CONTENT_CONTEXT_OPEN_WITH2 50191
330 #define IDC_CONTENT_CONTEXT_OPEN_WITH3 50192
331 #define IDC_CONTENT_CONTEXT_OPEN_WITH4 50193
332 #define IDC_CONTENT_CONTEXT_OPEN_WITH5 50194
333 #define IDC_CONTENT_CONTEXT_OPEN_WITH6 50195
334 #define IDC_CONTENT_CONTEXT_OPEN_WITH7 50196
335 #define IDC_CONTENT_CONTEXT_OPEN_WITH8 50197
336 #define IDC_CONTENT_CONTEXT_OPEN_WITH9 50198
337 #define IDC_CONTENT_CONTEXT_OPEN_WITH10 50199
338 #define IDC_CONTENT_CONTEXT_OPEN_WITH11 50200
339 #define IDC_CONTENT_CONTEXT_OPEN_WITH12 50201
340 #define IDC_CONTENT_CONTEXT_OPEN_WITH13 50202
341 #define IDC_CONTENT_CONTEXT_OPEN_WITH14 50203
342 #define IDC_CONTENT_CONTEXT_OPEN_WITH_LAST IDC_CONTENT_CONTEXT_OPEN_WITH14
343 // Context menu items that provide fast access to input methods.
344 #define IDC_CONTENT_CONTEXT_EMOJI 50210
345 // Context menu items in the bookmark bar
346 #define IDC_BOOKMARK_BAR_OPEN_ALL 51000
347 #define IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW 51001
348 #define IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO 51002
349 #define IDC_BOOKMARK_BAR_OPEN_INCOGNITO 51003
350 #define IDC_BOOKMARK_BAR_RENAME_FOLDER 51004
351 #define IDC_BOOKMARK_BAR_EDIT 51005
352 #define IDC_BOOKMARK_BAR_REMOVE 51006
353 #define IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK 51007
354 #define IDC_BOOKMARK_BAR_NEW_FOLDER 51008
355 #define IDC_BOOKMARK_MANAGER 51009
356 #define IDC_BOOKMARK_BAR_ALWAYS_SHOW 51010
357 #define IDC_BOOKMARK_BAR_SHOW_APPS_SHORTCUT 51011
358 #define IDC_BOOKMARK_BAR_UNDO 51012
359 #define IDC_BOOKMARK_BAR_REDO 51013
360 #define IDC_BOOKMARK_BAR_SHOW_MANAGED_BOOKMARKS 51014
361 // Context menu items for Sharing
362 #define IDC_CONTENT_CONTEXT_SHARING_CLICK_TO_CALL_SINGLE_DEVICE 51030
363 #define IDC_CONTENT_CONTEXT_SHARING_CLICK_TO_CALL_MULTIPLE_DEVICES 51031
364 #define IDC_CONTENT_CONTEXT_SHARING_SHARED_CLIPBOARD_SINGLE_DEVICE 51032
365 #define IDC_CONTENT_CONTEXT_SHARING_SHARED_CLIPBOARD_MULTIPLE_DEVICES 51033
366 #define IDC_CONTENT_CONTEXT_GENERATE_QR_CODE 51034
367 // Context menu item to show the clipboard history menu
368 #define IDC_CONTENT_CLIPBOARD_HISTORY_MENU 51035
369 
370 // Context menu items in the status tray
371 #define IDC_STATUS_TRAY_KEEP_CHROME_RUNNING_IN_BACKGROUND 51100
372 
373 // Context menu items for media router
374 #define IDC_MEDIA_ROUTER_ABOUT 51200
375 #define IDC_MEDIA_ROUTER_HELP 51201
376 #define IDC_MEDIA_ROUTER_LEARN_MORE 51202
377 #define IDC_MEDIA_ROUTER_REPORT_ISSUE 51203
378 #define IDC_MEDIA_ROUTER_ALWAYS_SHOW_TOOLBAR_ACTION 51204
379 #define IDC_MEDIA_ROUTER_CLOUD_SERVICES_TOGGLE 51205
380 #define IDC_MEDIA_ROUTER_SHOWN_BY_POLICY 51206
381 #define IDC_MEDIA_ROUTER_SHOW_IN_TOOLBAR 51207
382 #define IDC_MEDIA_ROUTER_TOGGLE_MEDIA_REMOTING 51208
383 
384 // Context menu items for media stream status tray
385 #define IDC_MEDIA_STREAM_DEVICE_STATUS_TRAY 51300
386 #define IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_FIRST 51301
387 #define IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_LAST 51399
388 #define IDC_MEDIA_STREAM_DEVICE_ALWAYS_ALLOW 51400
389 
390 // Protocol handler menu entries
391 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_FIRST     52000
392 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_LAST      52199
393 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_SETTINGS  52200
394 
395 // Open link in profile entries
396 #define IDC_OPEN_LINK_IN_PROFILE_FIRST 52300
397 #define IDC_OPEN_LINK_IN_PROFILE_LAST  52399
398 
399 // Start smart text selection actions
400 #define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION1 52400
401 #define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION2 52401
402 #define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION3 52402
403 #define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION4 52403
404 #define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION5 52404
405 #define IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION_LAST IDC_CONTENT_CONTEXT_START_SMART_SELECTION_ACTION5
406 // A gap here for new smart text selection actions.
407 
408 // Accessibility labels
409 #define IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS_TOGGLE 52410
410 #define IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS 52411
411 #define IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS_TOGGLE_ONCE 52412
412 
413 #if defined(OS_CHROMEOS)
414 // Quick Answers context menu items.
415 #define IDC_CONTENT_CONTEXT_QUICK_ANSWERS_INLINE_ANSWER 52413
416 #define IDC_CONTENT_CONTEXT_QUICK_ANSWERS_INLINE_QUERY 52414
417 #endif
418 
419 // Tab Search
420 #define IDC_TAB_SEARCH 52500
421 #define IDC_TAB_SEARCH_CLOSE 52501
422 
423 // NOTE: The last valid command value is 57343 (0xDFFF)
424 // See http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx
425 
426 // Starting command id for menus showing bookmarks (such as the wrench menu).
427 // While command ids passed to Windows functions must not be higher than 0xDFFF,
428 // these IDs are not exposed to the native system and thus can be in this
429 // otherwise-reserved range. No command used in a menu (such as the wrench menu)
430 // should be higher than this, otherwise it'll conflict.
431 #define IDC_FIRST_BOOKMARK_MENU 0xE000
432 
433 #endif  // CHROME_APP_CHROME_COMMAND_IDS_H_
434