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

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

Issue 12680004: Remove chrome/ code to handle App Notifications (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflicts. Created 7 years, 9 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 147
148 const char kAppStateNotInstalled[] = "not_installed"; 148 const char kAppStateNotInstalled[] = "not_installed";
149 const char kAppStateInstalled[] = "installed"; 149 const char kAppStateInstalled[] = "installed";
150 const char kAppStateDisabled[] = "disabled"; 150 const char kAppStateDisabled[] = "disabled";
151 const char kAppStateRunning[] = "running"; 151 const char kAppStateRunning[] = "running";
152 const char kAppStateCannotRun[] = "cannot_run"; 152 const char kAppStateCannotRun[] = "cannot_run";
153 const char kAppStateReadyToRun[] = "ready_to_run"; 153 const char kAppStateReadyToRun[] = "ready_to_run";
154 154
155 const char kMediaFileSystemPathPart[] = "_"; 155 const char kMediaFileSystemPathPart[] = "_";
156 156
157 const char kAppNotificationsIncognitoError[] =
158 "This API is not accessible by 'split' mode "
159 "extensions in incognito windows.";
160
161 const int kExtensionIconSizes[] = { 157 const int kExtensionIconSizes[] = {
162 EXTENSION_ICON_GIGANTOR, // 512 158 EXTENSION_ICON_GIGANTOR, // 512
163 EXTENSION_ICON_EXTRA_LARGE, // 256 159 EXTENSION_ICON_EXTRA_LARGE, // 256
164 EXTENSION_ICON_LARGE, // 128 160 EXTENSION_ICON_LARGE, // 128
165 EXTENSION_ICON_MEDIUM, // 48 161 EXTENSION_ICON_MEDIUM, // 48
166 EXTENSION_ICON_SMALL, // 32 162 EXTENSION_ICON_SMALL, // 32
167 EXTENSION_ICON_SMALLISH, // 24 163 EXTENSION_ICON_SMALLISH, // 24
168 EXTENSION_ICON_BITTY // 16 164 EXTENSION_ICON_BITTY // 16
169 }; 165 };
170 166
(...skipping 10 matching lines...) Expand all
181 177
182 const int kScriptBadgeIconSizes[] = { 178 const int kScriptBadgeIconSizes[] = {
183 EXTENSION_ICON_BITTY, // 16 179 EXTENSION_ICON_BITTY, // 16
184 2 * EXTENSION_ICON_BITTY // 32 180 2 * EXTENSION_ICON_BITTY // 32
185 }; 181 };
186 182
187 const size_t kNumScriptBadgeIconSizes = 183 const size_t kNumScriptBadgeIconSizes =
188 arraysize(kScriptBadgeIconSizes); 184 arraysize(kScriptBadgeIconSizes);
189 185
190 } // namespace extension_misc 186 } // namespace extension_misc
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | chrome/common/extensions/extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698