| 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 | 7 |
| 8 // This file lists all the command IDs understood by e.g. the browser. | 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. | 9 // It is used by Windows RC files, Mac NIB files, and other platforms too. |
| 10 | 10 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) | 78 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| 79 #define IDC_USE_SYSTEM_TITLE_BAR 34051 | 79 #define IDC_USE_SYSTEM_TITLE_BAR 34051 |
| 80 #endif | 80 #endif |
| 81 | 81 |
| 82 // Page-related commands | 82 // Page-related commands |
| 83 #define IDC_BOOKMARK_PAGE 35000 | 83 #define IDC_BOOKMARK_PAGE 35000 |
| 84 #define IDC_BOOKMARK_ALL_TABS 35001 | 84 #define IDC_BOOKMARK_ALL_TABS 35001 |
| 85 #define IDC_VIEW_SOURCE 35002 | 85 #define IDC_VIEW_SOURCE 35002 |
| 86 #define IDC_PRINT 35003 | 86 #define IDC_PRINT 35003 |
| 87 #define IDC_SAVE_PAGE 35004 | 87 #define IDC_SAVE_PAGE 35004 |
| 88 #define IDC_ENCODING_MENU 35005 | |
| 89 #define IDC_EMAIL_PAGE_LOCATION 35006 | 88 #define IDC_EMAIL_PAGE_LOCATION 35006 |
| 90 #define IDC_BASIC_PRINT 35007 | 89 #define IDC_BASIC_PRINT 35007 |
| 91 #define IDC_SAVE_CREDIT_CARD_FOR_PAGE 35008 | 90 #define IDC_SAVE_CREDIT_CARD_FOR_PAGE 35008 |
| 92 #define IDC_TRANSLATE_PAGE 35009 | 91 #define IDC_TRANSLATE_PAGE 35009 |
| 93 #define IDC_MANAGE_PASSWORDS_FOR_PAGE 35010 | 92 #define IDC_MANAGE_PASSWORDS_FOR_PAGE 35010 |
| 94 #define IDC_ROUTE_MEDIA 35011 | 93 #define IDC_ROUTE_MEDIA 35011 |
| 95 | 94 |
| 96 // When adding a new encoding to this list, be sure to append it to the | |
| 97 // EncodingMenuController::kValidEncodingIds array in | |
| 98 // encoding_menu_controller.cc. | |
| 99 #define IDC_ENCODING_AUTO_DETECT 35500 | |
| 100 #define IDC_ENCODING_UTF8 35501 | |
| 101 #define IDC_ENCODING_UTF16LE 35502 | |
| 102 #define IDC_ENCODING_WINDOWS1252 35503 | |
| 103 #define IDC_ENCODING_GBK 35504 | |
| 104 #define IDC_ENCODING_GB18030 35505 | |
| 105 #define IDC_ENCODING_BIG5 35506 | |
| 106 #define IDC_ENCODING_KOREAN 35507 | |
| 107 #define IDC_ENCODING_SHIFTJIS 35508 | |
| 108 #define IDC_ENCODING_ISO2022JP 35509 | |
| 109 #define IDC_ENCODING_EUCJP 35510 | |
| 110 #define IDC_ENCODING_THAI 35511 | |
| 111 #define IDC_ENCODING_ISO885915 35512 | |
| 112 #define IDC_ENCODING_MACINTOSH 35513 | |
| 113 #define IDC_ENCODING_ISO88592 35514 | |
| 114 #define IDC_ENCODING_WINDOWS1250 35515 | |
| 115 #define IDC_ENCODING_ISO88595 35516 | |
| 116 #define IDC_ENCODING_WINDOWS1251 35517 | |
| 117 #define IDC_ENCODING_KOI8R 35518 | |
| 118 #define IDC_ENCODING_KOI8U 35519 | |
| 119 #define IDC_ENCODING_ISO88597 35520 | |
| 120 #define IDC_ENCODING_WINDOWS1253 35521 | |
| 121 #define IDC_ENCODING_ISO88594 35522 | |
| 122 #define IDC_ENCODING_ISO885913 35523 | |
| 123 #define IDC_ENCODING_WINDOWS1257 35524 | |
| 124 #define IDC_ENCODING_ISO88593 35525 | |
| 125 #define IDC_ENCODING_ISO885910 35526 | |
| 126 #define IDC_ENCODING_ISO885914 35527 | |
| 127 #define IDC_ENCODING_ISO885916 35528 | |
| 128 #define IDC_ENCODING_WINDOWS1254 35529 | |
| 129 #define IDC_ENCODING_ISO88596 35530 | |
| 130 #define IDC_ENCODING_WINDOWS1256 35531 | |
| 131 #define IDC_ENCODING_ISO88598 35532 | |
| 132 #define IDC_ENCODING_WINDOWS1255 35533 | |
| 133 #define IDC_ENCODING_WINDOWS1258 35534 | |
| 134 #define IDC_ENCODING_ISO88598I 35535 | |
| 135 #define IDC_ENCODING_IBM866 35536 | |
| 136 | |
| 137 // Clipboard commands | 95 // Clipboard commands |
| 138 #define IDC_CUT 36000 | 96 #define IDC_CUT 36000 |
| 139 #define IDC_COPY 36001 | 97 #define IDC_COPY 36001 |
| 140 #define IDC_PASTE 36003 | 98 #define IDC_PASTE 36003 |
| 141 #define IDC_EDIT_MENU 36004 | 99 #define IDC_EDIT_MENU 36004 |
| 142 | 100 |
| 143 // Find-in-page | 101 // Find-in-page |
| 144 #define IDC_FIND 37000 | 102 #define IDC_FIND 37000 |
| 145 #define IDC_FIND_NEXT 37001 | 103 #define IDC_FIND_NEXT 37001 |
| 146 #define IDC_FIND_PREVIOUS 37002 | 104 #define IDC_FIND_PREVIOUS 37002 |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 // See http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx | 357 // See http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx |
| 400 | 358 |
| 401 // Starting command id for menus showing bookmarks (such as the wrench menu). | 359 // Starting command id for menus showing bookmarks (such as the wrench menu). |
| 402 // While command ids passed to Windows functions must not be higher than 0xDFFF, | 360 // While command ids passed to Windows functions must not be higher than 0xDFFF, |
| 403 // these IDs are not exposed to the native system and thus can be in this | 361 // these IDs are not exposed to the native system and thus can be in this |
| 404 // otherwise-reserved range. No command used in a menu (such as the wrench menu) | 362 // otherwise-reserved range. No command used in a menu (such as the wrench menu) |
| 405 // should be higher than this, otherwise it'll conflict. | 363 // should be higher than this, otherwise it'll conflict. |
| 406 #define IDC_FIRST_BOOKMARK_MENU 0xE000 | 364 #define IDC_FIRST_BOOKMARK_MENU 0xE000 |
| 407 | 365 |
| 408 #endif // CHROME_APP_CHROME_COMMAND_IDS_H_ | 366 #endif // CHROME_APP_CHROME_COMMAND_IDS_H_ |
| OLD | NEW |