| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 "ModulesInitializer.h" | 5 #include "ModulesInitializer.h" |
| 6 | 6 |
| 7 #include "bindings/modules/v8/ModuleBindingsInitializer.h" | 7 #include "bindings/modules/v8/ModuleBindingsInitializer.h" |
| 8 #include "core/EventTypeNames.h" | 8 #include "core/EventTypeNames.h" |
| 9 #include "core/css/CSSPaintImageGenerator.h" | 9 #include "core/css/CSSPaintImageGenerator.h" |
| 10 #include "core/dom/Document.h" | 10 #include "core/dom/Document.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "modules/filesystem/DraggedIsolatedFileSystemImpl.h" | 25 #include "modules/filesystem/DraggedIsolatedFileSystemImpl.h" |
| 26 #include "modules/imagebitmap/ImageBitmapRenderingContext.h" | 26 #include "modules/imagebitmap/ImageBitmapRenderingContext.h" |
| 27 #include "modules/installation/InstallationServiceImpl.h" | 27 #include "modules/installation/InstallationServiceImpl.h" |
| 28 #include "modules/media_controls/MediaControlsImpl.h" | 28 #include "modules/media_controls/MediaControlsImpl.h" |
| 29 #include "modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h" | 29 #include "modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h" |
| 30 #include "modules/time_zone_monitor/TimeZoneMonitorClient.h" | 30 #include "modules/time_zone_monitor/TimeZoneMonitorClient.h" |
| 31 #include "modules/webdatabase/DatabaseManager.h" | 31 #include "modules/webdatabase/DatabaseManager.h" |
| 32 #include "modules/webgl/WebGL2RenderingContext.h" | 32 #include "modules/webgl/WebGL2RenderingContext.h" |
| 33 #include "modules/webgl/WebGLRenderingContext.h" | 33 #include "modules/webgl/WebGLRenderingContext.h" |
| 34 #include "platform/mojo/MojoHelper.h" | 34 #include "platform/mojo/MojoHelper.h" |
| 35 #include "platform/wtf/PtrUtil.h" |
| 35 #include "public/platform/InterfaceRegistry.h" | 36 #include "public/platform/InterfaceRegistry.h" |
| 36 #include "wtf/PtrUtil.h" | |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 void ModulesInitializer::Initialize() { | 40 void ModulesInitializer::Initialize() { |
| 41 ASSERT(!IsInitialized()); | 41 ASSERT(!IsInitialized()); |
| 42 | 42 |
| 43 // Strings must be initialized before calling CoreInitializer::init(). | 43 // Strings must be initialized before calling CoreInitializer::init(). |
| 44 const unsigned kModulesStaticStringsCount = | 44 const unsigned kModulesStaticStringsCount = |
| 45 EventNames::EventModulesNamesCount + | 45 EventNames::EventModulesNamesCount + |
| 46 EventTargetNames::EventTargetModulesNamesCount + | 46 EventTargetNames::EventTargetModulesNamesCount + |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 &AppBannerController::BindMojoRequest, WrapWeakPersistent(frame))); | 97 &AppBannerController::BindMojoRequest, WrapWeakPersistent(frame))); |
| 98 }); | 98 }); |
| 99 | 99 |
| 100 HTMLMediaElement::RegisterMediaControlsFactory( | 100 HTMLMediaElement::RegisterMediaControlsFactory( |
| 101 WTF::MakeUnique<MediaControlsImpl::Factory>()); | 101 WTF::MakeUnique<MediaControlsImpl::Factory>()); |
| 102 | 102 |
| 103 ASSERT(IsInitialized()); | 103 ASSERT(IsInitialized()); |
| 104 } | 104 } |
| 105 | 105 |
| 106 } // namespace blink | 106 } // namespace blink |
| OLD | NEW |