| 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 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 const char* kPageActionId = "id"; | 73 const char* kPageActionId = "id"; |
| 74 const char* kPageActionPopup = "popup"; | 74 const char* kPageActionPopup = "popup"; |
| 75 const char* kPageActionPopupHeight = "height"; | 75 const char* kPageActionPopupHeight = "height"; |
| 76 const char* kPageActionPopupPath = "path"; | 76 const char* kPageActionPopupPath = "path"; |
| 77 const char* kPageActions = "page_actions"; | 77 const char* kPageActions = "page_actions"; |
| 78 const char* kPermissions = "permissions"; | 78 const char* kPermissions = "permissions"; |
| 79 const char* kPlugins = "plugins"; | 79 const char* kPlugins = "plugins"; |
| 80 const char* kPluginsPath = "path"; | 80 const char* kPluginsPath = "path"; |
| 81 const char* kPluginsPublic = "public"; | 81 const char* kPluginsPublic = "public"; |
| 82 const char* kPublicKey = "key"; | 82 const char* kPublicKey = "key"; |
| 83 const char* kRequirements = "requirements"; |
| 83 const char* kRunAt = "run_at"; | 84 const char* kRunAt = "run_at"; |
| 84 const char* kShiftKey = "shiftKey"; | 85 const char* kShiftKey = "shiftKey"; |
| 85 const char* kShortcutKey = "shortcutKey"; | 86 const char* kShortcutKey = "shortcutKey"; |
| 86 const char* kSidebar = "sidebar"; | 87 const char* kSidebar = "sidebar"; |
| 87 const char* kSidebarDefaultIcon = "default_icon"; | 88 const char* kSidebarDefaultIcon = "default_icon"; |
| 88 const char* kSidebarDefaultPage = "default_page"; | 89 const char* kSidebarDefaultPage = "default_page"; |
| 89 const char* kSidebarDefaultTitle = "default_title"; | 90 const char* kSidebarDefaultTitle = "default_title"; |
| 90 const char* kSignature = "signature"; | 91 const char* kSignature = "signature"; |
| 91 const char* kTheme = "theme"; | 92 const char* kTheme = "theme"; |
| 92 const char* kThemeColors = "colors"; | 93 const char* kThemeColors = "colors"; |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 const char* kInvalidPermissions = | 332 const char* kInvalidPermissions = |
| 332 "Required value 'permissions' is missing or invalid."; | 333 "Required value 'permissions' is missing or invalid."; |
| 333 const char* kInvalidPermissionScheme = | 334 const char* kInvalidPermissionScheme = |
| 334 "Invalid scheme for 'permissions[*]'."; | 335 "Invalid scheme for 'permissions[*]'."; |
| 335 const char* kInvalidPlugins = | 336 const char* kInvalidPlugins = |
| 336 "Invalid value for 'plugins'."; | 337 "Invalid value for 'plugins'."; |
| 337 const char* kInvalidPluginsPath = | 338 const char* kInvalidPluginsPath = |
| 338 "Invalid value for 'plugins[*].path'."; | 339 "Invalid value for 'plugins[*].path'."; |
| 339 const char* kInvalidPluginsPublic = | 340 const char* kInvalidPluginsPublic = |
| 340 "Invalid value for 'plugins[*].public'."; | 341 "Invalid value for 'plugins[*].public'."; |
| 342 const char* kInvalidRequirement = |
| 343 "Invalid value for requirement \"*\""; |
| 344 const char* kInvalidRequirements = |
| 345 "Invalid value for 'requirements'"; |
| 341 const char* kInvalidRunAt = | 346 const char* kInvalidRunAt = |
| 342 "Invalid value for 'content_scripts[*].run_at'."; | 347 "Invalid value for 'content_scripts[*].run_at'."; |
| 343 const char* kInvalidSidebar = | 348 const char* kInvalidSidebar = |
| 344 "Invalid value for 'sidebar'."; | 349 "Invalid value for 'sidebar'."; |
| 345 const char* kInvalidSidebarDefaultIconPath = | 350 const char* kInvalidSidebarDefaultIconPath = |
| 346 "Invalid value for 'sidebar.default_icon'."; | 351 "Invalid value for 'sidebar.default_icon'."; |
| 347 const char* kInvalidSidebarDefaultPage = | 352 const char* kInvalidSidebarDefaultPage = |
| 348 "Invalid value for 'sidebar.default_page'."; | 353 "Invalid value for 'sidebar.default_page'."; |
| 349 const char* kInvalidSidebarDefaultTitle = | 354 const char* kInvalidSidebarDefaultTitle = |
| 350 "Invalid value for 'sidebar.default_title'."; | 355 "Invalid value for 'sidebar.default_title'."; |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 const char* kCloudPrintAppId = "mfehgcgbbipciphmccgaenjidiccnmng"; | 505 const char* kCloudPrintAppId = "mfehgcgbbipciphmccgaenjidiccnmng"; |
| 501 const char* kAppsPromoHistogram = "Extensions.AppsPromo"; | 506 const char* kAppsPromoHistogram = "Extensions.AppsPromo"; |
| 502 const char* kAppLaunchHistogram = "Extensions.AppLaunch"; | 507 const char* kAppLaunchHistogram = "Extensions.AppLaunch"; |
| 503 #if defined(OS_CHROMEOS) | 508 #if defined(OS_CHROMEOS) |
| 504 const char* kAccessExtensionPath = | 509 const char* kAccessExtensionPath = |
| 505 "/usr/share/chromeos-assets/accessibility/extensions"; | 510 "/usr/share/chromeos-assets/accessibility/extensions"; |
| 506 const char* kChromeVoxDirectoryName = "access_chromevox"; | 511 const char* kChromeVoxDirectoryName = "access_chromevox"; |
| 507 #endif | 512 #endif |
| 508 | 513 |
| 509 } | 514 } |
| OLD | NEW |