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
3 // found in the LICENSE file.
5 #include "chrome/common/extensions/chrome_manifest_handlers.h"
7 #include "chrome/common/extensions/api/commands/commands_handler.h"
8 #include "chrome/common/extensions/api/omnibox/omnibox_handler.h"
9 #include "chrome/common/extensions/api/plugins/plugins_handler.h"
10 #include "chrome/common/extensions/api/speech/tts_engine_manifest_handler.h"
11 #include "chrome/common/extensions/api/spellcheck/spellcheck_handler.h"
12 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h"
13 #include "chrome/common/extensions/api/system_indicator/system_indicator_handler.h"
14 #include "chrome/common/extensions/api/url_handlers/url_handlers_parser.h"
15 #include "chrome/common/extensions/chrome_manifest_url_handlers.h"
16 #include "chrome/common/extensions/manifest_handlers/app_icon_color_info.h"
17 #include "chrome/common/extensions/manifest_handlers/app_launch_info.h"
18 #include "chrome/common/extensions/manifest_handlers/automation.h"
19 #include "chrome/common/extensions/manifest_handlers/content_scripts_handler.h"
20 #include "chrome/common/extensions/manifest_handlers/copresence_manifest.h"
21 #include "chrome/common/extensions/manifest_handlers/extension_action_handler.h"
22 #include "chrome/common/extensions/manifest_handlers/linked_app_icons.h"
23 #include "chrome/common/extensions/manifest_handlers/minimum_chrome_version_checker.h"
24 #include "chrome/common/extensions/manifest_handlers/settings_overrides_handler.h"
25 #include "chrome/common/extensions/manifest_handlers/theme_handler.h"
26 #include "chrome/common/extensions/manifest_handlers/ui_overrides_handler.h"
27 #include "extensions/common/manifest_handlers/app_isolation_info.h"
28 #include "extensions/common/manifest_handlers/options_page_info.h"
29 #include "extensions/common/manifest_handlers/requirements_info.h"
30 #include "extensions/common/manifest_url_handlers.h"
32 #if defined(OS_CHROMEOS)
33 #include "chrome/common/extensions/api/file_browser_handlers/file_browser_handler.h"
34 #include "chrome/common/extensions/api/file_system_provider_capabilities/file_system_provider_capabilities_handler.h"
35 #include "chrome/common/extensions/api/input_ime/input_components_handler.h"
38 namespace extensions
{
40 void RegisterChromeManifestHandlers() {
41 DCHECK(!ManifestHandler::IsRegistrationFinalized());
42 (new AboutPageHandler
)->Register();
43 (new AppIconColorHandler
)->Register();
44 (new AppIsolationHandler
)->Register();
45 (new AppLaunchManifestHandler
)->Register();
46 (new AutomationHandler
)->Register();
47 (new CommandsHandler
)->Register();
48 (new ContentScriptsHandler
)->Register();
49 (new CopresenceManifestHandler
)->Register();
50 (new DevToolsPageHandler
)->Register();
51 (new ExtensionActionHandler
)->Register();
52 (new HomepageURLHandler
)->Register();
53 (new LinkedAppIconsHandler
)->Register();
54 (new MinimumChromeVersionChecker
)->Register();
55 (new OmniboxHandler
)->Register();
56 (new OptionsPageManifestHandler
)->Register();
57 (new PluginsHandler
)->Register();
58 (new RequirementsHandler
)->Register(); // Depends on plugins.
59 (new SettingsOverridesHandler
)->Register();
60 (new SpellcheckHandler
)->Register();
61 (new StorageSchemaManifestHandler
)->Register();
62 (new SystemIndicatorHandler
)->Register();
63 (new ThemeHandler
)->Register();
64 (new TtsEngineManifestHandler
)->Register();
65 (new UIOverridesHandler
)->Register();
66 (new UpdateURLHandler
)->Register();
67 (new UrlHandlersParser
)->Register();
68 (new URLOverridesHandler
)->Register();
69 #if defined(OS_CHROMEOS)
70 (new FileBrowserHandlerParser
)->Register();
71 (new FileSystemProviderCapabilitiesHandler
)->Register();
72 (new InputComponentsHandler
)->Register();
76 } // namespace extensions