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

Unified Diff: components/view_manager/public/cpp/lib/view.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.cc
diff --git a/components/view_manager/public/cpp/lib/view.cc b/components/view_manager/public/cpp/lib/view.cc
index 3497dfaea9341b0f48f4754f957951dbc2c75259..dc4d5e8e21d74a8d6381daf5f3726b2dc00a5234 100644
--- a/components/view_manager/public/cpp/lib/view.cc
+++ b/components/view_manager/public/cpp/lib/view.cc
@@ -366,20 +366,6 @@ void View::SetFocus() {
static_cast<ViewManagerClientImpl*>(manager_)->SetFocus(id_);
}
-void View::Embed(const String& url) {
- if (PrepareForEmbed())
- static_cast<ViewManagerClientImpl*>(manager_)->Embed(url, id_);
-}
-
-void View::Embed(mojo::URLRequestPtr request,
- InterfaceRequest<ServiceProvider> services,
- ServiceProviderPtr exposed_services) {
- if (PrepareForEmbed()) {
- static_cast<ViewManagerClientImpl*>(manager_)
- ->Embed(request.Pass(), id_, services.Pass(), exposed_services.Pass());
- }
-}
-
void View::Embed(ViewManagerClientPtr client) {
if (PrepareForEmbed())
static_cast<ViewManagerClientImpl*>(manager_)->Embed(id_, client.Pass());
« no previous file with comments | « components/view_manager/public/cpp/BUILD.gn ('k') | components/view_manager/public/cpp/lib/view_manager_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698