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

Side by Side Diff: chrome/common/extensions/extension_constants.cc

Issue 6749021: Added new fileBrowserPrivate and fileHandler extension APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_constants.h" 5 #include "chrome/common/extensions/extension_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* kApp = "app"; 10 const char* kApp = "app";
11 const char* kBackground = "background_page"; 11 const char* kBackground = "background_page";
12 const char* kBrowserAction = "browser_action"; 12 const char* kBrowserAction = "browser_action";
13 const char* kChromeURLOverrides = "chrome_url_overrides"; 13 const char* kChromeURLOverrides = "chrome_url_overrides";
14 const char* kContentScripts = "content_scripts"; 14 const char* kContentScripts = "content_scripts";
15 const char* kConvertedFromUserScript = "converted_from_user_script"; 15 const char* kConvertedFromUserScript = "converted_from_user_script";
16 const char* kCss = "css"; 16 const char* kCss = "css";
17 const char* kCurrentLocale = "current_locale"; 17 const char* kCurrentLocale = "current_locale";
18 const char* kDefaultLocale = "default_locale"; 18 const char* kDefaultLocale = "default_locale";
19 const char* kDescription = "description"; 19 const char* kDescription = "description";
20 const char* kDevToolsPage = "devtools_page"; 20 const char* kDevToolsPage = "devtools_page";
21 const char* kExcludeGlobs = "exclude_globs"; 21 const char* kExcludeGlobs = "exclude_globs";
22 const char* kFileFilters = "file_filters";
23 const char* kFileBrowserHandlers = "file_browser_handlers";
22 const char* kHomepageURL = "homepage_url"; 24 const char* kHomepageURL = "homepage_url";
23 const char* kIcons = "icons"; 25 const char* kIcons = "icons";
24 const char* kIncognito = "incognito"; 26 const char* kIncognito = "incognito";
25 const char* kIncludeGlobs = "include_globs"; 27 const char* kIncludeGlobs = "include_globs";
26 const char* kIsolation = "app.isolation"; 28 const char* kIsolation = "app.isolation";
27 const char* kJs = "js"; 29 const char* kJs = "js";
28 const char* kLaunch = "app.launch"; 30 const char* kLaunch = "app.launch";
29 const char* kLaunchContainer = "app.launch.container"; 31 const char* kLaunchContainer = "app.launch.container";
30 const char* kLaunchHeight = "app.launch.height"; 32 const char* kLaunchHeight = "app.launch.height";
31 const char* kLaunchLocalPath = "app.launch.local_path"; 33 const char* kLaunchLocalPath = "app.launch.local_path";
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 const char* kInvalidCss = 152 const char* kInvalidCss =
151 "Invalid value for 'content_scripts[*].css[*]'."; 153 "Invalid value for 'content_scripts[*].css[*]'.";
152 const char* kInvalidCssList = 154 const char* kInvalidCssList =
153 "Required value 'content_scripts[*].css' is invalid."; 155 "Required value 'content_scripts[*].css' is invalid.";
154 const char* kInvalidDefaultLocale = 156 const char* kInvalidDefaultLocale =
155 "Invalid value for default locale - locale name must be a string."; 157 "Invalid value for default locale - locale name must be a string.";
156 const char* kInvalidDescription = 158 const char* kInvalidDescription =
157 "Invalid value for 'description'."; 159 "Invalid value for 'description'.";
158 const char* kInvalidDevToolsPage = 160 const char* kInvalidDevToolsPage =
159 "Invalid value for 'devtools_page'."; 161 "Invalid value for 'devtools_page'.";
162 const char* kInvalidFileBrowserHandler =
163 "Invalid value for 'file_browser_handers'.";
164 const char* kInvalidFileFiltersList =
165 "Invalid value for 'file_filters'.";
166 const char* kInvalidFileFilterValue =
167 "Invalid value for 'file_filters[*]'.";
160 const char* kInvalidGlob = 168 const char* kInvalidGlob =
161 "Invalid value for 'content_scripts[*].*[*]'."; 169 "Invalid value for 'content_scripts[*].*[*]'.";
162 const char* kInvalidGlobList = 170 const char* kInvalidGlobList =
163 "Invalid value for 'content_scripts[*].*'."; 171 "Invalid value for 'content_scripts[*].*'.";
164 const char* kInvalidHomepageURL = 172 const char* kInvalidHomepageURL =
165 "Invalid value for homepage url: '[*]'."; 173 "Invalid value for homepage url: '[*]'.";
166 const char* kInvalidIconPath = 174 const char* kInvalidIconPath =
167 "Invalid value for 'icons[\"*\"]'."; 175 "Invalid value for 'icons[\"*\"]'.";
168 const char* kInvalidIcons = 176 const char* kInvalidIcons =
169 "Invalid value for 'icons'."; 177 "Invalid value for 'icons'.";
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 const char* kInvalidTtsVoices = 297 const char* kInvalidTtsVoices =
290 "Invalid value for 'tts.voices'."; 298 "Invalid value for 'tts.voices'.";
291 const char* kInvalidTtsVoicesGender = 299 const char* kInvalidTtsVoicesGender =
292 "Invalid value for 'tts.voices[*].gender'."; 300 "Invalid value for 'tts.voices[*].gender'.";
293 const char* kInvalidTtsVoicesLocale = 301 const char* kInvalidTtsVoicesLocale =
294 "Invalid value for 'tts.voices[*].locale'."; 302 "Invalid value for 'tts.voices[*].locale'.";
295 const char* kInvalidTtsVoicesVoiceName = 303 const char* kInvalidTtsVoicesVoiceName =
296 "Invalid value for 'tts.voices[*].voiceName'."; 304 "Invalid value for 'tts.voices[*].voiceName'.";
297 const char* kInvalidUpdateURL = 305 const char* kInvalidUpdateURL =
298 "Invalid value for update url: '[*]'."; 306 "Invalid value for update url: '[*]'.";
307 const char* kInvalidURLPatternError =
308 "Invalid url pattern '*'";
299 const char* kInvalidVersion = 309 const char* kInvalidVersion =
300 "Required value 'version' is missing or invalid. It must be between 1-4 " 310 "Required value 'version' is missing or invalid. It must be between 1-4 "
301 "dot-separated integers each between 0 and 65536."; 311 "dot-separated integers each between 0 and 65536.";
302 const char* kInvalidWebURL = 312 const char* kInvalidWebURL =
303 "Invalid value for 'app.urls[*]': *"; 313 "Invalid value for 'app.urls[*]': *";
304 const char* kInvalidWebURLs = 314 const char* kInvalidWebURLs =
305 "Invalid value for 'app.urls'."; 315 "Invalid value for 'app.urls'.";
306 const char* kInvalidZipHash = 316 const char* kInvalidZipHash =
307 "Required key 'zip_hash' is missing or invalid."; 317 "Required key 'zip_hash' is missing or invalid.";
308 const char* kLaunchPathAndURLAreExclusive = 318 const char* kLaunchPathAndURLAreExclusive =
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 namespace extension_misc { 374 namespace extension_misc {
365 const char* kBookmarkManagerId = "eemcgdkfndhakfknompkggombfjjjeno"; 375 const char* kBookmarkManagerId = "eemcgdkfndhakfknompkggombfjjjeno";
366 const char* kWebStoreAppId = "ahfgeienlihckogmohjhadlkjgocpleb"; 376 const char* kWebStoreAppId = "ahfgeienlihckogmohjhadlkjgocpleb";
367 const char* kAppsPromoHistogram = "Extensions.AppsPromo"; 377 const char* kAppsPromoHistogram = "Extensions.AppsPromo";
368 const char* kAppLaunchHistogram = "Extensions.AppLaunch"; 378 const char* kAppLaunchHistogram = "Extensions.AppLaunch";
369 #if defined(OS_CHROMEOS) 379 #if defined(OS_CHROMEOS)
370 const char* kAccessExtensionPath = 380 const char* kAccessExtensionPath =
371 "/usr/share/chromeos-assets/accessibility/extensions"; 381 "/usr/share/chromeos-assets/accessibility/extensions";
372 #endif 382 #endif
373 } 383 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | chrome/common/extensions/extension_manifests_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698