Chromium Code Reviews| 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/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "ui/base/layout.h" | 9 #include "ui/base/layout.h" |
| 10 | 10 |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 181 | 181 |
| 182 // Matches chrome.tabs.TAB_ID_NONE. | 182 // Matches chrome.tabs.TAB_ID_NONE. |
| 183 const int kUnknownTabId = -1; | 183 const int kUnknownTabId = -1; |
| 184 | 184 |
| 185 // Matches chrome.windows.WINDOW_ID_NONE. | 185 // Matches chrome.windows.WINDOW_ID_NONE. |
| 186 const int kUnknownWindowId = -1; | 186 const int kUnknownWindowId = -1; |
| 187 | 187 |
| 188 // Matches chrome.windows.WINDOW_ID_CURRENT. | 188 // Matches chrome.windows.WINDOW_ID_CURRENT. |
| 189 const int kCurrentWindowId = -2; | 189 const int kCurrentWindowId = -2; |
| 190 | 190 |
| 191 // NOTE: If you change this list, you should also change kExtensionIconSizes | |
| 192 // in cc file. | |
| 193 enum ExtensionIcons { | 191 enum ExtensionIcons { |
| 194 EXTENSION_ICON_GIGANTOR = 512, | 192 EXTENSION_ICON_GIGANTOR = 512, |
| 195 EXTENSION_ICON_EXTRA_LARGE = 256, | 193 EXTENSION_ICON_EXTRA_LARGE = 256, |
| 196 EXTENSION_ICON_LARGE = 128, | 194 EXTENSION_ICON_LARGE = 128, |
| 197 EXTENSION_ICON_MEDIUM = 48, | 195 EXTENSION_ICON_MEDIUM = 48, |
| 198 EXTENSION_ICON_SMALL = 32, | 196 EXTENSION_ICON_SMALL = 32, |
| 199 EXTENSION_ICON_SMALLISH = 24, | 197 EXTENSION_ICON_SMALLISH = 24, |
| 200 EXTENSION_ICON_ACTION = 19, | |
|
Devlin
2016/11/02 00:52:12
I think I'd prefer we keep this, and just update i
Evan Stade
2016/11/02 13:14:05
I think that creates a mismatch between this value
Devlin
2016/11/02 23:16:52
You've convinced me. For some reason in the origi
| |
| 201 EXTENSION_ICON_BITTY = 16, | 198 EXTENSION_ICON_BITTY = 16, |
| 202 EXTENSION_ICON_INVALID = 0, | 199 EXTENSION_ICON_INVALID = 0, |
| 203 }; | 200 }; |
| 204 | 201 |
| 205 // The extension id of the PDF extension. | 202 // The extension id of the PDF extension. |
| 206 extern const char kPdfExtensionId[]; | 203 extern const char kPdfExtensionId[]; |
| 207 | 204 |
| 208 // The extension id of the Office Viewer component extension. | 205 // The extension id of the Office Viewer component extension. |
| 209 extern const char kQuickOfficeComponentExtensionId[]; | 206 extern const char kQuickOfficeComponentExtensionId[]; |
| 210 | 207 |
| 211 // The extension id of the Office Viewer extension on the internal webstore. | 208 // The extension id of the Office Viewer extension on the internal webstore. |
| 212 extern const char kQuickOfficeInternalExtensionId[]; | 209 extern const char kQuickOfficeInternalExtensionId[]; |
| 213 | 210 |
| 214 // The extension id of the Office Viewer extension. | 211 // The extension id of the Office Viewer extension. |
| 215 extern const char kQuickOfficeExtensionId[]; | 212 extern const char kQuickOfficeExtensionId[]; |
| 216 | 213 |
| 217 // The extension id used for testing mimeHandlerPrivate. | 214 // The extension id used for testing mimeHandlerPrivate. |
| 218 extern const char kMimeHandlerPrivateTestExtensionId[]; | 215 extern const char kMimeHandlerPrivateTestExtensionId[]; |
| 219 | 216 |
| 220 // The extension id for the production version of Hangouts. | 217 // The extension id for the production version of Hangouts. |
| 221 extern const char kProdHangoutsExtensionId[]; | 218 extern const char kProdHangoutsExtensionId[]; |
| 222 | 219 |
| 223 // Extension ids used by Hangouts. | 220 // Extension ids used by Hangouts. |
| 224 extern const char* const kHangoutsExtensionIds[6]; | 221 extern const char* const kHangoutsExtensionIds[6]; |
| 225 | 222 |
| 226 } // namespace extension_misc | 223 } // namespace extension_misc |
| 227 | 224 |
| 228 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ | 225 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ |
| OLD | NEW |