Chromium Code Reviews| Index: chrome/common/extensions/extension_manifest_constants.cc |
| =================================================================== |
| --- chrome/common/extensions/extension_manifest_constants.cc (revision 128819) |
| +++ chrome/common/extensions/extension_manifest_constants.cc (working copy) |
| @@ -95,6 +95,7 @@ |
| const char kShiftKey[] = "shiftKey"; |
| const char kShortcutKey[] = "shortcutKey"; |
| const char kSignature[] = "signature"; |
| +const char kSuggestedKey[] = "suggested_key"; |
| const char kTheme[] = "theme"; |
| const char kThemeColors[] = "colors"; |
| const char kThemeDisplayProperties[] = "properties"; |
| @@ -122,16 +123,20 @@ |
| } // namespace extension_manifest_keys |
| namespace extension_manifest_values { |
| -const char kBrowserActionKeybindingEvent[] = "browserAction"; |
| +const char kBrowserActionKeybindingEvent[] = "_execute_browser_action"; |
| const char kIncognitoSplit[] = "split"; |
| const char kIncognitoSpanning[] = "spanning"; |
| const char kIntentDispositionWindow[] = "window"; |
| const char kIntentDispositionInline[] = "inline"; |
| const char kIsolatedStorage[] = "storage"; |
| +const char kKeybindingPlatformChromeOs[] = "chromeos"; |
| +const char kKeybindingPlatformLinux[] = "linux"; |
| +const char kKeybindingPlatformMac[] = "mac"; |
| +const char kKeybindingPlatformWin[] = "windows"; |
| const char kRunAtDocumentStart[] = "document_start"; |
| const char kRunAtDocumentEnd[] = "document_end"; |
| const char kRunAtDocumentIdle[] = "document_idle"; |
| -const char kPageActionKeybindingEvent[] = "pageAction"; |
| +const char kPageActionKeybindingEvent[] = "_execute_page_action"; |
| const char kPageActionTypeTab[] = "tab"; |
| const char kPageActionTypePermanent[] = "permanent"; |
| const char kLaunchContainerPanel[] = "panel"; |
| @@ -291,11 +296,13 @@ |
| const char kInvalidKey[] = |
| "Value 'key' is missing or invalid."; |
| const char kInvalidKeyBinding[] = |
| - "Invalid value for 'commands[*].key':"; |
| + "Invalid value for 'commands[*].*': *."; |
| const char kInvalidKeyBindingDescription[] = |
| "Invalid value for 'commands[*].description'."; |
| const char kInvalidKeyBindingDictionary[] = |
| "Contents of 'commands[*]' invalid."; |
| +const char kInvalidKeyBindingMissingPlatform[] = |
| + "Platform not specified in 'commands[*].*': *."; |
|
Aaron Boodman
2012/03/26 21:44:57
Can you be more specific with this error. Somethin
|
| const char kInvalidLaunchContainer[] = |
| "Invalid value for 'app.launch.container'."; |
| const char kInvalidLaunchContainerForNonPlatform[] = |