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

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* kFileBrowserActions = "file_browser_actions";
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 const char* kInvalidCss = 146 const char* kInvalidCss =
145 "Invalid value for 'content_scripts[*].css[*]'."; 147 "Invalid value for 'content_scripts[*].css[*]'.";
146 const char* kInvalidCssList = 148 const char* kInvalidCssList =
147 "Required value 'content_scripts[*].css' is invalid."; 149 "Required value 'content_scripts[*].css' is invalid.";
148 const char* kInvalidDefaultLocale = 150 const char* kInvalidDefaultLocale =
149 "Invalid value for default locale - locale name must be a string."; 151 "Invalid value for default locale - locale name must be a string.";
150 const char* kInvalidDescription = 152 const char* kInvalidDescription =
151 "Invalid value for 'description'."; 153 "Invalid value for 'description'.";
152 const char* kInvalidDevToolsPage = 154 const char* kInvalidDevToolsPage =
153 "Invalid value for 'devtools_page'."; 155 "Invalid value for 'devtools_page'.";
156 const char* kInvalidFileBrowserAction =
157 "Invalid value for 'file_browser_action'.";
158 const char* kInvalidFileFiltersList =
159 "Invalid value for 'file_filters'.";
160 const char* kInvalidFileFilterValue =
161 "Invalid value for 'file_filters[*]'.";
154 const char* kInvalidGlob = 162 const char* kInvalidGlob =
155 "Invalid value for 'content_scripts[*].*[*]'."; 163 "Invalid value for 'content_scripts[*].*[*]'.";
156 const char* kInvalidGlobList = 164 const char* kInvalidGlobList =
157 "Invalid value for 'content_scripts[*].*'."; 165 "Invalid value for 'content_scripts[*].*'.";
158 const char* kInvalidHomepageURL = 166 const char* kInvalidHomepageURL =
159 "Invalid value for homepage url: '[*]'."; 167 "Invalid value for homepage url: '[*]'.";
160 const char* kInvalidIconPath = 168 const char* kInvalidIconPath =
161 "Invalid value for 'icons[\"*\"]'."; 169 "Invalid value for 'icons[\"*\"]'.";
162 const char* kInvalidIcons = 170 const char* kInvalidIcons =
163 "Invalid value for 'icons'."; 171 "Invalid value for 'icons'.";
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 const char* kInvalidTtsVoices = 291 const char* kInvalidTtsVoices =
284 "Invalid value for 'tts.voices'."; 292 "Invalid value for 'tts.voices'.";
285 const char* kInvalidTtsVoicesGender = 293 const char* kInvalidTtsVoicesGender =
286 "Invalid value for 'tts.voices[*].gender'."; 294 "Invalid value for 'tts.voices[*].gender'.";
287 const char* kInvalidTtsVoicesLocale = 295 const char* kInvalidTtsVoicesLocale =
288 "Invalid value for 'tts.voices[*].locale'."; 296 "Invalid value for 'tts.voices[*].locale'.";
289 const char* kInvalidTtsVoicesVoiceName = 297 const char* kInvalidTtsVoicesVoiceName =
290 "Invalid value for 'tts.voices[*].voiceName'."; 298 "Invalid value for 'tts.voices[*].voiceName'.";
291 const char* kInvalidUpdateURL = 299 const char* kInvalidUpdateURL =
292 "Invalid value for update url: '[*]'."; 300 "Invalid value for update url: '[*]'.";
301 const char* kInvalidURLPatternError =
302 "Invalid url pattern '*'";
293 const char* kInvalidVersion = 303 const char* kInvalidVersion =
294 "Required value 'version' is missing or invalid. It must be between 1-4 " 304 "Required value 'version' is missing or invalid. It must be between 1-4 "
295 "dot-separated integers each between 0 and 65536."; 305 "dot-separated integers each between 0 and 65536.";
296 const char* kInvalidWebURL = 306 const char* kInvalidWebURL =
297 "Invalid value for 'app.urls[*]': *"; 307 "Invalid value for 'app.urls[*]': *";
298 const char* kInvalidWebURLs = 308 const char* kInvalidWebURLs =
299 "Invalid value for 'app.urls'."; 309 "Invalid value for 'app.urls'.";
300 const char* kInvalidZipHash = 310 const char* kInvalidZipHash =
301 "Required key 'zip_hash' is missing or invalid."; 311 "Required key 'zip_hash' is missing or invalid.";
302 const char* kLaunchPathAndURLAreExclusive = 312 const char* kLaunchPathAndURLAreExclusive =
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 namespace extension_misc { 368 namespace extension_misc {
359 const char* kBookmarkManagerId = "eemcgdkfndhakfknompkggombfjjjeno"; 369 const char* kBookmarkManagerId = "eemcgdkfndhakfknompkggombfjjjeno";
360 const char* kWebStoreAppId = "ahfgeienlihckogmohjhadlkjgocpleb"; 370 const char* kWebStoreAppId = "ahfgeienlihckogmohjhadlkjgocpleb";
361 const char* kAppsPromoHistogram = "Extensions.AppsPromo"; 371 const char* kAppsPromoHistogram = "Extensions.AppsPromo";
362 const char* kAppLaunchHistogram = "Extensions.AppLaunch"; 372 const char* kAppLaunchHistogram = "Extensions.AppLaunch";
363 #if defined(OS_CHROMEOS) 373 #if defined(OS_CHROMEOS)
364 const char* kAccessExtensionPath = 374 const char* kAccessExtensionPath =
365 "/usr/share/chromeos-assets/accessibility/extensions"; 375 "/usr/share/chromeos-assets/accessibility/extensions";
366 #endif 376 #endif
367 } 377 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698