Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: chrome/app/chrome_command_ids.h

Issue 23005021: Replicate standard menus for apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update tests Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 #define IDC_MOVE_TAB_PREVIOUS 34033 62 #define IDC_MOVE_TAB_PREVIOUS 34033
63 #define IDC_SEARCH 34035 63 #define IDC_SEARCH 34035
64 #define IDC_TABPOSE 34036 64 #define IDC_TABPOSE 34036
65 #define IDC_DEBUG_FRAME_TOGGLE 34038 65 #define IDC_DEBUG_FRAME_TOGGLE 34038
66 #define IDC_PRESENTATION_MODE 34039 66 #define IDC_PRESENTATION_MODE 34039
67 #define IDC_METRO_SNAP_ENABLE 34040 67 #define IDC_METRO_SNAP_ENABLE 34040
68 #define IDC_METRO_SNAP_DISABLE 34041 68 #define IDC_METRO_SNAP_DISABLE 34041
69 #define IDC_WIN8_DESKTOP_RESTART 34042 69 #define IDC_WIN8_DESKTOP_RESTART 34042
70 #define IDC_WIN8_METRO_RESTART 34043 70 #define IDC_WIN8_METRO_RESTART 34043
71 #define IDC_TOGGLE_ASH_DESKTOP 34044 71 #define IDC_TOGGLE_ASH_DESKTOP 34044
72 #define IDC_WINDOW_MENU 34045
73 #define IDC_MINIMIZE 34046
tapted 2013/08/29 06:06:19 maybe IDC_MINIMIZE_WINDOW, to match IDC_CLOSE_WIND
jackhou1 2013/08/29 06:30:03 Done.
74 #define IDC_MAXIMIZE 34047
75 #define IDC_ALL_WINDOWS_FRONT 34048
72 76
73 // Page-related commands 77 // Page-related commands
74 #define IDC_BOOKMARK_PAGE 35000 78 #define IDC_BOOKMARK_PAGE 35000
75 #define IDC_BOOKMARK_ALL_TABS 35001 79 #define IDC_BOOKMARK_ALL_TABS 35001
76 #define IDC_VIEW_SOURCE 35002 80 #define IDC_VIEW_SOURCE 35002
77 #define IDC_PRINT 35003 81 #define IDC_PRINT 35003
78 #define IDC_SAVE_PAGE 35004 82 #define IDC_SAVE_PAGE 35004
79 #define IDC_ENCODING_MENU 35005 83 #define IDC_ENCODING_MENU 35005
80 #define IDC_EMAIL_PAGE_LOCATION 35006 84 #define IDC_EMAIL_PAGE_LOCATION 35006
81 #define IDC_ADVANCED_PRINT 35007 85 #define IDC_ADVANCED_PRINT 35007
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 #define IDC_TRANSLATE_OPTIONS_ABOUT 42004 233 #define IDC_TRANSLATE_OPTIONS_ABOUT 42004
230 #define IDC_TRANSLATE_ORIGINAL_LANGUAGE_BASE 42100 234 #define IDC_TRANSLATE_ORIGINAL_LANGUAGE_BASE 42100
231 #define IDC_TRANSLATE_TARGET_LANGUAGE_BASE 42400 235 #define IDC_TRANSLATE_TARGET_LANGUAGE_BASE 42400
232 236
233 // Speech input 237 // Speech input
234 #define IDC_TOGGLE_SPEECH_INPUT 42500 238 #define IDC_TOGGLE_SPEECH_INPUT 42500
235 239
236 // Identifiers for platform-specific items. 240 // Identifiers for platform-specific items.
237 // Placed in a common file to help insure they never collide. 241 // Placed in a common file to help insure they never collide.
238 #define IDC_VIEW_MENU 44000 // OSX only 242 #define IDC_VIEW_MENU 44000 // OSX only
243 #define IDC_FILE_MENU 44001 // OSX only
244 #define IDC_CHROME_MENU 44002 // OSX only
239 #define IDC_HISTORY_MENU 46000 // OSX only 245 #define IDC_HISTORY_MENU 46000 // OSX only
240 #define IDC_PROFILE_MAIN_MENU 46100 // OSX only 246 #define IDC_PROFILE_MAIN_MENU 46100 // OSX only
241 #define IDC_INPUT_METHODS_MENU 46300 // Linux only 247 #define IDC_INPUT_METHODS_MENU 46300 // Linux only
242 248
243 // Custom context menu entries 249 // Custom context menu entries
244 #define IDC_CONTENT_CONTEXT_CUSTOM_FIRST 47000 250 #define IDC_CONTENT_CONTEXT_CUSTOM_FIRST 47000
245 #define IDC_CONTENT_CONTEXT_CUSTOM_LAST 48000 251 #define IDC_CONTENT_CONTEXT_CUSTOM_LAST 48000
246 252
247 // Context menu items added by extensions. 253 // Context menu items added by extensions.
248 #define IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST 49000 254 #define IDC_EXTENSIONS_CONTEXT_CUSTOM_FIRST 49000
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 344
339 // Protocol handler menu entries 345 // Protocol handler menu entries
340 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_FIRST 52000 346 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_FIRST 52000
341 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_LAST 52199 347 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_LAST 52199
342 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_SETTINGS 52200 348 #define IDC_CONTENT_CONTEXT_PROTOCOL_HANDLER_SETTINGS 52200
343 349
344 // NOTE: The last valid command value is 57343 (0xDFFF) 350 // NOTE: The last valid command value is 57343 (0xDFFF)
345 // See http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx 351 // See http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx
346 352
347 #endif // CHROME_APP_CHROME_COMMAND_IDS_H_ 353 #endif // CHROME_APP_CHROME_COMMAND_IDS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/app/nibs/MainMenu.xib » ('j') | chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698