Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: extensions/common/constants.h

Issue 1504453002: Allow arbitrary sizes for extension icons (and bookmark app icons) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 EXTENSION_ICON_EXTRA_LARGE = 256, 183 EXTENSION_ICON_EXTRA_LARGE = 256,
184 EXTENSION_ICON_LARGE = 128, 184 EXTENSION_ICON_LARGE = 128,
185 EXTENSION_ICON_MEDIUM = 48, 185 EXTENSION_ICON_MEDIUM = 48,
186 EXTENSION_ICON_SMALL = 32, 186 EXTENSION_ICON_SMALL = 32,
187 EXTENSION_ICON_SMALLISH = 24, 187 EXTENSION_ICON_SMALLISH = 24,
188 EXTENSION_ICON_ACTION = 19, 188 EXTENSION_ICON_ACTION = 19,
189 EXTENSION_ICON_BITTY = 16, 189 EXTENSION_ICON_BITTY = 16,
190 EXTENSION_ICON_INVALID = 0, 190 EXTENSION_ICON_INVALID = 0,
191 }; 191 };
192 192
193 // List of sizes for extension icons that can be defined in the manifest.
194 extern const int kExtensionIconSizes[];
195 extern const size_t kNumExtensionIconSizes;
196
197 // The extension id of the PDF extension. 193 // The extension id of the PDF extension.
198 extern const char kPdfExtensionId[]; 194 extern const char kPdfExtensionId[];
199 195
200 // The extension id of the Office Viewer component extension. 196 // The extension id of the Office Viewer component extension.
201 extern const char kQuickOfficeComponentExtensionId[]; 197 extern const char kQuickOfficeComponentExtensionId[];
202 198
203 // The extension id of the Office Viewer extension on the internal webstore. 199 // The extension id of the Office Viewer extension on the internal webstore.
204 extern const char kQuickOfficeInternalExtensionId[]; 200 extern const char kQuickOfficeInternalExtensionId[];
205 201
206 // The extension id of the Office Viewer extension. 202 // The extension id of the Office Viewer extension.
207 extern const char kQuickOfficeExtensionId[]; 203 extern const char kQuickOfficeExtensionId[];
208 204
209 // The extension id used for testing mimeHandlerPrivate. 205 // The extension id used for testing mimeHandlerPrivate.
210 extern const char kMimeHandlerPrivateTestExtensionId[]; 206 extern const char kMimeHandlerPrivateTestExtensionId[];
211 207
212 // The extension id for the production version of Hangouts. 208 // The extension id for the production version of Hangouts.
213 extern const char kProdHangoutsExtensionId[]; 209 extern const char kProdHangoutsExtensionId[];
214 210
215 // Extension ids used by Hangouts. 211 // Extension ids used by Hangouts.
216 extern const char* const kHangoutsExtensionIds[6]; 212 extern const char* const kHangoutsExtensionIds[6];
217 213
218 } // namespace extension_misc 214 } // namespace extension_misc
219 215
220 #endif // EXTENSIONS_COMMON_CONSTANTS_H_ 216 #endif // EXTENSIONS_COMMON_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698