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

Unified Diff: mandoline/ui/phone_ui/phone_browser_application_delegate.h

Issue 1674903003: Extract shell methods from ApplicationImpl into a base class, and pass this to Initialize() instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojom
Patch Set: . Created 4 years, 10 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: mandoline/ui/phone_ui/phone_browser_application_delegate.h
diff --git a/mandoline/ui/phone_ui/phone_browser_application_delegate.h b/mandoline/ui/phone_ui/phone_browser_application_delegate.h
index 6cb805f6f734691229dc29524828c5921b3cfe38..6d852577a3c504d38eb20633d3c15c9037726795 100644
--- a/mandoline/ui/phone_ui/phone_browser_application_delegate.h
+++ b/mandoline/ui/phone_ui/phone_browser_application_delegate.h
@@ -39,7 +39,8 @@ class PhoneBrowserApplicationDelegate
private:
// Overridden from mojo::ApplicationDelegate:
- void Initialize(mojo::ApplicationImpl* app) override;
+ void Initialize(mojo::Shell* shell, const std::string& url,
+ uint32_t id) override;
bool AcceptConnection(
mojo::ApplicationConnection* connection) override;
@@ -72,7 +73,7 @@ class PhoneBrowserApplicationDelegate
void Create(mojo::ApplicationConnection* connection,
mojo::InterfaceRequest<LaunchHandler> request) override;
- mojo::ApplicationImpl* app_;
+ mojo::Shell* shell_;
mus::mojom::WindowTreeHostPtr host_;
mus::Window* root_;
« no previous file with comments | « mandoline/ui/omnibox/omnibox_application.cc ('k') | mandoline/ui/phone_ui/phone_browser_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698