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 "extensions/common/constants.h" | 5 #include "extensions/common/constants.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 | 8 |
9 namespace extensions { | 9 namespace extensions { |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 const char kLocalAppSettingsDirectoryName[] = "Local App Settings"; | 44 const char kLocalAppSettingsDirectoryName[] = "Local App Settings"; |
45 const char kLocalExtensionSettingsDirectoryName[] = "Local Extension Settings"; | 45 const char kLocalExtensionSettingsDirectoryName[] = "Local Extension Settings"; |
46 const char kSyncAppSettingsDirectoryName[] = "Sync App Settings"; | 46 const char kSyncAppSettingsDirectoryName[] = "Sync App Settings"; |
47 const char kSyncExtensionSettingsDirectoryName[] = "Sync Extension Settings"; | 47 const char kSyncExtensionSettingsDirectoryName[] = "Sync Extension Settings"; |
48 const char kManagedSettingsDirectoryName[] = "Managed Extension Settings"; | 48 const char kManagedSettingsDirectoryName[] = "Managed Extension Settings"; |
49 const char kStateStoreName[] = "Extension State"; | 49 const char kStateStoreName[] = "Extension State"; |
50 const char kRulesStoreName[] = "Extension Rules"; | 50 const char kRulesStoreName[] = "Extension Rules"; |
51 | 51 |
52 } // namespace extensions | 52 } // namespace extensions |
| 53 |
| 54 namespace extension_misc { |
| 55 |
| 56 const int kExtensionIconSizes[] = {EXTENSION_ICON_GIGANTOR, // 512 |
| 57 EXTENSION_ICON_EXTRA_LARGE, // 256 |
| 58 EXTENSION_ICON_LARGE, // 128 |
| 59 EXTENSION_ICON_MEDIUM, // 48 |
| 60 EXTENSION_ICON_SMALL, // 32 |
| 61 EXTENSION_ICON_SMALLISH, // 24 |
| 62 EXTENSION_ICON_BITTY, // 16 |
| 63 // Additional 2x resources to load. |
| 64 2 * EXTENSION_ICON_MEDIUM, // 96 |
| 65 2 * EXTENSION_ICON_SMALL // 64 |
| 66 }; |
| 67 |
| 68 const size_t kNumExtensionIconSizes = arraysize(kExtensionIconSizes); |
| 69 |
| 70 const int kExtensionActionIconSizes[] = {EXTENSION_ICON_ACTION, // 19, |
| 71 2 * EXTENSION_ICON_ACTION // 38 |
| 72 }; |
| 73 |
| 74 const size_t kNumExtensionActionIconSizes = |
| 75 arraysize(kExtensionActionIconSizes); |
| 76 |
| 77 } // namespace extension_misc |
OLD | NEW |