| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ |
| 6 #define COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ | 6 #define COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/threading/thread_local_storage.h" | 9 #include "base/threading/thread_local_storage.h" |
| 10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
| 11 #include "cc/blink/web_compositor_support_impl.h" | 11 #include "cc/blink/web_compositor_support_impl.h" |
| 12 #include "components/html_viewer/blink_resource_map.h" | 12 #include "components/html_viewer/blink_resource_map.h" |
| 13 #include "components/html_viewer/mock_web_blob_registry_impl.h" | 13 #include "components/html_viewer/mock_web_blob_registry_impl.h" |
| 14 #include "components/html_viewer/web_mime_registry_impl.h" | 14 #include "components/html_viewer/web_mime_registry_impl.h" |
| 15 #include "components/html_viewer/web_notification_manager_impl.h" | 15 #include "components/html_viewer/web_notification_manager_impl.h" |
| 16 #include "components/html_viewer/web_theme_engine_impl.h" | 16 #include "components/html_viewer/web_theme_engine_impl.h" |
| 17 #include "components/webcrypto/webcrypto_impl.h" | 17 #include "components/webcrypto/webcrypto_impl.h" |
| 18 #include "mojo/services/network/public/interfaces/network_service.mojom.h" | 18 #include "mojo/services/network/public/interfaces/network_service.mojom.h" |
| 19 #include "mojo/services/network/public/interfaces/url_loader_factory.mojom.h" |
| 19 #include "third_party/WebKit/public/platform/Platform.h" | 20 #include "third_party/WebKit/public/platform/Platform.h" |
| 20 #include "third_party/WebKit/public/platform/WebScrollbarBehavior.h" | 21 #include "third_party/WebKit/public/platform/WebScrollbarBehavior.h" |
| 21 | 22 |
| 22 namespace scheduler { | 23 namespace scheduler { |
| 23 class RendererScheduler; | 24 class RendererScheduler; |
| 24 class WebThreadImplForRendererScheduler; | 25 class WebThreadImplForRendererScheduler; |
| 25 } | 26 } |
| 26 | 27 |
| 27 namespace mojo { | 28 namespace mojo { |
| 28 class ApplicationImpl; | 29 class ApplicationImpl; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 int shared_timer_suspended_; // counter | 105 int shared_timer_suspended_; // counter |
| 105 base::ThreadLocalStorage::Slot current_thread_slot_; | 106 base::ThreadLocalStorage::Slot current_thread_slot_; |
| 106 cc_blink::WebCompositorSupportImpl compositor_support_; | 107 cc_blink::WebCompositorSupportImpl compositor_support_; |
| 107 WebThemeEngineImpl theme_engine_; | 108 WebThemeEngineImpl theme_engine_; |
| 108 WebMimeRegistryImpl mime_registry_; | 109 WebMimeRegistryImpl mime_registry_; |
| 109 webcrypto::WebCryptoImpl web_crypto_; | 110 webcrypto::WebCryptoImpl web_crypto_; |
| 110 WebNotificationManagerImpl web_notification_manager_; | 111 WebNotificationManagerImpl web_notification_manager_; |
| 111 blink::WebScrollbarBehavior scrollbar_behavior_; | 112 blink::WebScrollbarBehavior scrollbar_behavior_; |
| 112 BlinkResourceMap blink_resource_map_; | 113 BlinkResourceMap blink_resource_map_; |
| 113 mojo::NetworkServicePtr network_service_; | 114 mojo::NetworkServicePtr network_service_; |
| 115 mojo::URLLoaderFactoryPtr url_loader_factory_; |
| 114 MockWebBlobRegistryImpl blob_registry_; | 116 MockWebBlobRegistryImpl blob_registry_; |
| 115 scoped_ptr<WebCookieJarImpl> cookie_jar_; | 117 scoped_ptr<WebCookieJarImpl> cookie_jar_; |
| 116 scoped_ptr<WebClipboardImpl> clipboard_; | 118 scoped_ptr<WebClipboardImpl> clipboard_; |
| 117 | 119 |
| 118 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl); | 120 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl); |
| 119 }; | 121 }; |
| 120 | 122 |
| 121 } // namespace html_viewer | 123 } // namespace html_viewer |
| 122 | 124 |
| 123 #endif // COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ | 125 #endif // COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |