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

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

Issue 8429023: Add platform_app flag to manifest. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Merge conflict resolution. Created 9 years, 1 month 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 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 const char* kPageActionDefaultIcon = "default_icon"; 68 const char* kPageActionDefaultIcon = "default_icon";
69 const char* kPageActionDefaultPopup = "default_popup"; 69 const char* kPageActionDefaultPopup = "default_popup";
70 const char* kPageActionDefaultTitle = "default_title"; 70 const char* kPageActionDefaultTitle = "default_title";
71 const char* kPageActionIcons = "icons"; 71 const char* kPageActionIcons = "icons";
72 const char* kPageActionId = "id"; 72 const char* kPageActionId = "id";
73 const char* kPageActionPopup = "popup"; 73 const char* kPageActionPopup = "popup";
74 const char* kPageActionPopupHeight = "height"; 74 const char* kPageActionPopupHeight = "height";
75 const char* kPageActionPopupPath = "path"; 75 const char* kPageActionPopupPath = "path";
76 const char* kPageActions = "page_actions"; 76 const char* kPageActions = "page_actions";
77 const char* kPermissions = "permissions"; 77 const char* kPermissions = "permissions";
78 const char* kPlatformApp = "platform_app";
78 const char* kPlugins = "plugins"; 79 const char* kPlugins = "plugins";
79 const char* kPluginsPath = "path"; 80 const char* kPluginsPath = "path";
80 const char* kPluginsPublic = "public"; 81 const char* kPluginsPublic = "public";
81 const char* kPublicKey = "key"; 82 const char* kPublicKey = "key";
82 const char* kRequirements = "requirements"; 83 const char* kRequirements = "requirements";
83 const char* kRunAt = "run_at"; 84 const char* kRunAt = "run_at";
84 const char* kShiftKey = "shiftKey"; 85 const char* kShiftKey = "shiftKey";
85 const char* kShortcutKey = "shortcutKey"; 86 const char* kShortcutKey = "shortcutKey";
86 const char* kSidebar = "sidebar"; 87 const char* kSidebar = "sidebar";
87 const char* kSidebarDefaultIcon = "default_icon"; 88 const char* kSidebarDefaultIcon = "default_icon";
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 const char* kInvalidIsolationValue = 248 const char* kInvalidIsolationValue =
248 "Invalid value for 'app.isolation[*]'."; 249 "Invalid value for 'app.isolation[*]'.";
249 const char* kInvalidJs = 250 const char* kInvalidJs =
250 "Invalid value for 'content_scripts[*].js[*]'."; 251 "Invalid value for 'content_scripts[*].js[*]'.";
251 const char* kInvalidJsList = 252 const char* kInvalidJsList =
252 "Required value 'content_scripts[*].js' is invalid."; 253 "Required value 'content_scripts[*].js' is invalid.";
253 const char* kInvalidKey = 254 const char* kInvalidKey =
254 "Value 'key' is missing or invalid."; 255 "Value 'key' is missing or invalid.";
255 const char* kInvalidLaunchContainer = 256 const char* kInvalidLaunchContainer =
256 "Invalid value for 'app.launch.container'."; 257 "Invalid value for 'app.launch.container'.";
258 const char* kInvalidLaunchContainerForPlatform =
259 "platform_app requires 'app.launch.container' == 'panel'.";
257 const char* kInvalidLaunchHeight = 260 const char* kInvalidLaunchHeight =
258 "Invalid value for 'app.launch.height'."; 261 "Invalid value for 'app.launch.height'.";
259 const char* kInvalidLaunchHeightContainer = 262 const char* kInvalidLaunchHeightContainer =
260 "Invalid container type for 'app.launch.height'."; 263 "Invalid container type for 'app.launch.height'.";
261 const char* kInvalidLaunchLocalPath = 264 const char* kInvalidLaunchLocalPath =
262 "Invalid value for 'app.launch.local_path'."; 265 "Invalid value for 'app.launch.local_path'.";
263 const char* kInvalidLaunchWebURL = 266 const char* kInvalidLaunchWebURL =
264 "Invalid value for 'app.launch.web_url'."; 267 "Invalid value for 'app.launch.web_url'.";
265 const char* kInvalidLaunchWidth = 268 const char* kInvalidLaunchWidth =
266 "Invalid value for 'app.launch.width'."; 269 "Invalid value for 'app.launch.width'.";
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 const char* kCloudPrintAppId = "mfehgcgbbipciphmccgaenjidiccnmng"; 483 const char* kCloudPrintAppId = "mfehgcgbbipciphmccgaenjidiccnmng";
481 const char* kAppsPromoHistogram = "Extensions.AppsPromo"; 484 const char* kAppsPromoHistogram = "Extensions.AppsPromo";
482 const char* kAppLaunchHistogram = "Extensions.AppLaunch"; 485 const char* kAppLaunchHistogram = "Extensions.AppLaunch";
483 #if defined(OS_CHROMEOS) 486 #if defined(OS_CHROMEOS)
484 const char* kAccessExtensionPath = 487 const char* kAccessExtensionPath =
485 "/usr/share/chromeos-assets/accessibility/extensions"; 488 "/usr/share/chromeos-assets/accessibility/extensions";
486 const char* kChromeVoxDirectoryName = "access_chromevox"; 489 const char* kChromeVoxDirectoryName = "access_chromevox";
487 #endif 490 #endif
488 491
489 } 492 }
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