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 #include "chrome/common/extensions/extension_manifest_constants.h" | 5 #include "chrome/common/extensions/extension_manifest_constants.h" |
6 | 6 |
7 namespace extension_manifest_keys { | 7 namespace extension_manifest_keys { |
8 | 8 |
9 const char kAllFrames[] = "all_frames"; | 9 const char kAllFrames[] = "all_frames"; |
10 const char kAltKey[] = "altKey"; | 10 const char kAltKey[] = "altKey"; |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 const char kTtsVoicesLang[] = "lang"; | 121 const char kTtsVoicesLang[] = "lang"; |
122 const char kTtsVoicesVoiceName[] = "voice_name"; | 122 const char kTtsVoicesVoiceName[] = "voice_name"; |
123 const char kType[] = "type"; | 123 const char kType[] = "type"; |
124 const char kUpdateURL[] = "update_url"; | 124 const char kUpdateURL[] = "update_url"; |
125 const char kVersion[] = "version"; | 125 const char kVersion[] = "version"; |
126 const char kWebAccessibleResources[] = "web_accessible_resources"; | 126 const char kWebAccessibleResources[] = "web_accessible_resources"; |
127 const char kWebURLs[] = "app.urls"; | 127 const char kWebURLs[] = "app.urls"; |
128 } // namespace extension_manifest_keys | 128 } // namespace extension_manifest_keys |
129 | 129 |
130 namespace extension_manifest_values { | 130 namespace extension_manifest_values { |
131 const char kBrowserActionKeybindingEvent[] = "_execute_browser_action"; | 131 const char kBrowserActionCommandEvent[] = "_execute_browser_action"; |
132 const char kIncognitoSplit[] = "split"; | 132 const char kIncognitoSplit[] = "split"; |
133 const char kIncognitoSpanning[] = "spanning"; | 133 const char kIncognitoSpanning[] = "spanning"; |
134 const char kIntentDispositionWindow[] = "window"; | 134 const char kIntentDispositionWindow[] = "window"; |
135 const char kIntentDispositionInline[] = "inline"; | 135 const char kIntentDispositionInline[] = "inline"; |
136 const char kIsolatedStorage[] = "storage"; | 136 const char kIsolatedStorage[] = "storage"; |
137 const char kKeybindingPlatformChromeOs[] = "chromeos"; | 137 const char kKeybindingPlatformChromeOs[] = "chromeos"; |
138 const char kKeybindingPlatformDefault[] = "default"; | 138 const char kKeybindingPlatformDefault[] = "default"; |
139 const char kKeybindingPlatformLinux[] = "linux"; | 139 const char kKeybindingPlatformLinux[] = "linux"; |
140 const char kKeybindingPlatformMac[] = "mac"; | 140 const char kKeybindingPlatformMac[] = "mac"; |
141 const char kKeybindingPlatformWin[] = "windows"; | 141 const char kKeybindingPlatformWin[] = "windows"; |
142 const char kRunAtDocumentStart[] = "document_start"; | 142 const char kRunAtDocumentStart[] = "document_start"; |
143 const char kRunAtDocumentEnd[] = "document_end"; | 143 const char kRunAtDocumentEnd[] = "document_end"; |
144 const char kRunAtDocumentIdle[] = "document_idle"; | 144 const char kRunAtDocumentIdle[] = "document_idle"; |
145 const char kPageActionKeybindingEvent[] = "_execute_page_action"; | 145 const char kPageActionCommandEvent[] = "_execute_page_action"; |
146 const char kPageActionTypeTab[] = "tab"; | 146 const char kPageActionTypeTab[] = "tab"; |
147 const char kPageActionTypePermanent[] = "permanent"; | 147 const char kPageActionTypePermanent[] = "permanent"; |
| 148 const char kScriptBadgeCommandEvent[] = "_execute_script_badge"; |
148 const char kLaunchContainerPanel[] = "panel"; | 149 const char kLaunchContainerPanel[] = "panel"; |
149 const char kLaunchContainerTab[] = "tab"; | 150 const char kLaunchContainerTab[] = "tab"; |
150 const char kLaunchContainerWindow[] = "window"; | 151 const char kLaunchContainerWindow[] = "window"; |
151 } // namespace extension_manifest_values | 152 } // namespace extension_manifest_values |
152 | 153 |
153 // Extension-related error messages. Some of these are simple patterns, where a | 154 // Extension-related error messages. Some of these are simple patterns, where a |
154 // '*' is replaced at runtime with a specific value. This is used instead of | 155 // '*' is replaced at runtime with a specific value. This is used instead of |
155 // printf because we want to unit test them and scanf is hard to make | 156 // printf because we want to unit test them and scanf is hard to make |
156 // cross-platform. | 157 // cross-platform. |
157 namespace extension_manifest_errors { | 158 namespace extension_manifest_errors { |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 const char kScriptBadgeTitleIgnored[] = | 495 const char kScriptBadgeTitleIgnored[] = |
495 "default_title specified in script_badge manifest section will not be " | 496 "default_title specified in script_badge manifest section will not be " |
496 "used."; | 497 "used."; |
497 const char kWebRequestConflictsWithLazyBackground[] = | 498 const char kWebRequestConflictsWithLazyBackground[] = |
498 "The 'webRequest' API cannot be used with event pages."; | 499 "The 'webRequest' API cannot be used with event pages."; |
499 #if defined(OS_CHROMEOS) | 500 #if defined(OS_CHROMEOS) |
500 const char kIllegalPlugins[] = | 501 const char kIllegalPlugins[] = |
501 "Extensions cannot install plugins on Chrome OS"; | 502 "Extensions cannot install plugins on Chrome OS"; |
502 #endif | 503 #endif |
503 } // namespace extension_manifest_errors | 504 } // namespace extension_manifest_errors |
OLD | NEW |