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

Unified Diff: chrome/app/chrome_command_ids.h

Issue 1005873012: Makes bookmark menu lazily create menus and removes limits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review feedback Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/toolbar/wrench_menu_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_command_ids.h
diff --git a/chrome/app/chrome_command_ids.h b/chrome/app/chrome_command_ids.h
index 6db8daf00919a3b82afc6bbcd94dc9d74861f0ae..3e91a9e43278a0b83596d1f76c5ce3b1323a6df9 100644
--- a/chrome/app/chrome_command_ids.h
+++ b/chrome/app/chrome_command_ids.h
@@ -361,4 +361,11 @@
// NOTE: The last valid command value is 57343 (0xDFFF)
// See http://msdn.microsoft.com/en-us/library/t2zechd4(VS.71).aspx
+// Starting command id for menus showing bookmarks (such as the wrench menu).
+// While command ids passed to Windows functions must not be higher than 0xDFFF,
+// these IDs are not exposed to the native system and thus can be in this
+// otherwise-reserved range. No command used in a menu (such as the wrench menu)
+// should be higher than this, otherwise it'll conflict.
+#define IDC_FIRST_BOOKMARK_MENU 0xE000
+
#endif // CHROME_APP_CHROME_COMMAND_IDS_H_
« no previous file with comments | « no previous file | chrome/browser/ui/toolbar/wrench_menu_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698