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

Unified Diff: mandoline/ui/browser/browser.h

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/DEPS ('k') | mandoline/ui/browser/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/ui/browser/browser.h
diff --git a/mandoline/ui/browser/browser.h b/mandoline/ui/browser/browser.h
index 0cb7612788a58d0eff2434733d81d608812551e3..fe50a67d6a01e0a0058f18e772c73be9b01fd6a9 100644
--- a/mandoline/ui/browser/browser.h
+++ b/mandoline/ui/browser/browser.h
@@ -40,7 +40,7 @@ class Browser : public mojo::ApplicationDelegate,
Browser();
~Browser() override;
- void ReplaceContentWithURL(const mojo::String& url);
+ void ReplaceContentWithRequest(mojo::URLRequestPtr request);
mojo::View* content() { return content_; }
mojo::View* omnibox() { return omnibox_; }
@@ -68,7 +68,7 @@ class Browser : public mojo::ApplicationDelegate,
void OpenURL(const mojo::String& url) override;
// Overridden from ViewEmbedder:
- void Embed(const mojo::String& url,
+ void Embed(mojo::URLRequestPtr request,
mojo::InterfaceRequest<mojo::ServiceProvider> services,
mojo::ServiceProviderPtr exposed_services) override;
@@ -80,7 +80,7 @@ class Browser : public mojo::ApplicationDelegate,
void Create(mojo::ApplicationConnection* connection,
mojo::InterfaceRequest<ViewEmbedder> request) override;
- void ShowOmnibox(const mojo::String& url,
+ void ShowOmnibox(mojo::URLRequestPtr request,
mojo::InterfaceRequest<mojo::ServiceProvider> services,
mojo::ServiceProviderPtr exposed_services);
@@ -92,7 +92,7 @@ class Browser : public mojo::ApplicationDelegate,
mojo::View* content_;
mojo::View* omnibox_;
std::string default_url_;
- std::string pending_url_;
+ mojo::URLRequestPtr pending_request_;
mojo::ServiceProviderImpl exposed_services_impl_;
scoped_ptr<MergedServiceProvider> merged_service_provider_;
« no previous file with comments | « mandoline/ui/browser/DEPS ('k') | mandoline/ui/browser/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698