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

Unified Diff: mojo/public/shell/application.h

Issue 162213002: Change mojo demo apps to use Application. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add shell() to ServiceFactory::Owner Created 6 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
« no previous file with comments | « mojo/examples/view_manager/view_manager.cc ('k') | mojo/public/shell/lib/application.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/shell/application.h
diff --git a/mojo/public/shell/application.h b/mojo/public/shell/application.h
index 57bd2fdb015045331805c8915e215057ce8b3d5f..34aac68fb8310710a26b138a904c805290fc1f99 100644
--- a/mojo/public/shell/application.h
+++ b/mojo/public/shell/application.h
@@ -14,15 +14,13 @@
namespace mojo {
-class Application : public internal::ServiceFactoryBase::Owner,
- public ShellClient {
+class Application : public internal::ServiceFactoryBase::Owner {
public:
explicit Application(ScopedShellHandle shell_handle);
explicit Application(MojoHandle shell_handle);
virtual ~Application();
// internal::ServiceFactoryBase::Owner methods.
- virtual Shell* GetShell() MOJO_OVERRIDE;
// Takes ownership of |service_factory|.
virtual void AddServiceFactory(internal::ServiceFactoryBase* service_factory)
MOJO_OVERRIDE;
@@ -38,7 +36,6 @@ class Application : public internal::ServiceFactoryBase::Owner,
private:
typedef std::vector<internal::ServiceFactoryBase*> ServiceFactoryList;
ServiceFactoryList service_factories_;
- RemotePtr<Shell> shell_;
};
} // namespace mojo
« no previous file with comments | « mojo/examples/view_manager/view_manager.cc ('k') | mojo/public/shell/lib/application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698