OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 extern const char kDecodedMessageCatalogsFilename[]; | 69 extern const char kDecodedMessageCatalogsFilename[]; |
70 | 70 |
71 // The filename to use for a background page generated from | 71 // The filename to use for a background page generated from |
72 // background.scripts. | 72 // background.scripts. |
73 extern const char kGeneratedBackgroundPageFilename[]; | 73 extern const char kGeneratedBackgroundPageFilename[]; |
74 | 74 |
75 // Path to imported modules. | 75 // Path to imported modules. |
76 extern const char kModulesDir[]; | 76 extern const char kModulesDir[]; |
77 } | 77 } |
78 | 78 |
79 // Keys in the dictionary returned by Extension::GetBasicInfo(). | |
80 namespace extension_info_keys { | |
81 extern const char kDescriptionKey[]; | |
82 extern const char kEnabledKey[]; | |
83 extern const char kHomepageUrlKey[]; | |
84 extern const char kIdKey[]; | |
85 extern const char kNameKey[]; | |
86 extern const char kKioskEnabledKey[]; | |
87 extern const char kOfflineEnabledKey[]; | |
88 extern const char kOptionsUrlKey[]; | |
89 extern const char kDetailsUrlKey[]; | |
90 extern const char kVersionKey[]; | |
91 extern const char kPackagedAppKey[]; | |
92 } | |
93 | |
94 namespace extension_misc { | 79 namespace extension_misc { |
95 // Matches chrome.windows.WINDOW_ID_NONE. | 80 // Matches chrome.windows.WINDOW_ID_NONE. |
96 const int kUnknownWindowId = -1; | 81 const int kUnknownWindowId = -1; |
97 | 82 |
98 // Matches chrome.windows.WINDOW_ID_CURRENT. | 83 // Matches chrome.windows.WINDOW_ID_CURRENT. |
99 const int kCurrentWindowId = -2; | 84 const int kCurrentWindowId = -2; |
100 | 85 |
101 // The extension id of the bookmark manager. | 86 // The extension id of the bookmark manager. |
102 extern const char kBookmarkManagerId[]; | 87 extern const char kBookmarkManagerId[]; |
103 | 88 |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 // List of sizes for extension icons that can be defined in the manifest. | 332 // List of sizes for extension icons that can be defined in the manifest. |
348 extern const int kExtensionActionIconSizes[]; | 333 extern const int kExtensionActionIconSizes[]; |
349 extern const size_t kNumExtensionActionIconSizes; | 334 extern const size_t kNumExtensionActionIconSizes; |
350 | 335 |
351 // List of sizes for extension icons that can be defined in the manifest. | 336 // List of sizes for extension icons that can be defined in the manifest. |
352 extern const int kScriptBadgeIconSizes[]; | 337 extern const int kScriptBadgeIconSizes[]; |
353 extern const size_t kNumScriptBadgeIconSizes; | 338 extern const size_t kNumScriptBadgeIconSizes; |
354 } // namespace extension_misc | 339 } // namespace extension_misc |
355 | 340 |
356 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ | 341 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ |
OLD | NEW |