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 EXTENSIONS_COMMON_CONSTANTS_H_ | 5 #ifndef EXTENSIONS_COMMON_CONSTANTS_H_ |
6 #define EXTENSIONS_COMMON_CONSTANTS_H_ | 6 #define EXTENSIONS_COMMON_CONSTANTS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 | 10 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
132 }; | 132 }; |
133 | 133 |
134 // List of sizes for extension icons that can be defined in the manifest. | 134 // List of sizes for extension icons that can be defined in the manifest. |
135 extern const int kExtensionIconSizes[]; | 135 extern const int kExtensionIconSizes[]; |
136 extern const size_t kNumExtensionIconSizes; | 136 extern const size_t kNumExtensionIconSizes; |
137 | 137 |
138 // List of sizes for extension icons that can be defined in the manifest. | 138 // List of sizes for extension icons that can be defined in the manifest. |
139 extern const int kExtensionActionIconSizes[]; | 139 extern const int kExtensionActionIconSizes[]; |
140 extern const size_t kNumExtensionActionIconSizes; | 140 extern const size_t kNumExtensionActionIconSizes; |
141 | 141 |
142 // The type of injected script. | |
143 enum InjectedScriptType { | |
144 CONTENT_SCRIPT, // A content script specified in the extenion's manifest. | |
not at google - send to devlin
2014/06/27 23:24:33
extension's
Devlin
2014/06/30 17:06:10
That typo was totally my intentional way of making
| |
145 PROGRAMMATIC_SCRIPT // A script injected via, e.g. tabs.executeScript(). | |
146 }; | |
147 | |
142 } // namespace extension_misc | 148 } // namespace extension_misc |
143 | 149 |
144 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ | 150 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |
OLD | NEW |