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

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

Issue 1686223002: Move InterfaceProvider into the shell::mojom namespace like the rest of the shell interfaces. (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 617 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::InterfaceProvider> services, 638 mojo::shell::mojom::InterfaceProviderRequest services,
639 mojo::InterfaceProviderPtr exposed_services); 639 mojo::shell::mojom::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 GetInterface(mojo::InterfaceRequest<Interface> request); 964 void GetInterface(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::InterfaceProviderPtr ConnectToApplication(const GURL& url); 968 mojo::shell::mojom::InterfaceProviderPtr ConnectToApplication(
969 const GURL& url);
969 970
970 // Returns the media delegate for WebMediaPlayer usage. If 971 // Returns the media delegate for WebMediaPlayer usage. If
971 // |media_player_delegate_| is NULL, one is created. 972 // |media_player_delegate_| is NULL, one is created.
972 media::RendererWebMediaPlayerDelegate* GetWebMediaPlayerDelegate(); 973 media::RendererWebMediaPlayerDelegate* GetWebMediaPlayerDelegate();
973 974
974 // Called to get the WebPlugin to handle find requests in the document. 975 // Called to get the WebPlugin to handle find requests in the document.
975 // Returns nullptr if there is no such WebPlugin. 976 // Returns nullptr if there is no such WebPlugin.
976 blink::WebPlugin* GetWebPluginForFind(); 977 blink::WebPlugin* GetWebPluginForFind();
977 978
978 // Sends a reply to the current find operation handling if it was a 979 // 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 1208 #endif
1208 1209
1209 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1210 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1210 1211
1211 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1212 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1212 }; 1213 };
1213 1214
1214 } // namespace content 1215 } // namespace content
1215 1216
1216 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1217 #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