[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] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 18 | // NOTE: Within each of the following sections, the IDs are ordered roughly by |
19 | // how they appear in the GUI/menus (left to right, top to bottom, etc.). | ||||
20 | |||||
21 | // Navigation commands | ||||
22 | // TODO: Reorder to be in visible order; collapse holes | ||||
23 | #define IDC_BACK 33000 | ||||
24 | #define IDC_FORWARD 33001 | ||||
25 | #define IDC_RELOAD 33002 | ||||
26 | #define IDC_HOME 33003 | ||||
27 | #define IDC_OPEN_CURRENT_URL 33004 | ||||
28 | #define IDC_STOP 33006 | ||||
toyoshim | 7dad4b118 | 2016-04-01 14:28:05 | [diff] [blame] | 29 | #define IDC_RELOAD_BYPASSING_CACHE 33007 |
[email protected] | ad52ca66 | 2012-06-26 15:48:55 | [diff] [blame] | 30 | #define IDC_LOAD_NEW_TAB_PAGE 33008 |
[email protected] | 58e2903 | 2012-08-06 20:19:57 | [diff] [blame] | 31 | #define IDC_RELOAD_CLEARING_CACHE 33009 |
ojan | c7e4899 | 2016-05-20 19:50:18 | [diff] [blame] | 32 | #define IDC_BACKSPACE_BACK 33010 |
33 | #define IDC_BACKSPACE_FORWARD 33011 | ||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 34 | |
35 | // Window management commands | ||||
36 | #define IDC_NEW_WINDOW 34000 | ||||
37 | #define IDC_NEW_INCOGNITO_WINDOW 34001 | ||||
[email protected] | e6ba5a1 | 2012-08-07 02:05:53 | [diff] [blame] | 38 | #define IDC_PIN_TO_START_SCREEN 34005 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 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 | ||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 61 | #define IDC_SEARCH 34035 |
[email protected] | cdc05ec | 2011-05-18 15:15:59 | [diff] [blame] | 62 | #define IDC_DEBUG_FRAME_TOGGLE 34038 |
[email protected] | 043537e | 2013-08-30 21:20:49 | [diff] [blame] | 63 | #define IDC_WINDOW_MENU 34045 |
64 | #define IDC_MINIMIZE_WINDOW 34046 | ||||
65 | #define IDC_MAXIMIZE_WINDOW 34047 | ||||
66 | #define IDC_ALL_WINDOWS_FRONT 34048 | ||||
[email protected] | d12cc5e | 2013-10-19 18:25:06 | [diff] [blame] | 67 | #define IDC_VISIT_DESKTOP_OF_LRU_USER_2 34049 |
68 | #define IDC_VISIT_DESKTOP_OF_LRU_USER_3 34050 | ||||
dbeam | 5acada55 | 2016-07-07 00:45:45 | [diff] [blame] | 69 | |
70 | #if defined(OS_LINUX) && !defined(OS_CHROMEOS) | ||||
[email protected] | af97be4c6 | 2014-02-13 14:43:34 | [diff] [blame] | 71 | #define IDC_USE_SYSTEM_TITLE_BAR 34051 |
dbeam | 5acada55 | 2016-07-07 00:45:45 | [diff] [blame] | 72 | #endif |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 73 | |
74 | // Page-related commands | ||||
75 | #define IDC_BOOKMARK_PAGE 35000 | ||||
76 | #define IDC_BOOKMARK_ALL_TABS 35001 | ||||
77 | #define IDC_VIEW_SOURCE 35002 | ||||
78 | #define IDC_PRINT 35003 | ||||
79 | #define IDC_SAVE_PAGE 35004 | ||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 80 | #define IDC_EMAIL_PAGE_LOCATION 35006 |
vitalybuka | f9433e4 | 2014-09-08 10:04:55 | [diff] [blame] | 81 | #define IDC_BASIC_PRINT 35007 |
bondd | 052b5f8 | 2015-10-28 22:39:32 | [diff] [blame] | 82 | #define IDC_SAVE_CREDIT_CARD_FOR_PAGE 35008 |
[email protected] | 944d53be | 2014-05-02 16:42:33 | [diff] [blame] | 83 | #define IDC_TRANSLATE_PAGE 35009 |
[email protected] | 4bee443 | 2014-05-05 13:11:41 | [diff] [blame] | 84 | #define IDC_MANAGE_PASSWORDS_FOR_PAGE 35010 |
apacible | 45cbfc9 | 2015-09-28 22:45:41 | [diff] [blame] | 85 | #define IDC_ROUTE_MEDIA 35011 |
ellyjones | 0101ba0 | 2017-05-19 15:50:26 | [diff] [blame] | 86 | #define IDC_WINDOW_MUTE_TAB 35012 |
87 | #define IDC_WINDOW_PIN_TAB 35013 | ||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 88 | |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 89 | // Clipboard commands |
90 | #define IDC_CUT 36000 | ||||
91 | #define IDC_COPY 36001 | ||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 92 | #define IDC_PASTE 36003 |
93 | #define IDC_EDIT_MENU 36004 | ||||
94 | |||||
95 | // Find-in-page | ||||
96 | #define IDC_FIND 37000 | ||||
97 | #define IDC_FIND_NEXT 37001 | ||||
98 | #define IDC_FIND_PREVIOUS 37002 | ||||
[email protected] | 56bf98f | 2013-09-23 07:27:24 | [diff] [blame] | 99 | #define IDC_FIND_MENU 37100 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 100 | |
101 | // Zoom | ||||
102 | #define IDC_ZOOM_MENU 38000 | ||||
103 | #define IDC_ZOOM_PLUS 38001 | ||||
104 | #define IDC_ZOOM_NORMAL 38002 | ||||
105 | #define IDC_ZOOM_MINUS 38003 | ||||
106 | #define IDC_ZOOM_PERCENT_DISPLAY 38004 | ||||
107 | |||||
108 | // Focus various bits of UI | ||||
109 | #define IDC_FOCUS_TOOLBAR 39000 | ||||
110 | #define IDC_FOCUS_LOCATION 39001 | ||||
111 | #define IDC_FOCUS_SEARCH 39002 | ||||
112 | #define IDC_FOCUS_MENU_BAR 39003 | ||||
113 | #define IDC_FOCUS_NEXT_PANE 39004 | ||||
114 | #define IDC_FOCUS_PREVIOUS_PANE 39005 | ||||
115 | #define IDC_FOCUS_BOOKMARKS 39006 | ||||
[email protected] | 822ca8c6 | 2013-04-19 00:49:15 | [diff] [blame] | 116 | #define IDC_FOCUS_INFOBARS 39007 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 117 | |
118 | // Show various bits of UI | ||||
119 | #define IDC_OPEN_FILE 40000 | ||||
[email protected] | 488e395 | 2013-11-18 05:29:14 | [diff] [blame] | 120 | #define IDC_CREATE_HOSTED_APP 40002 |
121 | #define IDC_DEVELOPER_MENU 40003 | ||||
122 | #define IDC_DEV_TOOLS 40004 | ||||
123 | #define IDC_DEV_TOOLS_CONSOLE 40005 | ||||
124 | #define IDC_TASK_MANAGER 40006 | ||||
125 | #define IDC_DEV_TOOLS_DEVICES 40007 | ||||
[email protected] | 236ad302 | 2013-09-04 03:27:43 | [diff] [blame] | 126 | #if defined(GOOGLE_CHROME_BUILD) |
[email protected] | 1c41a93 | 2010-11-22 23:41:23 | [diff] [blame] | 127 | #define IDC_FEEDBACK 40008 |
[email protected] | 236ad302 | 2013-09-04 03:27:43 | [diff] [blame] | 128 | #endif |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 129 | #define IDC_SHOW_BOOKMARK_BAR 40009 |
130 | #define IDC_SHOW_HISTORY 40010 | ||||
131 | #define IDC_SHOW_BOOKMARK_MANAGER 40011 | ||||
132 | #define IDC_SHOW_DOWNLOADS 40012 | ||||
133 | #define IDC_CLEAR_BROWSING_DATA 40013 | ||||
134 | #define IDC_IMPORT_SETTINGS 40014 | ||||
135 | #define IDC_OPTIONS 40015 | ||||
136 | #define IDC_EDIT_SEARCH_ENGINES 40016 | ||||
137 | #define IDC_VIEW_PASSWORDS 40017 | ||||
138 | #define IDC_ABOUT 40018 | ||||
[email protected] | 2ca3561 | 2012-06-12 03:49:48 | [diff] [blame] | 139 | #define IDC_HELP_PAGE_VIA_KEYBOARD 40019 |
140 | #define IDC_HELP_PAGE_VIA_MENU 40020 | ||||
141 | #define IDC_SHOW_APP_MENU 40021 | ||||
142 | #define IDC_MANAGE_EXTENSIONS 40022 | ||||
143 | #define IDC_DEV_TOOLS_INSPECT 40023 | ||||
144 | #define IDC_UPGRADE_DIALOG 40024 | ||||
145 | #define IDC_VIEW_INCOMPATIBILITIES 40025 | ||||
[email protected] | 2ca3561 | 2012-06-12 03:49:48 | [diff] [blame] | 146 | #define IDC_SHOW_KEYBOARD_OVERLAY 40027 |
147 | #define IDC_PROFILING_ENABLED 40028 | ||||
[email protected] | 60574937 | 2011-07-26 03:06:42 | [diff] [blame] | 148 | #define IDC_BOOKMARKS_MENU 40029 |
estade | 8c0780f | 2015-08-21 23:36:41 | [diff] [blame] | 149 | // TODO(atwilson): Remove IDC_SHOW_SYNC_SETUP when we officially allow signin |
150 | // when sync is disabled. | ||||
151 | #define IDC_SHOW_SYNC_SETUP 40030 | ||||
152 | #define IDC_SHOW_SIGNIN 40030 | ||||
[email protected] | 7c1490da | 2011-10-11 18:53:25 | [diff] [blame] | 153 | #define IDC_EXTENSION_ERRORS 40031 |
[email protected] | d28c6b2c | 2013-01-17 16:05:19 | [diff] [blame] | 154 | #define IDC_SHOW_SIGNIN_ERROR 40032 |
[email protected] | 6e7d7bc | 2012-03-01 21:17:51 | [diff] [blame] | 155 | #define IDC_SHOW_SETTINGS_CHANGE_FIRST 40033 |
156 | #define IDC_SHOW_SETTINGS_CHANGE_LAST 40133 | ||||
157 | #define IDC_SHOW_AVATAR_MENU 40134 | ||||
lazyboy | 0b9b30f | 2016-01-05 03:15:37 | [diff] [blame] | 158 | #define IDC_EXTENSION_INSTALL_ERROR_FIRST 40135 |
159 | #define IDC_EXTENSION_INSTALL_ERROR_LAST 40235 | ||||
[email protected] | 9b7ab88 | 2012-09-10 23:46:36 | [diff] [blame] | 160 | #define IDC_TOGGLE_REQUEST_TABLET_SITE 40236 |
[email protected] | 612a1cb1 | 2012-10-17 13:18:03 | [diff] [blame] | 161 | #define IDC_DEV_TOOLS_TOGGLE 40237 |
[email protected] | 2f1acc21 | 2012-11-13 10:43:51 | [diff] [blame] | 162 | #define IDC_RECENT_TABS_MENU 40239 |
[email protected] | b1e270b | 2012-12-04 09:40:44 | [diff] [blame] | 163 | #define IDC_RECENT_TABS_NO_DEVICE_TABS 40240 |
[email protected] | 9b46b6c | 2013-10-01 05:59:23 | [diff] [blame] | 164 | #define IDC_SHOW_SETTINGS_RESET_BUBBLE 40241 |
pkotwicz | 4c3ef60 | 2014-11-17 21:29:44 | [diff] [blame] | 165 | #define IDC_SHOW_SYNC_ERROR 40242 |
166 | #define IDC_DISTILL_PAGE 40243 | ||||
167 | #define IDC_HELP_MENU 40244 | ||||
168 | #define IDC_EXTENSIONS_OVERFLOW_MENU 40245 | ||||
169 | #define IDC_SHOW_SRT_BUBBLE 40246 | ||||
xiaolingbao | 4366f65e | 2014-12-02 02:25:21 | [diff] [blame] | 170 | #define IDC_ELEVATED_RECOVERY_DIALOG 40247 |
caelyn | 4e4e08a | 2015-02-04 21:27:49 | [diff] [blame] | 171 | #define IDC_TAKE_SCREENSHOT 40248 |
andresantoso | d09957e8 | 2015-03-17 23:58:28 | [diff] [blame] | 172 | #define IDC_MORE_TOOLS_MENU 40249 |
jlebel | 39480fd2 | 2017-03-22 19:13:08 | [diff] [blame] | 173 | #define IDC_TOGGLE_FULLSCREEN_TOOLBAR 40250 |
spqchan | bf3edb98 | 2017-05-10 18:01:20 | [diff] [blame] | 174 | #define IDC_CUSTOMIZE_TOUCH_BAR 40251 |
Bret Sepulveda | 2d01866 | 2017-05-18 21:31:48 | [diff] [blame] | 175 | #define IDC_SHOW_BETA_FORUM 40252 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 176 | |
177 | // Spell-check | ||||
178 | // Insert any additional suggestions before _LAST; these have to be consecutive. | ||||
179 | #define IDC_SPELLCHECK_SUGGESTION_0 41000 | ||||
180 | #define IDC_SPELLCHECK_SUGGESTION_1 41001 | ||||
181 | #define IDC_SPELLCHECK_SUGGESTION_2 41002 | ||||
182 | #define IDC_SPELLCHECK_SUGGESTION_3 41003 | ||||
183 | #define IDC_SPELLCHECK_SUGGESTION_4 41004 | ||||
184 | #define IDC_SPELLCHECK_SUGGESTION_LAST IDC_SPELLCHECK_SUGGESTION_4 | ||||
185 | #define IDC_SPELLCHECK_MENU 41005 | ||||
186 | // Language entries are inserted using autogenerated values between | ||||
187 | // [_FIRST, _LAST). | ||||
188 | #define IDC_SPELLCHECK_LANGUAGES_FIRST 41006 | ||||
189 | #define IDC_SPELLCHECK_LANGUAGES_LAST 41106 | ||||
[email protected] | bab9cd6 | 2012-06-11 06:36:29 | [diff] [blame] | 190 | #define IDC_CHECK_SPELLING_WHILE_TYPING 41107 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 191 | #define IDC_SPELLPANEL_TOGGLE 41109 |
192 | #define IDC_SPELLCHECK_ADD_TO_DICTIONARY 41110 | ||||
rouslan | e59900a | 2016-02-17 19:45:43 | [diff] [blame] | 193 | #define IDC_SPELLCHECK_MULTI_LINGUAL 41111 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 194 | |
195 | // Writing direction | ||||
[email protected] | 6faca7f | 2013-12-09 09:57:23 | [diff] [blame] | 196 | #define IDC_WRITING_DIRECTION_MENU 41120 |
197 | #define IDC_WRITING_DIRECTION_DEFAULT 41121 | ||||
198 | #define IDC_WRITING_DIRECTION_LTR 41122 | ||||
199 | #define IDC_WRITING_DIRECTION_RTL 41123 | ||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 200 | |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 201 | // Translate |
[email protected] | dbe9bfa | 2014-06-02 16:01:29 | [diff] [blame] | 202 | #define IDC_TRANSLATE_ORIGINAL_LANGUAGE_BASE 42100 |
203 | #define IDC_TRANSLATE_TARGET_LANGUAGE_BASE 42400 | ||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 204 | |
205 | // Identifiers for platform-specific items. | ||||
206 | // Placed in a common file to help insure they never collide. | ||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 207 | #define IDC_VIEW_MENU 44000 // OSX only |
[email protected] | 043537e | 2013-08-30 21:20:49 | [diff] [blame] | 208 | #define IDC_FILE_MENU 44001 // OSX only |
209 | #define IDC_CHROME_MENU 44002 // OSX only | ||||
[email protected] | 732c3b5 | 2013-09-06 11:06:37 | [diff] [blame] | 210 | #define IDC_HIDE_APP 44003 // OSX only |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 211 | #define IDC_HISTORY_MENU 46000 // OSX only |
[email protected] | 961a693 | 2011-07-19 19:52:46 | [diff] [blame] | 212 | #define IDC_PROFILE_MAIN_MENU 46100 // OSX only |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 213 | #define IDC_INPUT_METHODS_MENU 46300 // Linux only |
kpschoedel | f8e9274e | 2014-10-07 18:32:41 | [diff] [blame] | 214 | #define IDC_TOUCH_HUD_PROJECTION_TOGGLE 46400 // ChromeOS only |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 215 | |
[email protected] | a146532b | 2014-07-30 11:20:09 | [diff] [blame] | 216 | // The range of command ids reserved for context menus added by web content. |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 217 | #define IDC_CONTENT_CONTEXT_CUSTOM_FIRST 47000 |
218 | #define IDC_CONTENT_CONTEXT_CUSTOM_LAST 48000 | ||||
219 | |||||
[email protected] | a146532b | 2014-07-30 11:20:09 | [diff] [blame] | 220 | // The range of command ids reserved for context menus added by extensions. |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 221 | #define IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST 49000 |
222 | #define IDC_EXTENSIONS_CONTEXT_CUSTOM_LAST 50000 | ||||
223 | |||||
224 | // Context menu items in the render view. | ||||
225 | // Link items. | ||||
226 | #define IDC_CONTENT_CONTEXT_OPENLINKNEWTAB 50100 | ||||
227 | #define IDC_CONTENT_CONTEXT_OPENLINKNEWWINDOW 50101 | ||||
228 | #define IDC_CONTENT_CONTEXT_OPENLINKOFFTHERECORD 50102 | ||||
229 | #define IDC_CONTENT_CONTEXT_SAVELINKAS 50103 | ||||
230 | #define IDC_CONTENT_CONTEXT_COPYLINKLOCATION 50104 | ||||
231 | #define IDC_CONTENT_CONTEXT_COPYEMAILADDRESS 50105 | ||||
[email protected] | 88fb6a6 | 2011-06-27 04:07:57 | [diff] [blame] | 232 | #define IDC_CONTENT_CONTEXT_OPENLINKWITH 50106 |
mohsen | 5343900 | 2015-10-14 17:28:57 | [diff] [blame] | 233 | #define IDC_CONTENT_CONTEXT_COPYLINKTEXT 50107 |
jochen | 3917ff9e | 2015-10-26 11:19:29 | [diff] [blame] | 234 | #define IDC_CONTENT_CONTEXT_OPENLINKINPROFILE 50108 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 235 | // Image items. |
236 | #define IDC_CONTENT_CONTEXT_SAVEIMAGEAS 50110 | ||||
237 | #define IDC_CONTENT_CONTEXT_COPYIMAGELOCATION 50111 | ||||
238 | #define IDC_CONTENT_CONTEXT_COPYIMAGE 50112 | ||||
239 | #define IDC_CONTENT_CONTEXT_OPENIMAGENEWTAB 50113 | ||||
[email protected] | be97924 | 2013-08-06 17:24:49 | [diff] [blame] | 240 | #define IDC_CONTENT_CONTEXT_SEARCHWEBFORIMAGE 50114 |
kundaji | f28021f | 2015-02-24 01:27:04 | [diff] [blame] | 241 | #define IDC_CONTENT_CONTEXT_OPEN_ORIGINAL_IMAGE_NEW_TAB 50115 |
megjablon | be80cf7 | 2015-06-13 03:34:54 | [diff] [blame] | 242 | #define IDC_CONTENT_CONTEXT_LOAD_ORIGINAL_IMAGE 50116 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 243 | // Audio/video items. |
244 | #define IDC_CONTENT_CONTEXT_SAVEAVAS 50120 | ||||
245 | #define IDC_CONTENT_CONTEXT_COPYAVLOCATION 50121 | ||||
246 | #define IDC_CONTENT_CONTEXT_OPENAVNEWTAB 50122 | ||||
247 | // Media items. | ||||
248 | #define IDC_CONTENT_CONTEXT_PLAYPAUSE 50130 | ||||
249 | #define IDC_CONTENT_CONTEXT_MUTE 50131 | ||||
250 | #define IDC_CONTENT_CONTEXT_LOOP 50132 | ||||
251 | #define IDC_CONTENT_CONTEXT_CONTROLS 50133 | ||||
[email protected] | 81375e87 | 2012-01-11 21:40:36 | [diff] [blame] | 252 | #define IDC_CONTENT_CONTEXT_ROTATECW 50134 |
253 | #define IDC_CONTENT_CONTEXT_ROTATECCW 50135 | ||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 254 | // Edit items. |
255 | #define IDC_CONTENT_CONTEXT_COPY 50140 | ||||
256 | #define IDC_CONTENT_CONTEXT_CUT 50141 | ||||
257 | #define IDC_CONTENT_CONTEXT_PASTE 50142 | ||||
258 | #define IDC_CONTENT_CONTEXT_DELETE 50143 | ||||
259 | #define IDC_CONTENT_CONTEXT_UNDO 50144 | ||||
260 | #define IDC_CONTENT_CONTEXT_REDO 50145 | ||||
261 | #define IDC_CONTENT_CONTEXT_SELECTALL 50146 | ||||
[email protected] | 44bf700 | 2011-10-16 02:46:15 | [diff] [blame] | 262 | #define IDC_CONTENT_CONTEXT_PASTE_AND_MATCH_STYLE 50147 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 263 | // Other items. |
264 | #define IDC_CONTENT_CONTEXT_TRANSLATE 50150 | ||||
265 | #define IDC_CONTENT_CONTEXT_INSPECTELEMENT 50151 | ||||
266 | #define IDC_CONTENT_CONTEXT_VIEWPAGEINFO 50152 | ||||
267 | #define IDC_CONTENT_CONTEXT_LANGUAGE_SETTINGS 50153 | ||||
andybons | 6fd52e31 | 2015-07-21 15:48:12 | [diff] [blame] | 268 | #define IDC_CONTENT_CONTEXT_LOOK_UP 50154 |
[email protected] | 0c69661 | 2011-06-25 04:29:08 | [diff] [blame] | 269 | #define IDC_CONTENT_CONTEXT_NO_SPELLING_SUGGESTIONS 50155 |
[email protected] | c8a7266 | 2011-09-05 09:26:08 | [diff] [blame] | 270 | #define IDC_CONTENT_CONTEXT_SPELLING_SUGGESTION 50156 |
[email protected] | f2a4351 | 2011-11-01 11:23:35 | [diff] [blame] | 271 | #define IDC_CONTENT_CONTEXT_SPELLING_TOGGLE 50157 |
jonross | 6dcf90c | 2017-02-10 17:15:37 | [diff] [blame] | 272 | #define IDC_CONTENT_CONTEXT_SPEECH_MENU 50158 |
273 | #define IDC_CONTENT_CONTEXT_SPEECH_START_SPEAKING 50159 | ||||
274 | #define IDC_CONTENT_CONTEXT_SPEECH_STOP_SPEAKING 50160 | ||||
[email protected] | 65992d5 | 2012-09-19 23:05:31 | [diff] [blame] | 275 | #define IDC_CONTENT_CONTEXT_INSPECTBACKGROUNDPAGE 50161 |
[email protected] | 671c970 | 2012-09-27 07:51:19 | [diff] [blame] | 276 | #define IDC_CONTENT_CONTEXT_RELOAD_PACKAGED_APP 50162 |
[email protected] | 32b36c6 | 2012-10-24 05:37:41 | [diff] [blame] | 277 | #define IDC_CONTENT_CONTEXT_RESTART_PACKAGED_APP 50163 |
msramek | 1cceccd | 2015-05-26 11:27:52 | [diff] [blame] | 278 | #define IDC_CONTENT_CONTEXT_FORCESAVEPASSWORD 50165 |
dvadym | 415215b | 2016-02-09 12:05:03 | [diff] [blame] | 279 | #define IDC_CONTENT_CONTEXT_GENERATEPASSWORD 50166 |
mgiuca | 8490591 | 2016-07-11 01:17:13 | [diff] [blame] | 280 | #define IDC_CONTENT_CONTEXT_EXIT_FULLSCREEN 50167 |
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 281 | // Frame items. |
[email protected] | 27cd1e6 | 2012-03-26 20:19:53 | [diff] [blame] | 282 | #define IDC_CONTENT_CONTEXT_RELOADFRAME 50170 |
283 | #define IDC_CONTENT_CONTEXT_VIEWFRAMESOURCE 50171 | ||||
284 | #define IDC_CONTENT_CONTEXT_VIEWFRAMEINFO 50172 | ||||
[email protected] | 1a3aba8 | 2010-11-08 23:52:54 | [diff] [blame] | 285 | // Search items. |
[email protected] | 27cd1e6 | 2012-03-26 20:19:53 | [diff] [blame] | 286 | #define IDC_CONTENT_CONTEXT_GOTOURL 50180 |
287 | #define IDC_CONTENT_CONTEXT_SEARCHWEBFOR 50181 | ||||
yusukes | 1168eda | 2016-04-27 07:52:08 | [diff] [blame] | 288 | // Open with items. |
289 | #define IDC_CONTENT_CONTEXT_OPEN_WITH1 50190 | ||||
290 | #define IDC_CONTENT_CONTEXT_OPEN_WITH2 50191 | ||||
291 | #define IDC_CONTENT_CONTEXT_OPEN_WITH3 50192 | ||||
292 | #define IDC_CONTENT_CONTEXT_OPEN_WITH4 50193 | ||||
293 | #define IDC_CONTENT_CONTEXT_OPEN_WITH5 50194 | ||||
294 | #define IDC_CONTENT_CONTEXT_OPEN_WITH6 50195 | ||||
295 | #define IDC_CONTENT_CONTEXT_OPEN_WITH7 50196 | ||||
296 | #define IDC_CONTENT_CONTEXT_OPEN_WITH8 50197 | ||||
297 | #define IDC_CONTENT_CONTEXT_OPEN_WITH9 50198 | ||||
298 | #define IDC_CONTENT_CONTEXT_OPEN_WITH10 50199 | ||||
299 | #define IDC_CONTENT_CONTEXT_OPEN_WITH11 50200 | ||||
300 | #define IDC_CONTENT_CONTEXT_OPEN_WITH12 50201 | ||||
301 | #define IDC_CONTENT_CONTEXT_OPEN_WITH13 50202 | ||||
302 | #define IDC_CONTENT_CONTEXT_OPEN_WITH14 50203 | ||||
303 | #define IDC_CONTENT_CONTEXT_OPEN_WITH_LAST IDC_CONTENT_CONTEXT_OPEN_WITH14 | ||||
[email protected] | 4aa0dea | 2010-12-09 01:51:03 | [diff] [blame] | 304 | // Context menu items in the bookmark bar |
305 | #define IDC_BOOKMARK_BAR_OPEN_ALL 51000 | ||||
306 | #define IDC_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW 51001 | ||||
307 | #define IDC_BOOKMARK_BAR_OPEN_ALL_INCOGNITO 51002 | ||||
308 | #define IDC_BOOKMARK_BAR_OPEN_INCOGNITO 51003 | ||||
309 | #define IDC_BOOKMARK_BAR_RENAME_FOLDER 51004 | ||||
310 | #define IDC_BOOKMARK_BAR_EDIT 51005 | ||||
311 | #define IDC_BOOKMARK_BAR_REMOVE 51006 | ||||
312 | #define IDC_BOOKMARK_BAR_ADD_NEW_BOOKMARK 51007 | ||||
313 | #define IDC_BOOKMARK_BAR_NEW_FOLDER 51008 | ||||
314 | #define IDC_BOOKMARK_MANAGER 51009 | ||||
315 | #define IDC_BOOKMARK_BAR_ALWAYS_SHOW 51010 | ||||
[email protected] | 0955ce3 | 2013-03-05 19:40:40 | [diff] [blame] | 316 | #define IDC_BOOKMARK_BAR_SHOW_APPS_SHORTCUT 51011 |
[email protected] | fd77aee | 2013-12-07 02:57:16 | [diff] [blame] | 317 | #define IDC_BOOKMARK_BAR_UNDO 51012 |
318 | #define IDC_BOOKMARK_BAR_REDO 51013 | ||||
[email protected] | e169ada | 2014-06-16 01:42:19 | [diff] [blame] | 319 | #define IDC_BOOKMARK_BAR_SHOW_MANAGED_BOOKMARKS 51014 |
[email protected] | e7e637e | 2011-05-13 20:49:49 | [diff] [blame] | 320 | |
321 | // Context menu items in the status tray | ||||
322 | #define IDC_STATUS_TRAY_KEEP_CHROME_RUNNING_IN_BACKGROUND 51100 | ||||
[email protected] | 057569b | 2011-06-14 01:44:32 | [diff] [blame] | 323 | |
apacible | e3aa6665 | 2015-07-23 22:18:24 | [diff] [blame] | 324 | // Context menu items for media router |
325 | #define IDC_MEDIA_ROUTER_ABOUT 51200 | ||||
326 | #define IDC_MEDIA_ROUTER_HELP 51201 | ||||
327 | #define IDC_MEDIA_ROUTER_LEARN_MORE 51202 | ||||
328 | #define IDC_MEDIA_ROUTER_REPORT_ISSUE 51203 | ||||
takumif | b22235a | 2016-09-22 00:44:44 | [diff] [blame] | 329 | #define IDC_MEDIA_ROUTER_ALWAYS_SHOW_TOOLBAR_ACTION 51204 |
apacible | 0320fa7 | 2016-01-27 02:07:37 | [diff] [blame] | 330 | #define IDC_MEDIA_ROUTER_CLOUD_SERVICES_TOGGLE 51205 |
sheretov | cb7c961 | 2016-06-27 23:26:55 | [diff] [blame] | 331 | #define IDC_MEDIA_ROUTER_MANAGE_DEVICES 51206 |
takumif | 1a5f285 | 2017-01-31 19:10:50 | [diff] [blame] | 332 | #define IDC_MEDIA_ROUTER_SHOWN_BY_POLICY 51207 |
takumif | 1e061d2 | 2017-03-03 18:47:03 | [diff] [blame] | 333 | #define IDC_MEDIA_ROUTER_SHOW_IN_TOOLBAR 51208 |
apacible | e3aa6665 | 2015-07-23 22:18:24 | [diff] [blame] | 334 | |
[email protected] | c993cd6 | 2012-05-03 20:01:59 | [diff] [blame] | 335 | // Context menu items for media stream status tray |
336 | #define IDC_MEDIA_STREAM_DEVICE_STATUS_TRAY 51300 | ||||
337 | #define IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_FIRST 51301 | ||||
338 | #define IDC_MEDIA_CONTEXT_MEDIA_STREAM_CAPTURE_LIST_LAST 51399 | ||||
[email protected] | 4afde5c | 2012-06-25 17:00:53 | [diff] [blame] | 339 | #define IDC_MEDIA_STREAM_DEVICE_ALWAYS_ALLOW 51400 |
[email protected] | c993cd6 | 2012-05-03 20:01:59 | [diff] [blame] | 340 | |
[email protected] | 88fb6a6 | 2011-06-27 04:07:57 | [diff] [blame] | 341 | // Protocol handler menu entries |
342 | #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_FIRST 52000 | ||||
343 | #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_LAST 52199 | ||||
344 | #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_SETTINGS 52200 | ||||
345 | |||||
jochen | 3917ff9e | 2015-10-26 11:19:29 | [diff] [blame] | 346 | // Open link in profile entries |
347 | #define IDC_OPEN_LINK_IN_PROFILE_FIRST 52300 | ||||
348 | #define IDC_OPEN_LINK_IN_PROFILE_LAST 52399 | ||||
349 | |||||
[email protected] | 88fb6a6 | 2011-06-27 04:07:57 | [diff] [blame] | 350 | // NOTE: The last valid command value is 57343 (0xDFFF) |
351 | // See http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx | ||||
352 | |||||
sky | 80d9973 | 2015-03-31 01:03:35 | [diff] [blame] | 353 | // Starting command id for menus showing bookmarks (such as the wrench menu). |
354 | // While command ids passed to Windows functions must not be higher than 0xDFFF, | ||||
355 | // these IDs are not exposed to the native system and thus can be in this | ||||
356 | // otherwise-reserved range. No command used in a menu (such as the wrench menu) | ||||
357 | // should be higher than this, otherwise it'll conflict. | ||||
358 | #define IDC_FIRST_BOOKMARK_MENU 0xE000 | ||||
359 | |||||
[email protected] | 057569b | 2011-06-14 01:44:32 | [diff] [blame] | 360 | #endif // CHROME_APP_CHROME_COMMAND_IDS_H_ |