From 3658534f9be85c5e5c2ea071ec21c0b1f3021728 Mon Sep 17 00:00:00 2001 From: "finnur@chromium.org" Date: Fri, 11 Oct 2013 13:12:34 +0000 Subject: Implement first part of supporting global extension commands. This first part simply reads the optional "global" flag from the manifest and registers the shortcut as global if it is set to true. The intent is to let developers register Ctrl+Shift+[0..9] (and nothing else) as global shortcuts but let users override that -- delete the shortcut, change it to whatever other combination (not restricted to Ctrl+Shift+[0..9] or even make it non-global. There's no UI at the moment to do so, but that is a separate CL that is almost ready. This CL implements this functionality for Windows and stubs out the other platforms. The GTK stub has been fleshed out in parallel, but that's also another CL. BUG=302437 R=erg@chromium.org, sky@chromium.org, thakis@chromium.org, yoz@chromium.org Review URL: https://codereview.chromium.org/23812010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228176 0039d316-1c4b-4281-b951-d872f2087c98 --- extensions/common/manifest_constants.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'extensions/common/manifest_constants.cc') diff --git a/extensions/common/manifest_constants.cc b/extensions/common/manifest_constants.cc index dccf628..c03e3f4 100644 --- a/extensions/common/manifest_constants.cc +++ b/extensions/common/manifest_constants.cc @@ -45,6 +45,7 @@ const char kFileHandlers[] = "file_handlers"; const char kFileHandlerExtensions[] = "extensions"; const char kFileHandlerTitle[] = "title"; const char kFileHandlerTypes[] = "types"; +const char kGlobal[] = "global"; const char kHomepageURL[] = "homepage_url"; const char kIcons[] = "icons"; const char kId[] = "id"; -- cgit v1.1