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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 1830883002: Add blink::ServiceRegistry and expose it from LocalFrame and Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 11 matching lines...) Expand all
22 #include "base/process/process_handle.h" 22 #include "base/process/process_handle.h"
23 #include "build/build_config.h" 23 #include "build/build_config.h"
24 #include "content/common/accessibility_mode_enums.h" 24 #include "content/common/accessibility_mode_enums.h"
25 #include "content/common/frame_message_enums.h" 25 #include "content/common/frame_message_enums.h"
26 #include "content/common/mojo/service_registry_impl.h" 26 #include "content/common/mojo/service_registry_impl.h"
27 #include "content/public/common/console_message_level.h" 27 #include "content/public/common/console_message_level.h"
28 #include "content/public/common/javascript_message_type.h" 28 #include "content/public/common/javascript_message_type.h"
29 #include "content/public/common/referrer.h" 29 #include "content/public/common/referrer.h"
30 #include "content/public/common/stop_find_action.h" 30 #include "content/public/common/stop_find_action.h"
31 #include "content/public/renderer/render_frame.h" 31 #include "content/public/renderer/render_frame.h"
32 #include "content/renderer/mojo/blink_service_registry_wrapper.h"
32 #include "content/renderer/render_frame_proxy.h" 33 #include "content/renderer/render_frame_proxy.h"
33 #include "content/renderer/renderer_webcookiejar_impl.h" 34 #include "content/renderer/renderer_webcookiejar_impl.h"
34 #include "ipc/ipc_message.h" 35 #include "ipc/ipc_message.h"
35 #include "ipc/ipc_platform_file.h" 36 #include "ipc/ipc_platform_file.h"
36 #include "media/blink/webmediaplayer_delegate.h" 37 #include "media/blink/webmediaplayer_delegate.h"
37 #include "media/blink/webmediaplayer_params.h" 38 #include "media/blink/webmediaplayer_params.h"
38 #include "mojo/shell/public/interfaces/connector.mojom.h" 39 #include "mojo/shell/public/interfaces/connector.mojom.h"
39 #include "mojo/shell/public/interfaces/interface_provider.mojom.h" 40 #include "mojo/shell/public/interfaces/interface_provider.mojom.h"
40 #include "third_party/WebKit/public/platform/WebFocusType.h" 41 #include "third_party/WebKit/public/platform/WebFocusType.h"
41 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" 42 #include "third_party/WebKit/public/platform/WebMediaPlayer.h"
(...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after
1149 GeolocationDispatcher* geolocation_dispatcher_; 1150 GeolocationDispatcher* geolocation_dispatcher_;
1150 1151
1151 // The push messaging dispatcher attached to this frame, lazily initialized. 1152 // The push messaging dispatcher attached to this frame, lazily initialized.
1152 PushMessagingDispatcher* push_messaging_dispatcher_; 1153 PushMessagingDispatcher* push_messaging_dispatcher_;
1153 1154
1154 // The presentation dispatcher implementation attached to this frame, lazily 1155 // The presentation dispatcher implementation attached to this frame, lazily
1155 // initialized. 1156 // initialized.
1156 PresentationDispatcher* presentation_dispatcher_; 1157 PresentationDispatcher* presentation_dispatcher_;
1157 1158
1158 ServiceRegistryImpl service_registry_; 1159 ServiceRegistryImpl service_registry_;
1160 BlinkServiceRegistryWrapper blink_service_registry_wrapper_;
1159 1161
1160 // The shell proxy used to connect to Mojo applications. 1162 // The shell proxy used to connect to Mojo applications.
1161 mojo::shell::mojom::ConnectorPtr connector_; 1163 mojo::shell::mojom::ConnectorPtr connector_;
1162 1164
1163 // The screen orientation dispatcher attached to the frame, lazily 1165 // The screen orientation dispatcher attached to the frame, lazily
1164 // initialized. 1166 // initialized.
1165 ScreenOrientationDispatcher* screen_orientation_dispatcher_; 1167 ScreenOrientationDispatcher* screen_orientation_dispatcher_;
1166 1168
1167 // The Manifest Manager handles the manifest requests from the browser 1169 // The Manifest Manager handles the manifest requests from the browser
1168 // process. 1170 // process.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1204 #endif 1206 #endif
1205 1207
1206 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1208 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1207 1209
1208 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1210 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1209 }; 1211 };
1210 1212
1211 } // namespace content 1213 } // namespace content
1212 1214
1213 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1215 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698