| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/chrome_manifest_handlers.h" | 5 #include "chrome/common/extensions/chrome_manifest_handlers.h" |
| 6 | 6 |
| 7 #include "chrome/common/extensions/api/commands/commands_handler.h" | 7 #include "chrome/common/extensions/api/commands/commands_handler.h" |
| 8 #include "chrome/common/extensions/api/extension_action/browser_action_handler.h
" | 8 #include "chrome/common/extensions/api/extension_action/browser_action_handler.h
" |
| 9 #include "chrome/common/extensions/api/extension_action/page_action_handler.h" | 9 #include "chrome/common/extensions/api/extension_action/page_action_handler.h" |
| 10 #include "chrome/common/extensions/api/extension_action/script_badge_handler.h" | 10 #include "chrome/common/extensions/api/extension_action/script_badge_handler.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 #include "chrome/common/extensions/manifest_handlers/app_launch_info.h" | 29 #include "chrome/common/extensions/manifest_handlers/app_launch_info.h" |
| 30 #include "chrome/common/extensions/manifest_handlers/content_scripts_handler.h" | 30 #include "chrome/common/extensions/manifest_handlers/content_scripts_handler.h" |
| 31 #include "chrome/common/extensions/manifest_handlers/externally_connectable.h" | 31 #include "chrome/common/extensions/manifest_handlers/externally_connectable.h" |
| 32 #include "chrome/common/extensions/manifest_handlers/icons_handler.h" | 32 #include "chrome/common/extensions/manifest_handlers/icons_handler.h" |
| 33 #include "chrome/common/extensions/manifest_handlers/minimum_chrome_version_chec
ker.h" | 33 #include "chrome/common/extensions/manifest_handlers/minimum_chrome_version_chec
ker.h" |
| 34 #include "chrome/common/extensions/manifest_handlers/nacl_modules_handler.h" | 34 #include "chrome/common/extensions/manifest_handlers/nacl_modules_handler.h" |
| 35 #include "chrome/common/extensions/manifest_handlers/settings_overrides_handler.
h" | 35 #include "chrome/common/extensions/manifest_handlers/settings_overrides_handler.
h" |
| 36 #include "chrome/common/extensions/manifest_handlers/theme_handler.h" | 36 #include "chrome/common/extensions/manifest_handlers/theme_handler.h" |
| 37 #include "chrome/common/extensions/manifest_url_handler.h" | 37 #include "chrome/common/extensions/manifest_url_handler.h" |
| 38 #include "chrome/common/extensions/mime_types_handler.h" | 38 #include "chrome/common/extensions/mime_types_handler.h" |
| 39 #include "chrome/common/extensions/web_accessible_resources_handler.h" | |
| 40 #include "chrome/common/extensions/webview_handler.h" | |
| 41 #include "extensions/common/manifest_handlers/requirements_info.h" | 39 #include "extensions/common/manifest_handlers/requirements_info.h" |
| 42 | 40 |
| 43 namespace extensions { | 41 namespace extensions { |
| 44 | 42 |
| 45 void RegisterChromeManifestHandlers() { | 43 void RegisterChromeManifestHandlers() { |
| 46 DCHECK(!ManifestHandler::IsRegistrationFinalized()); | 44 DCHECK(!ManifestHandler::IsRegistrationFinalized()); |
| 47 #if defined(ENABLE_EXTENSIONS) | 45 #if defined(ENABLE_EXTENSIONS) |
| 48 (new AppIsolationHandler)->Register(); | 46 (new AppIsolationHandler)->Register(); |
| 49 (new AppLaunchManifestHandler)->Register(); | 47 (new AppLaunchManifestHandler)->Register(); |
| 50 (new BrowserActionHandler)->Register(); | 48 (new BrowserActionHandler)->Register(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 75 (new ScriptBadgeHandler)->Register(); | 73 (new ScriptBadgeHandler)->Register(); |
| 76 (new SocketsManifestHandler)->Register(); | 74 (new SocketsManifestHandler)->Register(); |
| 77 (new SpellcheckHandler)->Register(); | 75 (new SpellcheckHandler)->Register(); |
| 78 (new StorageSchemaManifestHandler)->Register(); | 76 (new StorageSchemaManifestHandler)->Register(); |
| 79 (new SystemIndicatorHandler)->Register(); | 77 (new SystemIndicatorHandler)->Register(); |
| 80 (new ThemeHandler)->Register(); | 78 (new ThemeHandler)->Register(); |
| 81 (new TtsEngineManifestHandler)->Register(); | 79 (new TtsEngineManifestHandler)->Register(); |
| 82 (new UpdateURLHandler)->Register(); | 80 (new UpdateURLHandler)->Register(); |
| 83 (new UrlHandlersParser)->Register(); | 81 (new UrlHandlersParser)->Register(); |
| 84 (new URLOverridesHandler)->Register(); | 82 (new URLOverridesHandler)->Register(); |
| 85 (new WebAccessibleResourcesHandler)->Register(); | |
| 86 (new WebviewHandler)->Register(); | |
| 87 #endif | 83 #endif |
| 88 } | 84 } |
| 89 | 85 |
| 90 } // namespace extensions | 86 } // namespace extensions |
| OLD | NEW |