| 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 #include "ui/base/layout.h" | 10 #include "ui/base/layout.h" |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 // ExtensionAction SetIcon function arguments. | 201 // ExtensionAction SetIcon function arguments. |
| 202 const char* const size_string; | 202 const char* const size_string; |
| 203 // Scale factor for which the representation should be used. | 203 // Scale factor for which the representation should be used. |
| 204 const ui::ScaleFactor scale; | 204 const ui::ScaleFactor scale; |
| 205 }; | 205 }; |
| 206 | 206 |
| 207 // The icon representations for extension actions. | 207 // The icon representations for extension actions. |
| 208 extern const IconRepresentationInfo kExtensionActionIconSizes[]; | 208 extern const IconRepresentationInfo kExtensionActionIconSizes[]; |
| 209 const size_t kNumExtensionActionIconSizes = 2u; | 209 const size_t kNumExtensionActionIconSizes = 2u; |
| 210 | 210 |
| 211 // The extension id of the PDF extension. |
| 212 extern const char kPdfExtensionId[]; |
| 213 |
| 214 // The extension id of the Office Viewer component extension. |
| 215 extern const char kQuickOfficeComponentExtensionId[]; |
| 216 |
| 217 // The extension id of the Office Viewer extension on the internal webstore. |
| 218 extern const char kQuickOfficeInternalExtensionId[]; |
| 219 |
| 220 // The extension id of the Office Viewer extension. |
| 221 extern const char kQuickOfficeExtensionId[]; |
| 222 |
| 223 // The extension id used for testing mimeHandlerPrivate. |
| 224 extern const char kMimeHandlerPrivateTestExtensionId[]; |
| 225 |
| 211 } // namespace extension_misc | 226 } // namespace extension_misc |
| 212 | 227 |
| 213 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ | 228 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |
| OLD | NEW |