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

Side by Side Diff: mojo/shell/view_manager_loader.h

Issue 741453002: Make sure that Content Handled application can be connected multiple times. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix sky Created 6 years 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 unified diff | Download patch
« no previous file with comments | « mojo/shell/ui_application_loader_android.cc ('k') | mojo/shell/view_manager_loader.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_SHELL_VIEW_MANAGER_LOADER_H_ 5 #ifndef MOJO_SHELL_VIEW_MANAGER_LOADER_H_
6 #define MOJO_SHELL_VIEW_MANAGER_LOADER_H_ 6 #define MOJO_SHELL_VIEW_MANAGER_LOADER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 14 matching lines...) Expand all
25 public ApplicationDelegate, 25 public ApplicationDelegate,
26 public InterfaceFactory<ViewManagerInitService> { 26 public InterfaceFactory<ViewManagerInitService> {
27 public: 27 public:
28 ViewManagerLoader(); 28 ViewManagerLoader();
29 virtual ~ViewManagerLoader(); 29 virtual ~ViewManagerLoader();
30 30
31 private: 31 private:
32 // ApplicationLoader overrides: 32 // ApplicationLoader overrides:
33 virtual void Load(ApplicationManager* manager, 33 virtual void Load(ApplicationManager* manager,
34 const GURL& url, 34 const GURL& url,
35 scoped_refptr<LoadCallbacks> callbacks) override; 35 LoadCallback callback) override;
36 virtual void OnApplicationError(ApplicationManager* manager, 36 virtual void OnApplicationError(ApplicationManager* manager,
37 const GURL& url) override; 37 const GURL& url) override;
38 38
39 // ApplicationDelegate overrides. 39 // ApplicationDelegate overrides.
40 virtual bool ConfigureIncomingConnection( 40 virtual bool ConfigureIncomingConnection(
41 mojo::ApplicationConnection* connection) override; 41 mojo::ApplicationConnection* connection) override;
42 42
43 // InterfaceFactory<ViewManagerInitService> overrides. 43 // InterfaceFactory<ViewManagerInitService> overrides.
44 virtual void Create( 44 virtual void Create(
45 ApplicationConnection* connection, 45 ApplicationConnection* connection,
46 InterfaceRequest<ViewManagerInitService> request) override; 46 InterfaceRequest<ViewManagerInitService> request) override;
47 47
48 ScopedVector<Application> apps_; 48 ScopedVector<Application> apps_;
49 service::ViewManagerInitServiceContext context_; 49 service::ViewManagerInitServiceContext context_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(ViewManagerLoader); 51 DISALLOW_COPY_AND_ASSIGN(ViewManagerLoader);
52 }; 52 };
53 53
54 } // namespace shell 54 } // namespace shell
55 } // namespace mojo 55 } // namespace mojo
56 56
57 #endif // MOJO_SHELL_VIEW_MANAGER_LOADER_H_ 57 #endif // MOJO_SHELL_VIEW_MANAGER_LOADER_H_
OLDNEW
« no previous file with comments | « mojo/shell/ui_application_loader_android.cc ('k') | mojo/shell/view_manager_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698