OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_APP_CHROME_COMMAND_IDS_H_ | 5 #ifndef CHROME_APP_CHROME_COMMAND_IDS_H_ |
6 #define CHROME_APP_CHROME_COMMAND_IDS_H_ | 6 #define CHROME_APP_CHROME_COMMAND_IDS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 // This file lists all the command IDs understood by e.g. the browser. | 9 // This file lists all the command IDs understood by e.g. the browser. |
10 // It is used by Windows RC files, Mac NIB files, and other platforms too. | 10 // It is used by Windows RC files, Mac NIB files, and other platforms too. |
11 | 11 |
| 12 // Mac NIB files (e.g. chrome/app/nibs/MainMenu.xib) include ID numbers rather |
| 13 // than the corresponding #define labels. If you change a given command's |
| 14 // number, any NIB files that refer to it will also need to be updated. |
| 15 |
12 // Values below IDC_MinimumLabelValue are reserved for dynamic menu items. | 16 // Values below IDC_MinimumLabelValue are reserved for dynamic menu items. |
13 #define IDC_MinimumLabelValue 4000 | 17 #define IDC_MinimumLabelValue 4000 |
14 | 18 |
15 #define IDC_Messages 4000 | 19 #define IDC_Messages 4000 |
16 #define IDC_MessagesAll 4007 | 20 #define IDC_MessagesAll 4007 |
17 #define IDC_MessagesNone 4008 | 21 #define IDC_MessagesNone 4008 |
18 | 22 |
19 // NOTE: Within each of the following sections, the IDs are ordered roughly by | 23 // NOTE: Within each of the following sections, the IDs are ordered roughly by |
20 // how they appear in the GUI/menus (left to right, top to bottom, etc.). | 24 // how they appear in the GUI/menus (left to right, top to bottom, etc.). |
21 | 25 |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 | 316 |
313 // Protocol handler menu entries | 317 // Protocol handler menu entries |
314 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_FIRST 52000 | 318 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_FIRST 52000 |
315 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_LAST 52199 | 319 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_LAST 52199 |
316 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_SETTINGS 52200 | 320 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_SETTINGS 52200 |
317 | 321 |
318 // NOTE: The last valid command value is 57343 (0xDFFF) | 322 // NOTE: The last valid command value is 57343 (0xDFFF) |
319 // See http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx | 323 // See http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx |
320 | 324 |
321 #endif // CHROME_APP_CHROME_COMMAND_IDS_H_ | 325 #endif // CHROME_APP_CHROME_COMMAND_IDS_H_ |
OLD | NEW |