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

Unified Diff: mandoline/ui/omnibox/omnibox_impl.cc

Issue 1138073007: Nukes the windowmanager interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 7 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
« no previous file with comments | « mandoline/ui/omnibox/DEPS ('k') | mojo/tools/data/apptests » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/ui/omnibox/omnibox_impl.cc
diff --git a/mandoline/ui/omnibox/omnibox_impl.cc b/mandoline/ui/omnibox/omnibox_impl.cc
index 2cf054b87483e96991ac1186fab8d517327f19ff..e41149d493e5f6676b5bd1285c29e701dce9a505 100644
--- a/mandoline/ui/omnibox/omnibox_impl.cc
+++ b/mandoline/ui/omnibox/omnibox_impl.cc
@@ -6,7 +6,6 @@
#include "base/strings/string16.h"
#include "components/view_manager/public/cpp/view_manager_client_factory.h"
-#include "components/window_manager/public/interfaces/window_manager.mojom.h"
#include "mandoline/ui/aura/aura_init.h"
#include "mandoline/ui/aura/native_widget_view_manager.h"
#include "mojo/application/public/cpp/application_impl.h"
@@ -130,9 +129,7 @@ void OmniboxImpl::SetClient(OmniboxClientPtr client) {
void OmniboxImpl::ShowForURL(const mojo::String& url) {
url_ = url;
- mojo::WindowManagerPtr window_manager;
- app_impl_->ConnectToService("mojo:window_manager", &window_manager);
- window_manager->Embed("mojo:omnibox", nullptr, nullptr);
+ // TODO: get embedding working.
}
} // namespace mandoline
« no previous file with comments | « mandoline/ui/omnibox/DEPS ('k') | mojo/tools/data/apptests » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698