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

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

Issue 10080017: Switch platform apps from a declarative launch container to handling an onLaunched event. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: remove debug logging code Created 8 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
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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 118 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86,
119 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00 119 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05, 0x00
120 }; 120 };
121 121
122 // Don't remove items or change the order of this enum. It's used in 122 // Don't remove items or change the order of this enum. It's used in
123 // histograms and preferences. 123 // histograms and preferences.
124 enum LaunchContainer { 124 enum LaunchContainer {
125 LAUNCH_WINDOW, 125 LAUNCH_WINDOW,
126 LAUNCH_PANEL, 126 LAUNCH_PANEL,
127 LAUNCH_TAB, 127 LAUNCH_TAB,
128 LAUNCH_SHELL 128 // For platform apps, which don't actually have a container (they just get a
129 // "onLaunched" event).
130 LAUNCH_NONE
129 }; 131 };
130 132
131 // The name of the apps promo histogram. 133 // The name of the apps promo histogram.
132 extern const char kAppsPromoHistogram[]; 134 extern const char kAppsPromoHistogram[];
133 135
134 // The buckets used in the apps promo histogram. 136 // The buckets used in the apps promo histogram.
135 enum AppsPromoBuckets { 137 enum AppsPromoBuckets {
136 PROMO_LAUNCH_APP, 138 PROMO_LAUNCH_APP,
137 PROMO_LAUNCH_WEB_STORE, 139 PROMO_LAUNCH_WEB_STORE,
138 PROMO_CLOSE, 140 PROMO_CLOSE,
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. 238 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled.
237 UNLOAD_REASON_TERMINATE, // Extension has terminated. 239 UNLOAD_REASON_TERMINATE, // Extension has terminated.
238 }; 240 };
239 241
240 // Error indicating that the app notifications API is not accessible by split 242 // Error indicating that the app notifications API is not accessible by split
241 // mode extensions in incognito windows. 243 // mode extensions in incognito windows.
242 extern const char kAppNotificationsIncognitoError[]; 244 extern const char kAppNotificationsIncognitoError[];
243 } // extension_misc 245 } // extension_misc
244 246
245 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 247 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_manifest_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698