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

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

Issue 6802023: Add nacl_modules key to extension manifests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 6
7 namespace extension_manifest_keys { 7 namespace extension_manifest_keys {
8 8
9 const char* kAllFrames = "all_frames"; 9 const char* kAllFrames = "all_frames";
10 const char* kApp = "app"; 10 const char* kApp = "app";
(...skipping 16 matching lines...) Expand all
27 const char* kJs = "js"; 27 const char* kJs = "js";
28 const char* kLaunch = "app.launch"; 28 const char* kLaunch = "app.launch";
29 const char* kLaunchContainer = "app.launch.container"; 29 const char* kLaunchContainer = "app.launch.container";
30 const char* kLaunchHeight = "app.launch.height"; 30 const char* kLaunchHeight = "app.launch.height";
31 const char* kLaunchLocalPath = "app.launch.local_path"; 31 const char* kLaunchLocalPath = "app.launch.local_path";
32 const char* kLaunchWebURL = "app.launch.web_url"; 32 const char* kLaunchWebURL = "app.launch.web_url";
33 const char* kLaunchWidth = "app.launch.width"; 33 const char* kLaunchWidth = "app.launch.width";
34 const char* kMatches = "matches"; 34 const char* kMatches = "matches";
35 const char* kMinimumChromeVersion = "minimum_chrome_version"; 35 const char* kMinimumChromeVersion = "minimum_chrome_version";
36 const char* kName = "name"; 36 const char* kName = "name";
37 const char* kNaClModules = "nacl_modules";
38 const char* kNaClModulesMIMEType = "mime_type";
39 const char* kNaClModulesPath = "path";
37 const char* kOmnibox = "omnibox"; 40 const char* kOmnibox = "omnibox";
38 const char* kOmniboxKeyword = "omnibox.keyword"; 41 const char* kOmniboxKeyword = "omnibox.keyword";
39 const char* kOptionsPage = "options_page"; 42 const char* kOptionsPage = "options_page";
40 const char* kPageAction = "page_action"; 43 const char* kPageAction = "page_action";
41 const char* kPageActionDefaultIcon = "default_icon"; 44 const char* kPageActionDefaultIcon = "default_icon";
42 const char* kPageActionDefaultPopup = "default_popup"; 45 const char* kPageActionDefaultPopup = "default_popup";
43 const char* kPageActionDefaultTitle = "default_title"; 46 const char* kPageActionDefaultTitle = "default_title";
44 const char* kPageActionIcons = "icons"; 47 const char* kPageActionIcons = "icons";
45 const char* kPageActionId = "id"; 48 const char* kPageActionId = "id";
46 const char* kPageActionPopup = "popup"; 49 const char* kPageActionPopup = "popup";
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 "Invalid value for 'content_scripts[*].matches[*]': *"; 188 "Invalid value for 'content_scripts[*].matches[*]': *";
186 const char* kInvalidMatchCount = 189 const char* kInvalidMatchCount =
187 "Invalid value for 'content_scripts[*].matches'. There must be at least" 190 "Invalid value for 'content_scripts[*].matches'. There must be at least"
188 "one match specified."; 191 "one match specified.";
189 const char* kInvalidMatches = 192 const char* kInvalidMatches =
190 "Required value 'content_scripts[*].matches' is missing or invalid."; 193 "Required value 'content_scripts[*].matches' is missing or invalid.";
191 const char* kInvalidMinimumChromeVersion = 194 const char* kInvalidMinimumChromeVersion =
192 "Invalid value for 'minimum_chrome_version'."; 195 "Invalid value for 'minimum_chrome_version'.";
193 const char* kInvalidName = 196 const char* kInvalidName =
194 "Required value 'name' is missing or invalid."; 197 "Required value 'name' is missing or invalid.";
198 const char* kInvalidNaClModules =
199 "Invalid value for 'nacl_modules'.";
200 const char* kInvalidNaClModulesPath =
201 "Invalid value for 'nacl_modules[*].path'.";
202 const char* kInvalidNaClModulesMIMEType =
203 "Invalid value for 'nacl_modules[*].mime_type'.";
195 const char* kInvalidOmniboxKeyword = 204 const char* kInvalidOmniboxKeyword =
196 "Invalid value for 'omnibox.keyword'."; 205 "Invalid value for 'omnibox.keyword'.";
197 const char* kInvalidOptionsPage = 206 const char* kInvalidOptionsPage =
198 "Invalid value for 'options_page'."; 207 "Invalid value for 'options_page'.";
199 const char* kInvalidOptionsPageExpectUrlInPackage = 208 const char* kInvalidOptionsPageExpectUrlInPackage =
200 "Invalid value for 'options_page'. Value must be a relative path."; 209 "Invalid value for 'options_page'. Value must be a relative path.";
201 const char* kInvalidOptionsPageInHostedApp = 210 const char* kInvalidOptionsPageInHostedApp =
202 "Invalid value for 'options_page'. Hosted apps must specify an " 211 "Invalid value for 'options_page'. Hosted apps must specify an "
203 "absolute URL."; 212 "absolute URL.";
204 const char* kInvalidPageAction = 213 const char* kInvalidPageAction =
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 namespace extension_misc { 353 namespace extension_misc {
345 const char* kBookmarkManagerId = "eemcgdkfndhakfknompkggombfjjjeno"; 354 const char* kBookmarkManagerId = "eemcgdkfndhakfknompkggombfjjjeno";
346 const char* kWebStoreAppId = "ahfgeienlihckogmohjhadlkjgocpleb"; 355 const char* kWebStoreAppId = "ahfgeienlihckogmohjhadlkjgocpleb";
347 const char* kAppsPromoHistogram = "Extensions.AppsPromo"; 356 const char* kAppsPromoHistogram = "Extensions.AppsPromo";
348 const char* kAppLaunchHistogram = "Extensions.AppLaunch"; 357 const char* kAppLaunchHistogram = "Extensions.AppLaunch";
349 #if defined(OS_CHROMEOS) 358 #if defined(OS_CHROMEOS)
350 const char* kAccessExtensionPath = 359 const char* kAccessExtensionPath =
351 "/usr/share/chromeos-assets/accessibility/extensions"; 360 "/usr/share/chromeos-assets/accessibility/extensions";
352 #endif 361 #endif
353 } 362 }
OLDNEW
« chrome/common/extensions/extension.cc ('K') | « chrome/common/extensions/extension_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698