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

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

Issue 1684783002: Rename ServiceProvider to InterfaceProvider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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 17 matching lines...) Expand all
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/render_frame_proxy.h" 32 #include "content/renderer/render_frame_proxy.h"
33 #include "content/renderer/renderer_webcookiejar_impl.h" 33 #include "content/renderer/renderer_webcookiejar_impl.h"
34 #include "ipc/ipc_message.h" 34 #include "ipc/ipc_message.h"
35 #include "ipc/ipc_platform_file.h" 35 #include "ipc/ipc_platform_file.h"
36 #include "media/blink/webmediaplayer_delegate.h" 36 #include "media/blink/webmediaplayer_delegate.h"
37 #include "media/blink/webmediaplayer_params.h" 37 #include "media/blink/webmediaplayer_params.h"
38 #include "mojo/shell/public/interfaces/service_provider.mojom.h" 38 #include "mojo/shell/public/interfaces/interface_provider.mojom.h"
39 #include "mojo/shell/public/interfaces/shell.mojom.h" 39 #include "mojo/shell/public/interfaces/shell.mojom.h"
40 #include "third_party/WebKit/public/platform/WebFocusType.h" 40 #include "third_party/WebKit/public/platform/WebFocusType.h"
41 #include "third_party/WebKit/public/platform/WebMediaPlayer.h" 41 #include "third_party/WebKit/public/platform/WebMediaPlayer.h"
42 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie nt.h" 42 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie nt.h"
43 #include "third_party/WebKit/public/web/WebAXObject.h" 43 #include "third_party/WebKit/public/web/WebAXObject.h"
44 #include "third_party/WebKit/public/web/WebDataSource.h" 44 #include "third_party/WebKit/public/web/WebDataSource.h"
45 #include "third_party/WebKit/public/web/WebFrameClient.h" 45 #include "third_party/WebKit/public/web/WebFrameClient.h"
46 #include "third_party/WebKit/public/web/WebFrameLoadType.h" 46 #include "third_party/WebKit/public/web/WebFrameLoadType.h"
47 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" 47 #include "third_party/WebKit/public/web/WebFrameOwnerProperties.h"
48 #include "third_party/WebKit/public/web/WebFrameSerializerClient.h" 48 #include "third_party/WebKit/public/web/WebFrameSerializerClient.h"
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
628 const blink::WebCString& data, 628 const blink::WebCString& data,
629 blink::WebFrameSerializerClient::FrameSerializationStatus status) 629 blink::WebFrameSerializerClient::FrameSerializationStatus status)
630 override; 630 override;
631 631
632 // Make this frame show an empty, unscriptable page. 632 // Make this frame show an empty, unscriptable page.
633 // TODO(nasko): Remove this method once swapped out state is no longer used. 633 // TODO(nasko): Remove this method once swapped out state is no longer used.
634 void NavigateToSwappedOutURL(); 634 void NavigateToSwappedOutURL();
635 635
636 // Binds this render frame's service registry. 636 // Binds this render frame's service registry.
637 void BindServiceRegistry( 637 void BindServiceRegistry(
638 mojo::InterfaceRequest<mojo::ServiceProvider> services, 638 mojo::InterfaceRequest<mojo::InterfaceProvider> services,
639 mojo::ServiceProviderPtr exposed_services); 639 mojo::InterfaceProviderPtr exposed_services);
640 640
641 ManifestManager* manifest_manager(); 641 ManifestManager* manifest_manager();
642 642
643 // TODO(creis): Remove when the only caller, the HistoryController, is no 643 // TODO(creis): Remove when the only caller, the HistoryController, is no
644 // more. 644 // more.
645 void SetPendingNavigationParams( 645 void SetPendingNavigationParams(
646 scoped_ptr<NavigationParams> navigation_params); 646 scoped_ptr<NavigationParams> navigation_params);
647 647
648 media::MediaPermission* GetMediaPermission(); 648 media::MediaPermission* GetMediaPermission();
649 649
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 media::CdmFactory* GetCdmFactory(); 958 media::CdmFactory* GetCdmFactory();
959 959
960 void RegisterMojoServices(); 960 void RegisterMojoServices();
961 961
962 // Connect to an interface provided by the service registry. 962 // Connect to an interface provided by the service registry.
963 template <typename Interface> 963 template <typename Interface>
964 void ConnectToService(mojo::InterfaceRequest<Interface> request); 964 void ConnectToService(mojo::InterfaceRequest<Interface> request);
965 965
966 // Connects to a Mojo application and returns a proxy to its exposed 966 // Connects to a Mojo application and returns a proxy to its exposed
967 // ServiceProvider. 967 // ServiceProvider.
968 mojo::ServiceProviderPtr ConnectToApplication(const GURL& url); 968 mojo::InterfaceProviderPtr ConnectToApplication(const GURL& url);
969 969
970 // Returns the media delegate for WebMediaPlayer usage. If 970 // Returns the media delegate for WebMediaPlayer usage. If
971 // |media_player_delegate_| is NULL, one is created. 971 // |media_player_delegate_| is NULL, one is created.
972 media::RendererWebMediaPlayerDelegate* GetWebMediaPlayerDelegate(); 972 media::RendererWebMediaPlayerDelegate* GetWebMediaPlayerDelegate();
973 973
974 // Called to get the WebPlugin to handle find requests in the document. 974 // Called to get the WebPlugin to handle find requests in the document.
975 // Returns nullptr if there is no such WebPlugin. 975 // Returns nullptr if there is no such WebPlugin.
976 blink::WebPlugin* GetWebPluginForFind(); 976 blink::WebPlugin* GetWebPluginForFind();
977 977
978 // Sends a reply to the current find operation handling if it was a 978 // Sends a reply to the current find operation handling if it was a
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
1207 #endif 1207 #endif
1208 1208
1209 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1209 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1210 1210
1211 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1211 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1212 }; 1212 };
1213 1213
1214 } // namespace content 1214 } // namespace content
1215 1215
1216 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1216 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/service_worker/embedded_worker_setup.mojom ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698