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

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

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
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 #include "chrome/common/extensions/extension_constants.h" 5 #include "chrome/common/extensions/extension_constants.h"
6 #include "chrome/common/extensions/extension_manifest_constants.h" 6 #include "chrome/common/extensions/extension_manifest_constants.h"
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 const char kAppStateRunning[] = "running"; 138 const char kAppStateRunning[] = "running";
139 const char kAppStateCannotRun[] = "cannot_run"; 139 const char kAppStateCannotRun[] = "cannot_run";
140 const char kAppStateReadyToRun[] = "ready_to_run"; 140 const char kAppStateReadyToRun[] = "ready_to_run";
141 141
142 const char kMediaFileSystemPathPart[] = "_"; 142 const char kMediaFileSystemPathPart[] = "_";
143 143
144 const char kAppNotificationsIncognitoError[] = 144 const char kAppNotificationsIncognitoError[] =
145 "This API is not accessible by 'split' mode " 145 "This API is not accessible by 'split' mode "
146 "extensions in incognito windows."; 146 "extensions in incognito windows.";
147 147
148 const int kExtensionIconSizes[] = {
149 EXTENSION_ICON_GIGANTOR, // 512
150 EXTENSION_ICON_EXTRA_LARGE, // 256
151 EXTENSION_ICON_LARGE, // 128
152 EXTENSION_ICON_MEDIUM, // 48
153 EXTENSION_ICON_SMALL, // 32
154 EXTENSION_ICON_SMALLISH, // 24
155 EXTENSION_ICON_BITTY // 16
156 };
157
158 const size_t kNumExtensionIconSizes =
159 arraysize(kExtensionIconSizes);
160
148 } // namespace extension_misc 161 } // namespace extension_misc
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | chrome/common/extensions/extension_icon_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698