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

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

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 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 extern const char kAppStateNotInstalled[]; 254 extern const char kAppStateNotInstalled[];
255 extern const char kAppStateInstalled[]; 255 extern const char kAppStateInstalled[];
256 extern const char kAppStateDisabled[]; 256 extern const char kAppStateDisabled[];
257 extern const char kAppStateRunning[]; 257 extern const char kAppStateRunning[];
258 extern const char kAppStateCannotRun[]; 258 extern const char kAppStateCannotRun[];
259 extern const char kAppStateReadyToRun[]; 259 extern const char kAppStateReadyToRun[];
260 260
261 // The path part of the file system url used for media file systems. 261 // The path part of the file system url used for media file systems.
262 extern const char kMediaFileSystemPathPart[]; 262 extern const char kMediaFileSystemPathPart[];
263 263
264 // Error indicating that the app notifications API is not accessible by split
265 // mode extensions in incognito windows.
266 extern const char kAppNotificationsIncognitoError[];
267
268 // NOTE: If you change this list, you should also change kExtensionIconSizes 264 // NOTE: If you change this list, you should also change kExtensionIconSizes
269 // in cc file. 265 // in cc file.
270 enum ExtensionIcons { 266 enum ExtensionIcons {
271 EXTENSION_ICON_GIGANTOR = 512, 267 EXTENSION_ICON_GIGANTOR = 512,
272 EXTENSION_ICON_EXTRA_LARGE = 256, 268 EXTENSION_ICON_EXTRA_LARGE = 256,
273 EXTENSION_ICON_LARGE = 128, 269 EXTENSION_ICON_LARGE = 128,
274 EXTENSION_ICON_MEDIUM = 48, 270 EXTENSION_ICON_MEDIUM = 48,
275 EXTENSION_ICON_SMALL = 32, 271 EXTENSION_ICON_SMALL = 32,
276 EXTENSION_ICON_SMALLISH = 24, 272 EXTENSION_ICON_SMALLISH = 24,
277 EXTENSION_ICON_ACTION = 19, 273 EXTENSION_ICON_ACTION = 19,
278 EXTENSION_ICON_BITTY = 16, 274 EXTENSION_ICON_BITTY = 16,
279 EXTENSION_ICON_INVALID = 0, 275 EXTENSION_ICON_INVALID = 0,
280 }; 276 };
281 277
282 // List of sizes for extension icons that can be defined in the manifest. 278 // List of sizes for extension icons that can be defined in the manifest.
283 extern const int kExtensionIconSizes[]; 279 extern const int kExtensionIconSizes[];
284 extern const size_t kNumExtensionIconSizes; 280 extern const size_t kNumExtensionIconSizes;
285 281
286 // List of sizes for extension icons that can be defined in the manifest. 282 // List of sizes for extension icons that can be defined in the manifest.
287 extern const int kExtensionActionIconSizes[]; 283 extern const int kExtensionActionIconSizes[];
288 extern const size_t kNumExtensionActionIconSizes; 284 extern const size_t kNumExtensionActionIconSizes;
289 285
290 // List of sizes for extension icons that can be defined in the manifest. 286 // List of sizes for extension icons that can be defined in the manifest.
291 extern const int kScriptBadgeIconSizes[]; 287 extern const int kScriptBadgeIconSizes[];
292 extern const size_t kNumScriptBadgeIconSizes; 288 extern const size_t kNumScriptBadgeIconSizes;
293 289
294 } // extension_misc 290 } // extension_misc
295 291
296 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 292 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698