| OLD | NEW |
| 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"; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 const char* kJs = "js"; | 27 const char* kJs = "js"; |
| 28 const char* kLaunch = "app.launch"; | 28 const char* kLaunch = "app.launch"; |
| 29 const char* kLaunchContainer = "app.launch.container"; | 29 const char* kLaunchContainer = "app.launch.container"; |
| 30 const char* kLaunchHeight = "app.launch.height"; | 30 const char* kLaunchHeight = "app.launch.height"; |
| 31 const char* kLaunchLocalPath = "app.launch.local_path"; | 31 const char* kLaunchLocalPath = "app.launch.local_path"; |
| 32 const char* kLaunchWebURL = "app.launch.web_url"; | 32 const char* kLaunchWebURL = "app.launch.web_url"; |
| 33 const char* kLaunchWidth = "app.launch.width"; | 33 const char* kLaunchWidth = "app.launch.width"; |
| 34 const char* kMatches = "matches"; | 34 const char* kMatches = "matches"; |
| 35 const char* kMinimumChromeVersion = "minimum_chrome_version"; | 35 const char* kMinimumChromeVersion = "minimum_chrome_version"; |
| 36 const char* kName = "name"; | 36 const char* kName = "name"; |
| 37 const char* kNaClModules = "nacl_modules"; |
| 38 const char* kNaClModulesMIMEType = "mime_type"; |
| 39 const char* kNaClModulesPath = "path"; |
| 37 const char* kOmnibox = "omnibox"; | 40 const char* kOmnibox = "omnibox"; |
| 38 const char* kOmniboxKeyword = "omnibox.keyword"; | 41 const char* kOmniboxKeyword = "omnibox.keyword"; |
| 39 const char* kOptionsPage = "options_page"; | 42 const char* kOptionsPage = "options_page"; |
| 40 const char* kPageAction = "page_action"; | 43 const char* kPageAction = "page_action"; |
| 41 const char* kPageActionDefaultIcon = "default_icon"; | 44 const char* kPageActionDefaultIcon = "default_icon"; |
| 42 const char* kPageActionDefaultPopup = "default_popup"; | 45 const char* kPageActionDefaultPopup = "default_popup"; |
| 43 const char* kPageActionDefaultTitle = "default_title"; | 46 const char* kPageActionDefaultTitle = "default_title"; |
| 44 const char* kPageActionIcons = "icons"; | 47 const char* kPageActionIcons = "icons"; |
| 45 const char* kPageActionId = "id"; | 48 const char* kPageActionId = "id"; |
| 46 const char* kPageActionPopup = "popup"; | 49 const char* kPageActionPopup = "popup"; |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 "Invalid value for 'content_scripts[*].matches[*]': *"; | 190 "Invalid value for 'content_scripts[*].matches[*]': *"; |
| 188 const char* kInvalidMatchCount = | 191 const char* kInvalidMatchCount = |
| 189 "Invalid value for 'content_scripts[*].matches'. There must be at least" | 192 "Invalid value for 'content_scripts[*].matches'. There must be at least" |
| 190 "one match specified."; | 193 "one match specified."; |
| 191 const char* kInvalidMatches = | 194 const char* kInvalidMatches = |
| 192 "Required value 'content_scripts[*].matches' is missing or invalid."; | 195 "Required value 'content_scripts[*].matches' is missing or invalid."; |
| 193 const char* kInvalidMinimumChromeVersion = | 196 const char* kInvalidMinimumChromeVersion = |
| 194 "Invalid value for 'minimum_chrome_version'."; | 197 "Invalid value for 'minimum_chrome_version'."; |
| 195 const char* kInvalidName = | 198 const char* kInvalidName = |
| 196 "Required value 'name' is missing or invalid."; | 199 "Required value 'name' is missing or invalid."; |
| 200 const char* kInvalidNaClModules = |
| 201 "Invalid value for 'nacl_modules'."; |
| 202 const char* kInvalidNaClModulesPath = |
| 203 "Invalid value for 'nacl_modules[*].path'."; |
| 204 const char* kInvalidNaClModulesMIMEType = |
| 205 "Invalid value for 'nacl_modules[*].mime_type'."; |
| 197 const char* kInvalidOmniboxKeyword = | 206 const char* kInvalidOmniboxKeyword = |
| 198 "Invalid value for 'omnibox.keyword'."; | 207 "Invalid value for 'omnibox.keyword'."; |
| 199 const char* kInvalidOptionsPage = | 208 const char* kInvalidOptionsPage = |
| 200 "Invalid value for 'options_page'."; | 209 "Invalid value for 'options_page'."; |
| 201 const char* kInvalidOptionsPageExpectUrlInPackage = | 210 const char* kInvalidOptionsPageExpectUrlInPackage = |
| 202 "Invalid value for 'options_page'. Value must be a relative path."; | 211 "Invalid value for 'options_page'. Value must be a relative path."; |
| 203 const char* kInvalidOptionsPageInHostedApp = | 212 const char* kInvalidOptionsPageInHostedApp = |
| 204 "Invalid value for 'options_page'. Hosted apps must specify an " | 213 "Invalid value for 'options_page'. Hosted apps must specify an " |
| 205 "absolute URL."; | 214 "absolute URL."; |
| 206 const char* kInvalidPageAction = | 215 const char* kInvalidPageAction = |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 namespace extension_misc { | 355 namespace extension_misc { |
| 347 const char* kBookmarkManagerId = "eemcgdkfndhakfknompkggombfjjjeno"; | 356 const char* kBookmarkManagerId = "eemcgdkfndhakfknompkggombfjjjeno"; |
| 348 const char* kWebStoreAppId = "ahfgeienlihckogmohjhadlkjgocpleb"; | 357 const char* kWebStoreAppId = "ahfgeienlihckogmohjhadlkjgocpleb"; |
| 349 const char* kAppsPromoHistogram = "Extensions.AppsPromo"; | 358 const char* kAppsPromoHistogram = "Extensions.AppsPromo"; |
| 350 const char* kAppLaunchHistogram = "Extensions.AppLaunch"; | 359 const char* kAppLaunchHistogram = "Extensions.AppLaunch"; |
| 351 #if defined(OS_CHROMEOS) | 360 #if defined(OS_CHROMEOS) |
| 352 const char* kAccessExtensionPath = | 361 const char* kAccessExtensionPath = |
| 353 "/usr/share/chromeos-assets/accessibility/extensions"; | 362 "/usr/share/chromeos-assets/accessibility/extensions"; |
| 354 #endif | 363 #endif |
| 355 } | 364 } |
| OLD | NEW |