| OLD | NEW | 
|    1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2010 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* kHomepageURL = "homepage_url"; |   22 const char* kHomepageURL = "homepage_url"; | 
|   23 const char* kIcons = "icons"; |   23 const char* kIcons = "icons"; | 
|   24 const char* kIncognito = "incognito"; |   24 const char* kIncognito = "incognito"; | 
|   25 const char* kIncludeGlobs = "include_globs"; |   25 const char* kIncludeGlobs = "include_globs"; | 
 |   26 const char* kIsolatedStorage = "storage"; | 
 |   27 const char* kIsolation = "app.isolation"; | 
|   26 const char* kJs = "js"; |   28 const char* kJs = "js"; | 
|   27 const char* kLaunch = "app.launch"; |   29 const char* kLaunch = "app.launch"; | 
|   28 const char* kLaunchContainer = "app.launch.container"; |   30 const char* kLaunchContainer = "app.launch.container"; | 
|   29 const char* kLaunchHeight = "app.launch.height"; |   31 const char* kLaunchHeight = "app.launch.height"; | 
|   30 const char* kLaunchLocalPath = "app.launch.local_path"; |   32 const char* kLaunchLocalPath = "app.launch.local_path"; | 
|   31 const char* kLaunchWebURL = "app.launch.web_url"; |   33 const char* kLaunchWebURL = "app.launch.web_url"; | 
|   32 const char* kLaunchWidth = "app.launch.width"; |   34 const char* kLaunchWidth = "app.launch.width"; | 
|   33 const char* kMatches = "matches"; |   35 const char* kMatches = "matches"; | 
|   34 const char* kMinimumChromeVersion = "minimum_chrome_version"; |   36 const char* kMinimumChromeVersion = "minimum_chrome_version"; | 
|   35 const char* kName = "name"; |   37 const char* kName = "name"; | 
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  137 const char* kInvalidGlobList = |  139 const char* kInvalidGlobList = | 
|  138     "Invalid value for 'content_scripts[*].*'."; |  140     "Invalid value for 'content_scripts[*].*'."; | 
|  139 const char* kInvalidHomepageURL = |  141 const char* kInvalidHomepageURL = | 
|  140     "Invalid value for homepage url: '[*]'."; |  142     "Invalid value for homepage url: '[*]'."; | 
|  141 const char* kInvalidIconPath = |  143 const char* kInvalidIconPath = | 
|  142     "Invalid value for 'icons[\"*\"]'."; |  144     "Invalid value for 'icons[\"*\"]'."; | 
|  143 const char* kInvalidIcons = |  145 const char* kInvalidIcons = | 
|  144     "Invalid value for 'icons'."; |  146     "Invalid value for 'icons'."; | 
|  145 const char* kInvalidIncognitoBehavior = |  147 const char* kInvalidIncognitoBehavior = | 
|  146     "Invalid value for 'incognito'."; |  148     "Invalid value for 'incognito'."; | 
 |  149 const char* kInvalidIsolation = | 
 |  150     "Invalid value for 'app.isolation'."; | 
 |  151 const char* kInvalidIsolationValue = | 
 |  152     "Invalid value for 'app.isolation[*]'."; | 
|  147 const char* kInvalidJs = |  153 const char* kInvalidJs = | 
|  148     "Invalid value for 'content_scripts[*].js[*]'."; |  154     "Invalid value for 'content_scripts[*].js[*]'."; | 
|  149 const char* kInvalidJsList = |  155 const char* kInvalidJsList = | 
|  150     "Required value 'content_scripts[*].js' is invalid."; |  156     "Required value 'content_scripts[*].js' is invalid."; | 
|  151 const char* kInvalidKey = |  157 const char* kInvalidKey = | 
|  152     "Value 'key' is missing or invalid."; |  158     "Value 'key' is missing or invalid."; | 
|  153 const char* kInvalidLaunchContainer = |  159 const char* kInvalidLaunchContainer = | 
|  154     "Invalid value for 'app.launch.container'."; |  160     "Invalid value for 'app.launch.container'."; | 
|  155 const char* kInvalidLaunchHeight = |  161 const char* kInvalidLaunchHeight = | 
|  156     "Invalid value for 'app.launch.height'."; |  162     "Invalid value for 'app.launch.height'."; | 
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  311 // The file to write our decoded message catalogs to, relative to the |  317 // The file to write our decoded message catalogs to, relative to the | 
|  312 // extension_path. |  318 // extension_path. | 
|  313 const char* kDecodedMessageCatalogsFilename = "DECODED_MESSAGE_CATALOGS"; |  319 const char* kDecodedMessageCatalogsFilename = "DECODED_MESSAGE_CATALOGS"; | 
|  314 } |  320 } | 
|  315  |  321  | 
|  316 namespace extension_misc { |  322 namespace extension_misc { | 
|  317 const char* kBookmarkManagerId = "eemcgdkfndhakfknompkggombfjjjeno"; |  323 const char* kBookmarkManagerId = "eemcgdkfndhakfknompkggombfjjjeno"; | 
|  318 const char* kWebStoreAppId = "ahfgeienlihckogmohjhadlkjgocpleb"; |  324 const char* kWebStoreAppId = "ahfgeienlihckogmohjhadlkjgocpleb"; | 
|  319 const char* kAppsPromoHistogram = "Extensions.AppsPromo"; |  325 const char* kAppsPromoHistogram = "Extensions.AppsPromo"; | 
|  320 } |  326 } | 
| OLD | NEW |