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

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

Issue 8849010: Add 'web_accessible_resource" keyword for version 2 extension manifests. This makes extension res... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 12 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 | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_constants.cc » ('j') | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 extern const char kTtsVoicesEventTypeSentence[]; 107 extern const char kTtsVoicesEventTypeSentence[];
108 extern const char kTtsVoicesEventTypeStart[]; 108 extern const char kTtsVoicesEventTypeStart[];
109 extern const char kTtsVoicesEventTypeWord[]; 109 extern const char kTtsVoicesEventTypeWord[];
110 extern const char kTtsVoicesEventTypes[]; 110 extern const char kTtsVoicesEventTypes[];
111 extern const char kTtsVoicesGender[]; 111 extern const char kTtsVoicesGender[];
112 extern const char kTtsVoicesLang[]; 112 extern const char kTtsVoicesLang[];
113 extern const char kTtsVoicesVoiceName[]; 113 extern const char kTtsVoicesVoiceName[];
114 extern const char kType[]; 114 extern const char kType[];
115 extern const char kUpdateURL[]; 115 extern const char kUpdateURL[];
116 extern const char kVersion[]; 116 extern const char kVersion[];
117 extern const char kWebAccessibleResources[];
117 extern const char kWebURLs[]; 118 extern const char kWebURLs[];
118 } // namespace extension_manifest_keys 119 } // namespace extension_manifest_keys
119 120
120 // Some values expected in manifests. 121 // Some values expected in manifests.
121 namespace extension_manifest_values { 122 namespace extension_manifest_values {
122 extern const char kIncognitoSplit[]; 123 extern const char kIncognitoSplit[];
123 extern const char kIncognitoSpanning[]; 124 extern const char kIncognitoSpanning[];
124 extern const char kIntentDispositionWindow[]; 125 extern const char kIntentDispositionWindow[];
125 extern const char kIntentDispositionInline[]; 126 extern const char kIntentDispositionInline[];
126 extern const char kIsolatedStorage[]; 127 extern const char kIsolatedStorage[];
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 extern const char kInvalidThemeTints[]; 254 extern const char kInvalidThemeTints[];
254 extern const char kInvalidTts[]; 255 extern const char kInvalidTts[];
255 extern const char kInvalidTtsVoices[]; 256 extern const char kInvalidTtsVoices[];
256 extern const char kInvalidTtsVoicesEventTypes[]; 257 extern const char kInvalidTtsVoicesEventTypes[];
257 extern const char kInvalidTtsVoicesGender[]; 258 extern const char kInvalidTtsVoicesGender[];
258 extern const char kInvalidTtsVoicesLang[]; 259 extern const char kInvalidTtsVoicesLang[];
259 extern const char kInvalidTtsVoicesVoiceName[]; 260 extern const char kInvalidTtsVoicesVoiceName[];
260 extern const char kInvalidUpdateURL[]; 261 extern const char kInvalidUpdateURL[];
261 extern const char kInvalidURLPatternError[]; 262 extern const char kInvalidURLPatternError[];
262 extern const char kInvalidVersion[]; 263 extern const char kInvalidVersion[];
264 extern const char kInvalidWebAccessibleResourcesList[];
265 extern const char kInvalidWebAccessibleResource[];
263 extern const char kInvalidWebURL[]; 266 extern const char kInvalidWebURL[];
264 extern const char kInvalidWebURLs[]; 267 extern const char kInvalidWebURLs[];
265 extern const char kInvalidZipHash[]; 268 extern const char kInvalidZipHash[];
266 extern const char kLaunchPathAndExtentAreExclusive[]; 269 extern const char kLaunchPathAndExtentAreExclusive[];
267 extern const char kLaunchPathAndURLAreExclusive[]; 270 extern const char kLaunchPathAndURLAreExclusive[];
268 extern const char kLaunchURLRequired[]; 271 extern const char kLaunchURLRequired[];
269 extern const char kLocalesMessagesFileMissing[]; 272 extern const char kLocalesMessagesFileMissing[];
270 extern const char kLocalesNoDefaultLocaleSpecified[]; 273 extern const char kLocalesNoDefaultLocaleSpecified[];
271 extern const char kLocalesNoDefaultMessages[]; 274 extern const char kLocalesNoDefaultMessages[];
272 extern const char kLocalesNoValidLocaleNamesListed[]; 275 extern const char kLocalesNoValidLocaleNamesListed[];
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 459
457 enum UnloadedExtensionReason { 460 enum UnloadedExtensionReason {
458 UNLOAD_REASON_DISABLE, // Extension is being disabled. 461 UNLOAD_REASON_DISABLE, // Extension is being disabled.
459 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version. 462 UNLOAD_REASON_UPDATE, // Extension is being updated to a newer version.
460 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled. 463 UNLOAD_REASON_UNINSTALL, // Extension is being uninstalled.
461 UNLOAD_REASON_TERMINATE, // Extension has terminated. 464 UNLOAD_REASON_TERMINATE, // Extension has terminated.
462 }; 465 };
463 } // extension_misc 466 } // extension_misc
464 467
465 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_ 468 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698