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

Unified Diff: components/view_manager/public/cpp/lib/view_manager_delegate.cc

Issue 1166123005: Removes ServiceProviders from ViewManager::Embed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use is_headless rather than check for browser. Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: components/view_manager/public/cpp/lib/view_manager_delegate.cc
diff --git a/components/view_manager/public/cpp/lib/view_manager_delegate.cc b/components/view_manager/public/cpp/lib/view_manager_delegate.cc
index 4c5c2becf1fcbe611bdfc0cc062c32b7aa6241c6..f91ce624214ea5cdf51bffed62b3908c1efa3811 100644
--- a/components/view_manager/public/cpp/lib/view_manager_delegate.cc
+++ b/components/view_manager/public/cpp/lib/view_manager_delegate.cc
@@ -6,11 +6,10 @@
namespace mojo {
-bool ViewManagerDelegate::OnWillEmbed(
+void ViewManagerDelegate::OnEmbedForDescendant(
View* view,
- InterfaceRequest<ServiceProvider>* services,
- ServiceProviderPtr* exposed_services) {
- return true;
+ mojo::URLRequestPtr request,
+ mojo::ViewManagerClientPtr* client) {
}
} // namespace mojo
« no previous file with comments | « components/view_manager/public/cpp/lib/view_manager_client_impl.cc ('k') | components/view_manager/public/cpp/view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698