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

Side by Side Diff: components/html_viewer/blink_platform_impl.h

Issue 1290323002: HTMLViewer no longer connects to NetworkService interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 4 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
« no previous file with comments | « no previous file | components/html_viewer/blink_platform_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/mock_web_blob_registry_impl.h" 12 #include "components/html_viewer/mock_web_blob_registry_impl.h"
13 #include "components/html_viewer/web_mime_registry_impl.h" 13 #include "components/html_viewer/web_mime_registry_impl.h"
14 #include "components/html_viewer/web_notification_manager_impl.h" 14 #include "components/html_viewer/web_notification_manager_impl.h"
15 #include "components/html_viewer/web_theme_engine_impl.h" 15 #include "components/html_viewer/web_theme_engine_impl.h"
16 #include "components/webcrypto/webcrypto_impl.h" 16 #include "components/webcrypto/webcrypto_impl.h"
17 #include "mojo/services/network/public/interfaces/network_service.mojom.h"
18 #include "mojo/services/network/public/interfaces/url_loader_factory.mojom.h" 17 #include "mojo/services/network/public/interfaces/url_loader_factory.mojom.h"
18 #include "mojo/services/network/public/interfaces/web_socket_factory.mojom.h"
19 #include "third_party/WebKit/public/platform/Platform.h" 19 #include "third_party/WebKit/public/platform/Platform.h"
20 #include "third_party/WebKit/public/platform/WebScrollbarBehavior.h" 20 #include "third_party/WebKit/public/platform/WebScrollbarBehavior.h"
21 21
22 namespace scheduler { 22 namespace scheduler {
23 class RendererScheduler; 23 class RendererScheduler;
24 class WebThreadImplForRendererScheduler; 24 class WebThreadImplForRendererScheduler;
25 } 25 }
26 26
27 namespace mojo { 27 namespace mojo {
28 class ApplicationImpl; 28 class ApplicationImpl;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; 91 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
92 scoped_ptr<scheduler::WebThreadImplForRendererScheduler> main_thread_; 92 scoped_ptr<scheduler::WebThreadImplForRendererScheduler> main_thread_;
93 base::ThreadLocalStorage::Slot current_thread_slot_; 93 base::ThreadLocalStorage::Slot current_thread_slot_;
94 cc_blink::WebCompositorSupportImpl compositor_support_; 94 cc_blink::WebCompositorSupportImpl compositor_support_;
95 WebThemeEngineImpl theme_engine_; 95 WebThemeEngineImpl theme_engine_;
96 WebMimeRegistryImpl mime_registry_; 96 WebMimeRegistryImpl mime_registry_;
97 webcrypto::WebCryptoImpl web_crypto_; 97 webcrypto::WebCryptoImpl web_crypto_;
98 WebNotificationManagerImpl web_notification_manager_; 98 WebNotificationManagerImpl web_notification_manager_;
99 blink::WebScrollbarBehavior scrollbar_behavior_; 99 blink::WebScrollbarBehavior scrollbar_behavior_;
100 mojo::NetworkServicePtr network_service_; 100 mojo::WebSocketFactoryPtr web_socket_factory_;
101 mojo::URLLoaderFactoryPtr url_loader_factory_; 101 mojo::URLLoaderFactoryPtr url_loader_factory_;
102 MockWebBlobRegistryImpl blob_registry_; 102 MockWebBlobRegistryImpl blob_registry_;
103 scoped_ptr<WebCookieJarImpl> cookie_jar_; 103 scoped_ptr<WebCookieJarImpl> cookie_jar_;
104 scoped_ptr<WebClipboardImpl> clipboard_; 104 scoped_ptr<WebClipboardImpl> clipboard_;
105 105
106 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl); 106 DISALLOW_COPY_AND_ASSIGN(BlinkPlatformImpl);
107 }; 107 };
108 108
109 } // namespace html_viewer 109 } // namespace html_viewer
110 110
111 #endif // COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_ 111 #endif // COMPONENTS_HTML_VIEWER_BLINK_PLATFORM_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | components/html_viewer/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698