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

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

Issue 7645033: Add offline_enabled field in manifest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 4 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) 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 #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* kAltKey = "altKey"; 10 const char* kAltKey = "altKey";
(...skipping 30 matching lines...) Expand all
41 const char* kLaunchLocalPath = "app.launch.local_path"; 41 const char* kLaunchLocalPath = "app.launch.local_path";
42 const char* kLaunchWebURL = "app.launch.web_url"; 42 const char* kLaunchWebURL = "app.launch.web_url";
43 const char* kLaunchWidth = "app.launch.width"; 43 const char* kLaunchWidth = "app.launch.width";
44 const char* kLayouts = "layouts"; 44 const char* kLayouts = "layouts";
45 const char* kMatches = "matches"; 45 const char* kMatches = "matches";
46 const char* kMinimumChromeVersion = "minimum_chrome_version"; 46 const char* kMinimumChromeVersion = "minimum_chrome_version";
47 const char* kName = "name"; 47 const char* kName = "name";
48 const char* kNaClModules = "nacl_modules"; 48 const char* kNaClModules = "nacl_modules";
49 const char* kNaClModulesMIMEType = "mime_type"; 49 const char* kNaClModulesMIMEType = "mime_type";
50 const char* kNaClModulesPath = "path"; 50 const char* kNaClModulesPath = "path";
51 const char* kOfflineEnabled = "offline_enabled";
51 const char* kOmnibox = "omnibox"; 52 const char* kOmnibox = "omnibox";
52 const char* kOmniboxKeyword = "omnibox.keyword"; 53 const char* kOmniboxKeyword = "omnibox.keyword";
53 const char* kOptionalPermissions = "optional_permissions"; 54 const char* kOptionalPermissions = "optional_permissions";
54 const char* kOptionsPage = "options_page"; 55 const char* kOptionsPage = "options_page";
55 const char* kPageAction = "page_action"; 56 const char* kPageAction = "page_action";
56 const char* kPageActionDefaultIcon = "default_icon"; 57 const char* kPageActionDefaultIcon = "default_icon";
57 const char* kPageActionDefaultPopup = "default_popup"; 58 const char* kPageActionDefaultPopup = "default_popup";
58 const char* kPageActionDefaultTitle = "default_title"; 59 const char* kPageActionDefaultTitle = "default_title";
59 const char* kPageActionIcons = "icons"; 60 const char* kPageActionIcons = "icons";
60 const char* kPageActionId = "id"; 61 const char* kPageActionId = "id";
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 const char* kInvalidMinimumChromeVersion = 255 const char* kInvalidMinimumChromeVersion =
255 "Invalid value for 'minimum_chrome_version'."; 256 "Invalid value for 'minimum_chrome_version'.";
256 const char* kInvalidName = 257 const char* kInvalidName =
257 "Required value 'name' is missing or invalid."; 258 "Required value 'name' is missing or invalid.";
258 const char* kInvalidNaClModules = 259 const char* kInvalidNaClModules =
259 "Invalid value for 'nacl_modules'."; 260 "Invalid value for 'nacl_modules'.";
260 const char* kInvalidNaClModulesPath = 261 const char* kInvalidNaClModulesPath =
261 "Invalid value for 'nacl_modules[*].path'."; 262 "Invalid value for 'nacl_modules[*].path'.";
262 const char* kInvalidNaClModulesMIMEType = 263 const char* kInvalidNaClModulesMIMEType =
263 "Invalid value for 'nacl_modules[*].mime_type'."; 264 "Invalid value for 'nacl_modules[*].mime_type'.";
265 const char* kInvalidOfflineEnabled =
266 "Invalid value for 'offline_enabled'.";
264 const char* kInvalidOmniboxKeyword = 267 const char* kInvalidOmniboxKeyword =
265 "Invalid value for 'omnibox.keyword'."; 268 "Invalid value for 'omnibox.keyword'.";
266 const char* kInvalidOptionsPage = 269 const char* kInvalidOptionsPage =
267 "Invalid value for 'options_page'."; 270 "Invalid value for 'options_page'.";
268 const char* kInvalidOptionsPageExpectUrlInPackage = 271 const char* kInvalidOptionsPageExpectUrlInPackage =
269 "Invalid value for 'options_page'. Value must be a relative path."; 272 "Invalid value for 'options_page'. Value must be a relative path.";
270 const char* kInvalidOptionsPageInHostedApp = 273 const char* kInvalidOptionsPageInHostedApp =
271 "Invalid value for 'options_page'. Hosted apps must specify an " 274 "Invalid value for 'options_page'. Hosted apps must specify an "
272 "absolute URL."; 275 "absolute URL.";
273 const char* kInvalidPageAction = 276 const char* kInvalidPageAction =
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 const char* kWebStoreAppId = "ahfgeienlihckogmohjhadlkjgocpleb"; 425 const char* kWebStoreAppId = "ahfgeienlihckogmohjhadlkjgocpleb";
423 const char* kCloudPrintAppId = "mfehgcgbbipciphmccgaenjidiccnmng"; 426 const char* kCloudPrintAppId = "mfehgcgbbipciphmccgaenjidiccnmng";
424 const char* kAppsPromoHistogram = "Extensions.AppsPromo"; 427 const char* kAppsPromoHistogram = "Extensions.AppsPromo";
425 const char* kAppLaunchHistogram = "Extensions.AppLaunch"; 428 const char* kAppLaunchHistogram = "Extensions.AppLaunch";
426 #if defined(OS_CHROMEOS) 429 #if defined(OS_CHROMEOS)
427 const char* kAccessExtensionPath = 430 const char* kAccessExtensionPath =
428 "/usr/share/chromeos-assets/accessibility/extensions"; 431 "/usr/share/chromeos-assets/accessibility/extensions";
429 const char* kChromeVoxDirectoryName = "access_chromevox"; 432 const char* kChromeVoxDirectoryName = "access_chromevox";
430 #endif 433 #endif
431 } 434 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | chrome/common/extensions/extension_manifests_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698