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

Side by Side Diff: chrome/common/extensions/extension_constants.h

Issue 10843014: Generalize ExtensionIconSet to store icon paths for custom size sets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 4 months 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 extern const char kAppStateRunning[]; 237 extern const char kAppStateRunning[];
238 extern const char kAppStateCannotRun[]; 238 extern const char kAppStateCannotRun[];
239 extern const char kAppStateReadyToRun[]; 239 extern const char kAppStateReadyToRun[];
240 240
241 // The path part of the file system url used for media file systems. 241 // The path part of the file system url used for media file systems.
242 extern const char kMediaFileSystemPathPart[]; 242 extern const char kMediaFileSystemPathPart[];
243 243
244 // Error indicating that the app notifications API is not accessible by split 244 // Error indicating that the app notifications API is not accessible by split
245 // mode extensions in incognito windows. 245 // mode extensions in incognito windows.
246 extern const char kAppNotificationsIncognitoError[]; 246 extern const char kAppNotificationsIncognitoError[];
247
248 // NOTE: If you change this list, you should also change kExtensionIconSizes
249 // in cc file.
250 enum ExtensionIcons {
251 EXTENSION_ICON_GIGANTOR = 512,
252 EXTENSION_ICON_EXTRA_LARGE = 256,
253 EXTENSION_ICON_LARGE = 128,
254 EXTENSION_ICON_MEDIUM = 48,
255 EXTENSION_ICON_SMALL = 32,
256 EXTENSION_ICON_SMALLISH = 24,
257 EXTENSION_ICON_BITTY = 16,
258 EXTENSION_ICON_INVALID = 0,
259 };
260
261 // List of sizes for extension icons that can be defined in the manifest.
262 extern const int kExtensionIconSizes[];
263 extern const size_t kNumExtensionIconSizes;
264
247 } // extension_misc 265 } // extension_misc
248 266
249 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 267 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698