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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 const char* kPageActionId = "id"; | 68 const char* kPageActionId = "id"; |
69 const char* kPageActionPopup = "popup"; | 69 const char* kPageActionPopup = "popup"; |
70 const char* kPageActionPopupHeight = "height"; | 70 const char* kPageActionPopupHeight = "height"; |
71 const char* kPageActionPopupPath = "path"; | 71 const char* kPageActionPopupPath = "path"; |
72 const char* kPageActions = "page_actions"; | 72 const char* kPageActions = "page_actions"; |
73 const char* kPermissions = "permissions"; | 73 const char* kPermissions = "permissions"; |
74 const char* kPlugins = "plugins"; | 74 const char* kPlugins = "plugins"; |
75 const char* kPluginsPath = "path"; | 75 const char* kPluginsPath = "path"; |
76 const char* kPluginsPublic = "public"; | 76 const char* kPluginsPublic = "public"; |
77 const char* kPublicKey = "key"; | 77 const char* kPublicKey = "key"; |
| 78 const char* kRequirements = "requirements"; |
78 const char* kRunAt = "run_at"; | 79 const char* kRunAt = "run_at"; |
79 const char* kShiftKey = "shiftKey"; | 80 const char* kShiftKey = "shiftKey"; |
80 const char* kShortcutKey = "shortcutKey"; | 81 const char* kShortcutKey = "shortcutKey"; |
81 const char* kSidebar = "sidebar"; | 82 const char* kSidebar = "sidebar"; |
82 const char* kSidebarDefaultIcon = "default_icon"; | 83 const char* kSidebarDefaultIcon = "default_icon"; |
83 const char* kSidebarDefaultPage = "default_page"; | 84 const char* kSidebarDefaultPage = "default_page"; |
84 const char* kSidebarDefaultTitle = "default_title"; | 85 const char* kSidebarDefaultTitle = "default_title"; |
85 const char* kSignature = "signature"; | 86 const char* kSignature = "signature"; |
86 const char* kTheme = "theme"; | 87 const char* kTheme = "theme"; |
87 const char* kThemeColors = "colors"; | 88 const char* kThemeColors = "colors"; |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 const char* kInvalidPermissions = | 311 const char* kInvalidPermissions = |
311 "Required value 'permissions' is missing or invalid."; | 312 "Required value 'permissions' is missing or invalid."; |
312 const char* kInvalidPermissionScheme = | 313 const char* kInvalidPermissionScheme = |
313 "Invalid scheme for 'permissions[*]'."; | 314 "Invalid scheme for 'permissions[*]'."; |
314 const char* kInvalidPlugins = | 315 const char* kInvalidPlugins = |
315 "Invalid value for 'plugins'."; | 316 "Invalid value for 'plugins'."; |
316 const char* kInvalidPluginsPath = | 317 const char* kInvalidPluginsPath = |
317 "Invalid value for 'plugins[*].path'."; | 318 "Invalid value for 'plugins[*].path'."; |
318 const char* kInvalidPluginsPublic = | 319 const char* kInvalidPluginsPublic = |
319 "Invalid value for 'plugins[*].public'."; | 320 "Invalid value for 'plugins[*].public'."; |
| 321 const char* kInvalidRequirement = |
| 322 "Invalid value for requirement \"*\""; |
| 323 const char* kInvalidRequirements = |
| 324 "Invalid value for 'requirements'"; |
320 const char* kInvalidRunAt = | 325 const char* kInvalidRunAt = |
321 "Invalid value for 'content_scripts[*].run_at'."; | 326 "Invalid value for 'content_scripts[*].run_at'."; |
322 const char* kInvalidSidebar = | 327 const char* kInvalidSidebar = |
323 "Invalid value for 'sidebar'."; | 328 "Invalid value for 'sidebar'."; |
324 const char* kInvalidSidebarDefaultIconPath = | 329 const char* kInvalidSidebarDefaultIconPath = |
325 "Invalid value for 'sidebar.default_icon'."; | 330 "Invalid value for 'sidebar.default_icon'."; |
326 const char* kInvalidSidebarDefaultPage = | 331 const char* kInvalidSidebarDefaultPage = |
327 "Invalid value for 'sidebar.default_page'."; | 332 "Invalid value for 'sidebar.default_page'."; |
328 const char* kInvalidSidebarDefaultTitle = | 333 const char* kInvalidSidebarDefaultTitle = |
329 "Invalid value for 'sidebar.default_title'."; | 334 "Invalid value for 'sidebar.default_title'."; |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 const char* kCloudPrintAppId = "mfehgcgbbipciphmccgaenjidiccnmng"; | 484 const char* kCloudPrintAppId = "mfehgcgbbipciphmccgaenjidiccnmng"; |
480 const char* kAppsPromoHistogram = "Extensions.AppsPromo"; | 485 const char* kAppsPromoHistogram = "Extensions.AppsPromo"; |
481 const char* kAppLaunchHistogram = "Extensions.AppLaunch"; | 486 const char* kAppLaunchHistogram = "Extensions.AppLaunch"; |
482 #if defined(OS_CHROMEOS) | 487 #if defined(OS_CHROMEOS) |
483 const char* kAccessExtensionPath = | 488 const char* kAccessExtensionPath = |
484 "/usr/share/chromeos-assets/accessibility/extensions"; | 489 "/usr/share/chromeos-assets/accessibility/extensions"; |
485 const char* kChromeVoxDirectoryName = "access_chromevox"; | 490 const char* kChromeVoxDirectoryName = "access_chromevox"; |
486 #endif | 491 #endif |
487 | 492 |
488 } | 493 } |
OLD | NEW |