| 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 11 matching lines...) Expand all Loading... |
| 22 // TODO: Reorder to be in visible order; collapse holes | 22 // TODO: Reorder to be in visible order; collapse holes |
| 23 #define IDC_BACK 33000 | 23 #define IDC_BACK 33000 |
| 24 #define IDC_FORWARD 33001 | 24 #define IDC_FORWARD 33001 |
| 25 #define IDC_RELOAD 33002 | 25 #define IDC_RELOAD 33002 |
| 26 #define IDC_HOME 33003 | 26 #define IDC_HOME 33003 |
| 27 #define IDC_OPEN_CURRENT_URL 33004 | 27 #define IDC_OPEN_CURRENT_URL 33004 |
| 28 #define IDC_STOP 33006 | 28 #define IDC_STOP 33006 |
| 29 #define IDC_RELOAD_BYPASSING_CACHE 33007 | 29 #define IDC_RELOAD_BYPASSING_CACHE 33007 |
| 30 #define IDC_LOAD_NEW_TAB_PAGE 33008 | 30 #define IDC_LOAD_NEW_TAB_PAGE 33008 |
| 31 #define IDC_RELOAD_CLEARING_CACHE 33009 | 31 #define IDC_RELOAD_CLEARING_CACHE 33009 |
| 32 // Temporary commands to capture the old Back/Forward shortcuts and tell users | |
| 33 // the new shortcut. May also trigger Back/Forward action if the | |
| 34 // BackspaceGoesBack field trial is enabled. | |
| 35 // TODO(mgiuca): Remove these in M54 (https://crbug.com/610039). | |
| 36 #define IDC_BACKSPACE_BACK 33010 | 32 #define IDC_BACKSPACE_BACK 33010 |
| 37 #define IDC_BACKSPACE_FORWARD 33011 | 33 #define IDC_BACKSPACE_FORWARD 33011 |
| 38 | 34 |
| 39 // Window management commands | 35 // Window management commands |
| 40 #define IDC_NEW_WINDOW 34000 | 36 #define IDC_NEW_WINDOW 34000 |
| 41 #define IDC_NEW_INCOGNITO_WINDOW 34001 | 37 #define IDC_NEW_INCOGNITO_WINDOW 34001 |
| 42 #define IDC_PIN_TO_START_SCREEN 34005 | 38 #define IDC_PIN_TO_START_SCREEN 34005 |
| 43 #define IDC_CLOSE_WINDOW 34012 | 39 #define IDC_CLOSE_WINDOW 34012 |
| 44 #define IDC_ALWAYS_ON_TOP 34013 | 40 #define IDC_ALWAYS_ON_TOP 34013 |
| 45 #define IDC_NEW_TAB 34014 | 41 #define IDC_NEW_TAB 34014 |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 // See http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx | 348 // See http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx |
| 353 | 349 |
| 354 // Starting command id for menus showing bookmarks (such as the wrench menu). | 350 // Starting command id for menus showing bookmarks (such as the wrench menu). |
| 355 // While command ids passed to Windows functions must not be higher than 0xDFFF, | 351 // While command ids passed to Windows functions must not be higher than 0xDFFF, |
| 356 // these IDs are not exposed to the native system and thus can be in this | 352 // these IDs are not exposed to the native system and thus can be in this |
| 357 // otherwise-reserved range. No command used in a menu (such as the wrench menu) | 353 // otherwise-reserved range. No command used in a menu (such as the wrench menu) |
| 358 // should be higher than this, otherwise it'll conflict. | 354 // should be higher than this, otherwise it'll conflict. |
| 359 #define IDC_FIRST_BOOKMARK_MENU 0xE000 | 355 #define IDC_FIRST_BOOKMARK_MENU 0xE000 |
| 360 | 356 |
| 361 #endif // CHROME_APP_CHROME_COMMAND_IDS_H_ | 357 #endif // CHROME_APP_CHROME_COMMAND_IDS_H_ |
| OLD | NEW |