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

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

Issue 222663002: Move some extension constants out of //chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 8 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 | « extensions/common/constants.h ('k') | no next file » | 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 #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
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
OLDNEW
« no previous file with comments | « extensions/common/constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698