| 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 #include "chrome/common/extensions/extension_constants.h" | 5 #include "chrome/common/extensions/extension_constants.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 | 151 |
| 152 const char kAppStateNotInstalled[] = "not_installed"; | 152 const char kAppStateNotInstalled[] = "not_installed"; |
| 153 const char kAppStateInstalled[] = "installed"; | 153 const char kAppStateInstalled[] = "installed"; |
| 154 const char kAppStateDisabled[] = "disabled"; | 154 const char kAppStateDisabled[] = "disabled"; |
| 155 const char kAppStateRunning[] = "running"; | 155 const char kAppStateRunning[] = "running"; |
| 156 const char kAppStateCannotRun[] = "cannot_run"; | 156 const char kAppStateCannotRun[] = "cannot_run"; |
| 157 const char kAppStateReadyToRun[] = "ready_to_run"; | 157 const char kAppStateReadyToRun[] = "ready_to_run"; |
| 158 | 158 |
| 159 const char kMediaFileSystemPathPart[] = "_"; | 159 const char kMediaFileSystemPathPart[] = "_"; |
| 160 | 160 |
| 161 const int kExtensionIconSizes[] = { | |
| 162 EXTENSION_ICON_GIGANTOR, // 512 | |
| 163 EXTENSION_ICON_EXTRA_LARGE, // 256 | |
| 164 EXTENSION_ICON_LARGE, // 128 | |
| 165 EXTENSION_ICON_MEDIUM, // 48 | |
| 166 EXTENSION_ICON_SMALL, // 32 | |
| 167 EXTENSION_ICON_SMALLISH, // 24 | |
| 168 EXTENSION_ICON_BITTY, // 16 | |
| 169 // Additional 2x resources to load. | |
| 170 2 * EXTENSION_ICON_MEDIUM, // 96 | |
| 171 2 * EXTENSION_ICON_SMALL // 64 | |
| 172 }; | |
| 173 | |
| 174 const size_t kNumExtensionIconSizes = | |
| 175 arraysize(kExtensionIconSizes); | |
| 176 | |
| 177 const int kExtensionActionIconSizes[] = { | |
| 178 EXTENSION_ICON_ACTION, // 19, | |
| 179 2 * EXTENSION_ICON_ACTION // 38 | |
| 180 }; | |
| 181 | |
| 182 const size_t kNumExtensionActionIconSizes = | |
| 183 arraysize(kExtensionActionIconSizes); | |
| 184 | |
| 185 } // namespace extension_misc | 161 } // namespace extension_misc |
| OLD | NEW |