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

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

Issue 22944002: Implementation of the "Redirect URLs to Packaged Apps" feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review comments + lint errors Created 7 years, 3 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 #include "chrome/common/extensions/extension_manifest_constants.h" 5 #include "chrome/common/extensions/extension_manifest_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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 const char kTtsVoicesEventTypeMarker[] = "marker"; 130 const char kTtsVoicesEventTypeMarker[] = "marker";
131 const char kTtsVoicesEventTypeSentence[] = "sentence"; 131 const char kTtsVoicesEventTypeSentence[] = "sentence";
132 const char kTtsVoicesEventTypeStart[] = "start"; 132 const char kTtsVoicesEventTypeStart[] = "start";
133 const char kTtsVoicesEventTypeWord[] = "word"; 133 const char kTtsVoicesEventTypeWord[] = "word";
134 const char kTtsVoicesEventTypes[] = "event_types"; 134 const char kTtsVoicesEventTypes[] = "event_types";
135 const char kTtsVoicesGender[] = "gender"; 135 const char kTtsVoicesGender[] = "gender";
136 const char kTtsVoicesLang[] = "lang"; 136 const char kTtsVoicesLang[] = "lang";
137 const char kTtsVoicesVoiceName[] = "voice_name"; 137 const char kTtsVoicesVoiceName[] = "voice_name";
138 const char kType[] = "type"; 138 const char kType[] = "type";
139 const char kUpdateURL[] = "update_url"; 139 const char kUpdateURL[] = "update_url";
140 const char kUrlHandlers[] = "url_handlers";
141 const char kUrlHandlerTitle[] = "title";
140 const char kVersion[] = "version"; 142 const char kVersion[] = "version";
141 const char kWebAccessibleResources[] = "web_accessible_resources"; 143 const char kWebAccessibleResources[] = "web_accessible_resources";
142 const char kWebURLs[] = "app.urls"; 144 const char kWebURLs[] = "app.urls";
143 } // namespace extension_manifest_keys 145 } // namespace extension_manifest_keys
144 146
145 namespace extension_manifest_values { 147 namespace extension_manifest_values {
146 const char kBrowserActionCommandEvent[] = "_execute_browser_action"; 148 const char kBrowserActionCommandEvent[] = "_execute_browser_action";
147 const char kIncognitoSplit[] = "split"; 149 const char kIncognitoSplit[] = "split";
148 const char kIncognitoSpanning[] = "spanning"; 150 const char kIncognitoSpanning[] = "spanning";
149 const char kIntentDispositionWindow[] = "window"; 151 const char kIntentDispositionWindow[] = "window";
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 const char kInvalidTtsVoicesEventTypes[] = 485 const char kInvalidTtsVoicesEventTypes[] =
484 "Invalid value for 'tts_engine.voices[*].event_types'."; 486 "Invalid value for 'tts_engine.voices[*].event_types'.";
485 const char kInvalidTtsVoicesGender[] = 487 const char kInvalidTtsVoicesGender[] =
486 "Invalid value for 'tts_engine.voices[*].gender'."; 488 "Invalid value for 'tts_engine.voices[*].gender'.";
487 const char kInvalidTtsVoicesLang[] = 489 const char kInvalidTtsVoicesLang[] =
488 "Invalid value for 'tts_engine.voices[*].lang'."; 490 "Invalid value for 'tts_engine.voices[*].lang'.";
489 const char kInvalidTtsVoicesVoiceName[] = 491 const char kInvalidTtsVoicesVoiceName[] =
490 "Invalid value for 'tts_engine.voices[*].voice_name'."; 492 "Invalid value for 'tts_engine.voices[*].voice_name'.";
491 const char kInvalidUpdateURL[] = 493 const char kInvalidUpdateURL[] =
492 "Invalid value for update url: '[*]'."; 494 "Invalid value for update url: '[*]'.";
495 const char kInvalidUrlHandlers[] =
496 "Invalid value for 'url_handlers'.";
497 const char kInvalidUrlHandlerPatternElement[] =
498 "Invalid value for 'url_handlers[*]'.";
499 const char kInvalidUrlHandlerTitle[] =
500 "Invalid value for 'url_handlers[*].title'.";
501 const char kInvalidUrlHandlerPattern[] =
502 "Invalid value for 'url_handlers[*].matches[*]'.";
493 const char kInvalidURLPatternError[] = 503 const char kInvalidURLPatternError[] =
494 "Invalid url pattern '*'"; 504 "Invalid url pattern '*'";
495 const char kInvalidVersion[] = 505 const char kInvalidVersion[] =
496 "Required value 'version' is missing or invalid. It must be between 1-4 " 506 "Required value 'version' is missing or invalid. It must be between 1-4 "
497 "dot-separated integers each between 0 and 65536."; 507 "dot-separated integers each between 0 and 65536.";
498 const char kInvalidWebAccessibleResourcesList[] = 508 const char kInvalidWebAccessibleResourcesList[] =
499 "Invalid value for 'web_accessible_resources'."; 509 "Invalid value for 'web_accessible_resources'.";
500 const char kInvalidWebAccessibleResource[] = 510 const char kInvalidWebAccessibleResource[] =
501 "Invalid value for 'web_accessible_resources[*]'."; 511 "Invalid value for 'web_accessible_resources[*]'.";
502 const char kInvalidWebURL[] = 512 const char kInvalidWebURL[] =
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 const char kScriptBadgeTitleIgnored[] = 572 const char kScriptBadgeTitleIgnored[] =
563 "default_title specified in script_badge manifest section will not be " 573 "default_title specified in script_badge manifest section will not be "
564 "used."; 574 "used.";
565 const char kWebRequestConflictsWithLazyBackground[] = 575 const char kWebRequestConflictsWithLazyBackground[] =
566 "The 'webRequest' API cannot be used with event pages."; 576 "The 'webRequest' API cannot be used with event pages.";
567 #if defined(OS_CHROMEOS) 577 #if defined(OS_CHROMEOS)
568 const char kIllegalPlugins[] = 578 const char kIllegalPlugins[] =
569 "Extensions cannot install plugins on Chrome OS"; 579 "Extensions cannot install plugins on Chrome OS";
570 #endif 580 #endif
571 } // namespace extension_manifest_errors 581 } // namespace extension_manifest_errors
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698