[email protected] | 81375e87 | 2012-01-11 21:40:36 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
4 | |||||
[email protected] | 057569b | 2011-06-14 01:44:32 | [diff] [blame] | 5 | #ifndef CHROME_APP_CHROME_COMMAND_IDS_H_ |
6 | #define CHROME_APP_CHROME_COMMAND_IDS_H_ | ||||
[email protected] | 057569b | 2011-06-14 01:44:32 | [diff] [blame] | 7 | |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 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 | |||||
[email protected] | 98c62c4 | 2012-06-12 23:00:46 | [diff] [blame] | 11 | // Mac NIB files (e.g. chrome/app/nibs/MainMenu.xib) include ID numbers rather |
12 | // than the corresponding #define labels. If you change a given command's | ||||
13 | // number, any NIB files that refer to it will also need to be updated. | ||||
14 | |||||
[email protected] | 93b59fc | 2010-12-21 20:00:47 | [diff] [blame] | 15 | // Values below IDC_MinimumLabelValue are reserved for dynamic menu items. |
16 | #define IDC_MinimumLabelValue 4000 | ||||
17 | |||||
[email protected] | 21fa3a1 | 2010-12-08 23:34:16 | [diff] [blame] | 18 | #define IDC_Messages 4000 |
19 | #define IDC_MessagesAll 4007 | ||||
20 | #define IDC_MessagesNone 4008 | ||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 21 | |
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.). | ||||
24 | |||||
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_IGNORING_CACHE 33007 | ||||
[email protected] | ad52ca66 | 2012-06-26 15:48:55 | [diff] [blame] | 34 | #define IDC_LOAD_NEW_TAB_PAGE 33008 |
[email protected] | 58e2903 | 2012-08-06 20:19:57 | [diff] [blame] | 35 | #define IDC_RELOAD_CLEARING_CACHE 33009 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 36 | |
37 | // Window management commands | ||||
38 | #define IDC_NEW_WINDOW 34000 | ||||
39 | #define IDC_NEW_INCOGNITO_WINDOW 34001 | ||||
[email protected] | e6ba5a1 | 2012-08-07 02:05:53 | [diff] [blame] | 40 | #define IDC_PIN_TO_START_SCREEN 34005 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 41 | #define IDC_CLOSE_WINDOW 34012 |
42 | #define IDC_ALWAYS_ON_TOP 34013 | ||||
43 | #define IDC_NEW_TAB 34014 | ||||
44 | #define IDC_CLOSE_TAB 34015 | ||||
45 | #define IDC_SELECT_NEXT_TAB 34016 | ||||
46 | #define IDC_SELECT_PREVIOUS_TAB 34017 | ||||
47 | #define IDC_SELECT_TAB_0 34018 | ||||
48 | #define IDC_SELECT_TAB_1 34019 | ||||
49 | #define IDC_SELECT_TAB_2 34020 | ||||
50 | #define IDC_SELECT_TAB_3 34021 | ||||
51 | #define IDC_SELECT_TAB_4 34022 | ||||
52 | #define IDC_SELECT_TAB_5 34023 | ||||
53 | #define IDC_SELECT_TAB_6 34024 | ||||
54 | #define IDC_SELECT_TAB_7 34025 | ||||
55 | #define IDC_SELECT_LAST_TAB 34026 | ||||
56 | #define IDC_DUPLICATE_TAB 34027 | ||||
57 | #define IDC_RESTORE_TAB 34028 | ||||
58 | #define IDC_SHOW_AS_TAB 34029 | ||||
59 | #define IDC_FULLSCREEN 34030 | ||||
60 | #define IDC_EXIT 34031 | ||||
61 | #define IDC_MOVE_TAB_NEXT 34032 | ||||
62 | #define IDC_MOVE_TAB_PREVIOUS 34033 | ||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 63 | #define IDC_SEARCH 34035 |
64 | #define IDC_TABPOSE 34036 | ||||
[email protected] | cdc05ec | 2011-05-18 15:15:59 | [diff] [blame] | 65 | #define IDC_DEBUG_FRAME_TOGGLE 34038 |
[email protected] | d376693 | 2011-08-04 22:18:23 | [diff] [blame] | 66 | #define IDC_PRESENTATION_MODE 34039 |
[email protected] | 77cbe50e | 2012-06-14 02:44:38 | [diff] [blame] | 67 | #define IDC_METRO_SNAP_ENABLE 34040 |
68 | #define IDC_METRO_SNAP_DISABLE 34041 | ||||
[email protected] | 770c6d8 | 2012-09-06 22:21:32 | [diff] [blame] | 69 | #define IDC_WIN8_DESKTOP_RESTART 34042 |
70 | #define IDC_WIN8_METRO_RESTART 34043 | ||||
[email protected] | 4b0bcef | 2012-09-27 00:20:56 | [diff] [blame] | 71 | #define IDC_TOGGLE_ASH_DESKTOP 34044 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 72 | |
73 | // Page-related commands | ||||
74 | #define IDC_BOOKMARK_PAGE 35000 | ||||
75 | #define IDC_BOOKMARK_ALL_TABS 35001 | ||||
76 | #define IDC_VIEW_SOURCE 35002 | ||||
77 | #define IDC_PRINT 35003 | ||||
78 | #define IDC_SAVE_PAGE 35004 | ||||
79 | #define IDC_ENCODING_MENU 35005 | ||||
80 | #define IDC_EMAIL_PAGE_LOCATION 35006 | ||||
[email protected] | 0996e9b | 2011-08-26 17:59:01 | [diff] [blame] | 81 | #define IDC_ADVANCED_PRINT 35007 |
[email protected] | b106ca5 | 2012-03-13 06:08:46 | [diff] [blame] | 82 | #define IDC_CHROME_TO_MOBILE_PAGE 35008 |
[email protected] | d53e403 | 2012-06-29 18:58:34 | [diff] [blame] | 83 | #define IDC_PRINT_TO_DESTINATION 35009 |
[email protected] | 172b67f | 2012-11-02 05:32:39 | [diff] [blame] | 84 | #define IDC_BOOKMARK_PAGE_FROM_STAR 35010 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 85 | |
86 | // When adding a new encoding to this list, be sure to append it to the | ||||
87 | // EncodingMenuController::kValidEncodingIds array in | ||||
88 | // encoding_menu_controller.cc. | ||||
89 | #define IDC_ENCODING_AUTO_DETECT 35500 | ||||
90 | #define IDC_ENCODING_UTF8 35501 | ||||
91 | #define IDC_ENCODING_UTF16LE 35502 | ||||
92 | #define IDC_ENCODING_ISO88591 35503 | ||||
93 | #define IDC_ENCODING_WINDOWS1252 35504 | ||||
94 | #define IDC_ENCODING_GBK 35505 | ||||
95 | #define IDC_ENCODING_GB18030 35506 | ||||
96 | #define IDC_ENCODING_BIG5 35507 | ||||
97 | #define IDC_ENCODING_BIG5HKSCS 35508 | ||||
98 | #define IDC_ENCODING_KOREAN 35509 | ||||
99 | #define IDC_ENCODING_SHIFTJIS 35510 | ||||
100 | #define IDC_ENCODING_ISO2022JP 35511 | ||||
101 | #define IDC_ENCODING_EUCJP 35512 | ||||
102 | #define IDC_ENCODING_THAI 35513 | ||||
103 | #define IDC_ENCODING_ISO885915 35514 | ||||
104 | #define IDC_ENCODING_MACINTOSH 35515 | ||||
105 | #define IDC_ENCODING_ISO88592 35516 | ||||
106 | #define IDC_ENCODING_WINDOWS1250 35517 | ||||
107 | #define IDC_ENCODING_ISO88595 35518 | ||||
108 | #define IDC_ENCODING_WINDOWS1251 35519 | ||||
109 | #define IDC_ENCODING_KOI8R 35520 | ||||
110 | #define IDC_ENCODING_KOI8U 35521 | ||||
111 | #define IDC_ENCODING_ISO88597 35522 | ||||
112 | #define IDC_ENCODING_WINDOWS1253 35523 | ||||
113 | #define IDC_ENCODING_ISO88594 35524 | ||||
114 | #define IDC_ENCODING_ISO885913 35525 | ||||
115 | #define IDC_ENCODING_WINDOWS1257 35526 | ||||
116 | #define IDC_ENCODING_ISO88593 35527 | ||||
117 | #define IDC_ENCODING_ISO885910 35528 | ||||
118 | #define IDC_ENCODING_ISO885914 35529 | ||||
119 | #define IDC_ENCODING_ISO885916 35530 | ||||
120 | #define IDC_ENCODING_WINDOWS1254 35531 | ||||
121 | #define IDC_ENCODING_ISO88596 35532 | ||||
122 | #define IDC_ENCODING_WINDOWS1256 35533 | ||||
123 | #define IDC_ENCODING_ISO88598 35534 | ||||
124 | #define IDC_ENCODING_WINDOWS1255 35535 | ||||
125 | #define IDC_ENCODING_WINDOWS1258 35536 | ||||
126 | #define IDC_ENCODING_ISO88598I 35537 | ||||
127 | |||||
128 | // Clipboard commands | ||||
129 | #define IDC_CUT 36000 | ||||
130 | #define IDC_COPY 36001 | ||||
[email protected] | d5f7466 | 2012-09-12 22:55:46 | [diff] [blame] | 131 | #define IDC_COPY_URL 36002 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 132 | #define IDC_PASTE 36003 |
133 | #define IDC_EDIT_MENU 36004 | ||||
134 | |||||
135 | // Find-in-page | ||||
136 | #define IDC_FIND 37000 | ||||
137 | #define IDC_FIND_NEXT 37001 | ||||
138 | #define IDC_FIND_PREVIOUS 37002 | ||||
139 | |||||
140 | // Zoom | ||||
141 | #define IDC_ZOOM_MENU 38000 | ||||
142 | #define IDC_ZOOM_PLUS 38001 | ||||
143 | #define IDC_ZOOM_NORMAL 38002 | ||||
144 | #define IDC_ZOOM_MINUS 38003 | ||||
145 | #define IDC_ZOOM_PERCENT_DISPLAY 38004 | ||||
146 | |||||
147 | // Focus various bits of UI | ||||
148 | #define IDC_FOCUS_TOOLBAR 39000 | ||||
149 | #define IDC_FOCUS_LOCATION 39001 | ||||
150 | #define IDC_FOCUS_SEARCH 39002 | ||||
151 | #define IDC_FOCUS_MENU_BAR 39003 | ||||
152 | #define IDC_FOCUS_NEXT_PANE 39004 | ||||
153 | #define IDC_FOCUS_PREVIOUS_PANE 39005 | ||||
154 | #define IDC_FOCUS_BOOKMARKS 39006 | ||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 155 | |
156 | // Show various bits of UI | ||||
157 | #define IDC_OPEN_FILE 40000 | ||||
158 | #define IDC_CREATE_SHORTCUTS 40001 | ||||
159 | #define IDC_DEVELOPER_MENU 40002 | ||||
160 | #define IDC_DEV_TOOLS 40003 | ||||
161 | #define IDC_DEV_TOOLS_CONSOLE 40004 | ||||
162 | #define IDC_TASK_MANAGER 40005 | ||||
[email protected] | 1c41a93 | 2010-11-22 23:41:23 | [diff] [blame] | 163 | #define IDC_FEEDBACK 40008 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 164 | #define IDC_SHOW_BOOKMARK_BAR 40009 |
165 | #define IDC_SHOW_HISTORY 40010 | ||||
166 | #define IDC_SHOW_BOOKMARK_MANAGER 40011 | ||||
167 | #define IDC_SHOW_DOWNLOADS 40012 | ||||
168 | #define IDC_CLEAR_BROWSING_DATA 40013 | ||||
169 | #define IDC_IMPORT_SETTINGS 40014 | ||||
170 | #define IDC_OPTIONS 40015 | ||||
171 | #define IDC_EDIT_SEARCH_ENGINES 40016 | ||||
172 | #define IDC_VIEW_PASSWORDS 40017 | ||||
173 | #define IDC_ABOUT 40018 | ||||
[email protected] | 2ca3561 | 2012-06-12 03:49:48 | [diff] [blame] | 174 | #define IDC_HELP_PAGE_VIA_KEYBOARD 40019 |
175 | #define IDC_HELP_PAGE_VIA_MENU 40020 | ||||
176 | #define IDC_SHOW_APP_MENU 40021 | ||||
177 | #define IDC_MANAGE_EXTENSIONS 40022 | ||||
178 | #define IDC_DEV_TOOLS_INSPECT 40023 | ||||
179 | #define IDC_UPGRADE_DIALOG 40024 | ||||
180 | #define IDC_VIEW_INCOMPATIBILITIES 40025 | ||||
181 | #define IDC_VIEW_BACKGROUND_PAGES 40026 | ||||
182 | #define IDC_SHOW_KEYBOARD_OVERLAY 40027 | ||||
183 | #define IDC_PROFILING_ENABLED 40028 | ||||
[email protected] | 60574937 | 2011-07-26 03:06:42 | [diff] [blame] | 184 | #define IDC_BOOKMARKS_MENU 40029 |
185 | #define IDC_SHOW_SYNC_SETUP 40030 | ||||
[email protected] | 7c1490da | 2011-10-11 18:53:25 | [diff] [blame] | 186 | #define IDC_EXTENSION_ERRORS 40031 |
[email protected] | fbf35689 | 2011-10-13 00:45:10 | [diff] [blame] | 187 | #define IDC_SHOW_SYNC_ERROR 40032 |
[email protected] | 6e7d7bc | 2012-03-01 21:17:51 | [diff] [blame] | 188 | #define IDC_SHOW_SETTINGS_CHANGE_FIRST 40033 |
189 | #define IDC_SHOW_SETTINGS_CHANGE_LAST 40133 | ||||
190 | #define IDC_SHOW_AVATAR_MENU 40134 | ||||
[email protected] | edb6e77 | 2012-03-22 00:58:03 | [diff] [blame] | 191 | #define IDC_EXTENSION_DISABLED_FIRST 40135 |
192 | #define IDC_EXTENSION_DISABLED_LAST 40235 | ||||
[email protected] | 9b7ab88 | 2012-09-10 23:46:36 | [diff] [blame] | 193 | #define IDC_TOGGLE_REQUEST_TABLET_SITE 40236 |
[email protected] | 612a1cb1 | 2012-10-17 13:18:03 | [diff] [blame] | 194 | #define IDC_DEV_TOOLS_TOGGLE 40237 |
195 | #define IDC_EXTERNAL_EXTENSION_ALERT 40238 | ||||
[email protected] | 2f1acc21 | 2012-11-13 10:43:51 | [diff] [blame] | 196 | #define IDC_RECENT_TABS_MENU 40239 |
[email protected] | b1e270b | 2012-12-04 09:40:44 | [diff] [blame^] | 197 | #define IDC_RECENT_TABS_NO_DEVICE_TABS 40240 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 198 | |
199 | // Spell-check | ||||
200 | // Insert any additional suggestions before _LAST; these have to be consecutive. | ||||
201 | #define IDC_SPELLCHECK_SUGGESTION_0 41000 | ||||
202 | #define IDC_SPELLCHECK_SUGGESTION_1 41001 | ||||
203 | #define IDC_SPELLCHECK_SUGGESTION_2 41002 | ||||
204 | #define IDC_SPELLCHECK_SUGGESTION_3 41003 | ||||
205 | #define IDC_SPELLCHECK_SUGGESTION_4 41004 | ||||
206 | #define IDC_SPELLCHECK_SUGGESTION_LAST IDC_SPELLCHECK_SUGGESTION_4 | ||||
207 | #define IDC_SPELLCHECK_MENU 41005 | ||||
208 | // Language entries are inserted using autogenerated values between | ||||
209 | // [_FIRST, _LAST). | ||||
210 | #define IDC_SPELLCHECK_LANGUAGES_FIRST 41006 | ||||
211 | #define IDC_SPELLCHECK_LANGUAGES_LAST 41106 | ||||
[email protected] | bab9cd6 | 2012-06-11 06:36:29 | [diff] [blame] | 212 | #define IDC_CHECK_SPELLING_WHILE_TYPING 41107 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 213 | #define IDC_SPELLPANEL_TOGGLE 41109 |
214 | #define IDC_SPELLCHECK_ADD_TO_DICTIONARY 41110 | ||||
215 | |||||
216 | // Writing direction | ||||
217 | #define IDC_WRITING_DIRECTION_MENU 41120 // OSX only | ||||
218 | #define IDC_WRITING_DIRECTION_DEFAULT 41121 // OSX only | ||||
219 | #define IDC_WRITING_DIRECTION_LTR 41122 // OSX only | ||||
220 | #define IDC_WRITING_DIRECTION_RTL 41123 // OSX only | ||||
221 | |||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 222 | // Translate |
223 | #define IDC_TRANSLATE_OPTIONS_ALWAYS 42000 | ||||
224 | #define IDC_TRANSLATE_OPTIONS_NEVER_TRANSLATE_LANG 42001 | ||||
225 | #define IDC_TRANSLATE_OPTIONS_NEVER_TRANSLATE_SITE 42002 | ||||
226 | #define IDC_TRANSLATE_REPORT_BAD_LANGUAGE_DETECTION 42003 | ||||
227 | #define IDC_TRANSLATE_OPTIONS_ABOUT 42004 | ||||
228 | #define IDC_TRANSLATE_ORIGINAL_LANGUAGE_BASE 42100 | ||||
229 | #define IDC_TRANSLATE_TARGET_LANGUAGE_BASE 42400 | ||||
230 | |||||
[email protected] | afcb4356 | 2011-09-02 23:33:38 | [diff] [blame] | 231 | // Speech input |
232 | #define IDC_TOGGLE_SPEECH_INPUT 42500 | ||||
233 | |||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 234 | // Identifiers for platform-specific items. |
235 | // Placed in a common file to help insure they never collide. | ||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 236 | #define IDC_VIEW_MENU 44000 // OSX only |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 237 | #define IDC_HISTORY_MENU 46000 // OSX only |
[email protected] | 961a693 | 2011-07-19 19:52:46 | [diff] [blame] | 238 | #define IDC_PROFILE_MAIN_MENU 46100 // OSX only |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 239 | #define IDC_INPUT_METHODS_MENU 46300 // Linux only |
240 | |||||
241 | // Custom context menu entries | ||||
242 | #define IDC_CONTENT_CONTEXT_CUSTOM_FIRST 47000 | ||||
243 | #define IDC_CONTENT_CONTEXT_CUSTOM_LAST 48000 | ||||
244 | |||||
245 | // Context menu items added by extensions. | ||||
246 | #define IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST 49000 | ||||
247 | #define IDC_EXTENSIONS_CONTEXT_CUSTOM_LAST 50000 | ||||
248 | |||||
249 | // Context menu items in the render view. | ||||
250 | // Link items. | ||||
251 | #define IDC_CONTENT_CONTEXT_OPENLINKNEWTAB 50100 | ||||
252 | #define IDC_CONTENT_CONTEXT_OPENLINKNEWWINDOW 50101 | ||||
253 | #define IDC_CONTENT_CONTEXT_OPENLINKOFFTHERECORD 50102 | ||||
254 | #define IDC_CONTENT_CONTEXT_SAVELINKAS 50103 | ||||
255 | #define IDC_CONTENT_CONTEXT_COPYLINKLOCATION 50104 | ||||
256 | #define IDC_CONTENT_CONTEXT_COPYEMAILADDRESS 50105 | ||||
[email protected] | 88fb6a6 | 2011-06-27 04:07:57 | [diff] [blame] | 257 | #define IDC_CONTENT_CONTEXT_OPENLINKWITH 50106 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 258 | // Image items. |
259 | #define IDC_CONTENT_CONTEXT_SAVEIMAGEAS 50110 | ||||
260 | #define IDC_CONTENT_CONTEXT_COPYIMAGELOCATION 50111 | ||||
261 | #define IDC_CONTENT_CONTEXT_COPYIMAGE 50112 | ||||
262 | #define IDC_CONTENT_CONTEXT_OPENIMAGENEWTAB 50113 | ||||
263 | // Audio/video items. | ||||
264 | #define IDC_CONTENT_CONTEXT_SAVEAVAS 50120 | ||||
265 | #define IDC_CONTENT_CONTEXT_COPYAVLOCATION 50121 | ||||
266 | #define IDC_CONTENT_CONTEXT_OPENAVNEWTAB 50122 | ||||
267 | // Media items. | ||||
268 | #define IDC_CONTENT_CONTEXT_PLAYPAUSE 50130 | ||||
269 | #define IDC_CONTENT_CONTEXT_MUTE 50131 | ||||
270 | #define IDC_CONTENT_CONTEXT_LOOP 50132 | ||||
271 | #define IDC_CONTENT_CONTEXT_CONTROLS 50133 | ||||
[email protected] | 81375e87 | 2012-01-11 21:40:36 | [diff] [blame] | 272 | #define IDC_CONTENT_CONTEXT_ROTATECW 50134 |
273 | #define IDC_CONTENT_CONTEXT_ROTATECCW 50135 | ||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 274 | // Edit items. |
275 | #define IDC_CONTENT_CONTEXT_COPY 50140 | ||||
276 | #define IDC_CONTENT_CONTEXT_CUT 50141 | ||||
277 | #define IDC_CONTENT_CONTEXT_PASTE 50142 | ||||
278 | #define IDC_CONTENT_CONTEXT_DELETE 50143 | ||||
279 | #define IDC_CONTENT_CONTEXT_UNDO 50144 | ||||
280 | #define IDC_CONTENT_CONTEXT_REDO 50145 | ||||
281 | #define IDC_CONTENT_CONTEXT_SELECTALL 50146 | ||||
[email protected] | 44bf700 | 2011-10-16 02:46:15 | [diff] [blame] | 282 | #define IDC_CONTENT_CONTEXT_PASTE_AND_MATCH_STYLE 50147 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 283 | // Other items. |
284 | #define IDC_CONTENT_CONTEXT_TRANSLATE 50150 | ||||
285 | #define IDC_CONTENT_CONTEXT_INSPECTELEMENT 50151 | ||||
286 | #define IDC_CONTENT_CONTEXT_VIEWPAGEINFO 50152 | ||||
287 | #define IDC_CONTENT_CONTEXT_LANGUAGE_SETTINGS 50153 | ||||
288 | #define IDC_CONTENT_CONTEXT_LOOK_UP_IN_DICTIONARY 50154 | ||||
[email protected] | 0c69661 | 2011-06-25 04:29:08 | [diff] [blame] | 289 | #define IDC_CONTENT_CONTEXT_NO_SPELLING_SUGGESTIONS 50155 |
[email protected] | c8a7266 | 2011-09-05 09:26:08 | [diff] [blame] | 290 | #define IDC_CONTENT_CONTEXT_SPELLING_SUGGESTION 50156 |
[email protected] | f2a4351 | 2011-11-01 11:23:35 | [diff] [blame] | 291 | #define IDC_CONTENT_CONTEXT_SPELLING_TOGGLE 50157 |
[email protected] | f3768f6 | 2012-03-14 06:58:23 | [diff] [blame] | 292 | #define IDC_CONTENT_CONTEXT_SPEECH_MENU 50158 |
293 | #define IDC_CONTENT_CONTEXT_SPEECH_START_SPEAKING 50159 | ||||
294 | #define IDC_CONTENT_CONTEXT_SPEECH_STOP_SPEAKING 50160 | ||||
[email protected] | 65992d5 | 2012-09-19 23:05:31 | [diff] [blame] | 295 | #define IDC_CONTENT_CONTEXT_INSPECTBACKGROUNDPAGE 50161 |
[email protected] | 671c970 | 2012-09-27 07:51:19 | [diff] [blame] | 296 | #define IDC_CONTENT_CONTEXT_RELOAD_PACKAGED_APP 50162 |
[email protected] | 32b36c6 | 2012-10-24 05:37:41 | [diff] [blame] | 297 | #define IDC_CONTENT_CONTEXT_RESTART_PACKAGED_APP 50163 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 298 | // Frame items. |
[email protected] | 27cd1e6 | 2012-03-26 20:19:53 | [diff] [blame] | 299 | #define IDC_CONTENT_CONTEXT_RELOADFRAME 50170 |
300 | #define IDC_CONTENT_CONTEXT_VIEWFRAMESOURCE 50171 | ||||
301 | #define IDC_CONTENT_CONTEXT_VIEWFRAMEINFO 50172 | ||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 302 | // Search items. |
[email protected] | 27cd1e6 | 2012-03-26 20:19:53 | [diff] [blame] | 303 | #define IDC_CONTENT_CONTEXT_GOTOURL 50180 |
304 | #define IDC_CONTENT_CONTEXT_SEARCHWEBFOR 50181 | ||||
305 | #define IDC_CONTENT_CONTEXT_ADDSEARCHENGINE 50182 | ||||
[email protected] | 4aa0dea | 2010-12-09 01:51:03 | [diff] [blame] | 306 | |
307 | // Context menu items in the bookmark bar | ||||
308 | #define IDC_BOOKMARK_BAR_OPEN_ALL 51000 | ||||
309 | #define IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW 51001 | ||||
310 | #define IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO 51002 | ||||
311 | #define IDC_BOOKMARK_BAR_OPEN_INCOGNITO 51003 | ||||
312 | #define IDC_BOOKMARK_BAR_RENAME_FOLDER 51004 | ||||
313 | #define IDC_BOOKMARK_BAR_EDIT 51005 | ||||
314 | #define IDC_BOOKMARK_BAR_REMOVE 51006 | ||||
315 | #define IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK 51007 | ||||
316 | #define IDC_BOOKMARK_BAR_NEW_FOLDER 51008 | ||||
317 | #define IDC_BOOKMARK_MANAGER 51009 | ||||
318 | #define IDC_BOOKMARK_BAR_ALWAYS_SHOW 51010 | ||||
[email protected] | e7e637e | 2011-05-13 20:49:49 | [diff] [blame] | 319 | |
320 | // Context menu items in the status tray | ||||
321 | #define IDC_STATUS_TRAY_KEEP_CHROME_RUNNING_IN_BACKGROUND 51100 | ||||
[email protected] | 057569b | 2011-06-14 01:44:32 | [diff] [blame] | 322 | |
[email protected] | 508d103 | 2011-07-26 05:08:34 | [diff] [blame] | 323 | // Context menu items for speech recognition |
324 | #define IDC_SPEECH_INPUT_MENU 51200 | ||||
[email protected] | 9af487d4 | 2011-10-08 11:04:59 | [diff] [blame] | 325 | #define IDC_CONTENT_CONTEXT_SPEECH_INPUT_FILTER_PROFANITIES 51201 |
[email protected] | 508d103 | 2011-07-26 05:08:34 | [diff] [blame] | 326 | #define IDC_CONTENT_CONTEXT_SPEECH_INPUT_ABOUT 51202 |
327 | |||||
[email protected] | c993cd6 | 2012-05-03 20:01:59 | [diff] [blame] | 328 | // Context menu items for media stream status tray |
329 | #define IDC_MEDIA_STREAM_DEVICE_STATUS_TRAY 51300 | ||||
330 | #define IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_FIRST 51301 | ||||
331 | #define IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_LAST 51399 | ||||
[email protected] | 4afde5c | 2012-06-25 17:00:53 | [diff] [blame] | 332 | #define IDC_MEDIA_STREAM_DEVICE_ALWAYS_ALLOW 51400 |
[email protected] | c993cd6 | 2012-05-03 20:01:59 | [diff] [blame] | 333 | |
[email protected] | 88fb6a6 | 2011-06-27 04:07:57 | [diff] [blame] | 334 | // Protocol handler menu entries |
335 | #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_FIRST 52000 | ||||
336 | #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_LAST 52199 | ||||
337 | #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_SETTINGS 52200 | ||||
338 | |||||
339 | // NOTE: The last valid command value is 57343 (0xDFFF) | ||||
340 | // See http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx | ||||
341 | |||||
[email protected] | 057569b | 2011-06-14 01:44:32 | [diff] [blame] | 342 | #endif // CHROME_APP_CHROME_COMMAND_IDS_H_ |