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