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

Unified Diff: mandoline/ui/browser/desktop/desktop_ui.cc

Issue 1121783003: Move navigations with POST or referrer to the shell. (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/browser/browser.cc ('k') | mandoline/ui/browser/navigator_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/ui/browser/desktop/desktop_ui.cc
diff --git a/mandoline/ui/browser/desktop/desktop_ui.cc b/mandoline/ui/browser/desktop/desktop_ui.cc
index a772060d42020553b75d37ce928ef3ccc04744bd..b454f213e4876653f181363d5437ff0f9b01a3f2 100644
--- a/mandoline/ui/browser/desktop/desktop_ui.cc
+++ b/mandoline/ui/browser/desktop/desktop_ui.cc
@@ -91,7 +91,9 @@ void DesktopUI::Layout(views::View* host) {
void DesktopUI::ButtonPressed(views::Button* sender, const ui::Event& event) {
if (!omnibox_.get()) {
DCHECK(!client_binding_.is_bound());
- application_impl_->ConnectToService("mojo:omnibox", &omnibox_);
+ mojo::URLRequestPtr request(mojo::URLRequest::New());
+ request->url = mojo::String::From("mojo:omnibox");
+ application_impl_->ConnectToService(request.Pass(), &omnibox_);
OmniboxClientPtr client;
client_binding_.Bind(&client);
omnibox_->SetClient(client.Pass());
« no previous file with comments | « mandoline/ui/browser/browser.cc ('k') | mandoline/ui/browser/navigator_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698