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

Side by Side Diff: mash/example/views_examples/views_examples_application_delegate.h

Issue 2182643003: Remove shell::Connection* parameter to InterfaceFactory<T>::Create() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 MASH_EXAMPLE_VIEWS_EXAMPLES_APPLICATION_DELEGATE_H_ 5 #ifndef MASH_EXAMPLE_VIEWS_EXAMPLES_APPLICATION_DELEGATE_H_
6 #define MASH_EXAMPLE_VIEWS_EXAMPLES_APPLICATION_DELEGATE_H_ 6 #define MASH_EXAMPLE_VIEWS_EXAMPLES_APPLICATION_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 19 matching lines...) Expand all
30 // shell::Service: 30 // shell::Service:
31 void OnStart(shell::Connector* connector, 31 void OnStart(shell::Connector* connector,
32 const shell::Identity& identity, 32 const shell::Identity& identity,
33 uint32_t id) override; 33 uint32_t id) override;
34 bool OnConnect(shell::Connection* connection) override; 34 bool OnConnect(shell::Connection* connection) override;
35 35
36 // mash::mojom::Launchable: 36 // mash::mojom::Launchable:
37 void Launch(uint32_t what, mash::mojom::LaunchMode how) override; 37 void Launch(uint32_t what, mash::mojom::LaunchMode how) override;
38 38
39 // shell::InterfaceFactory<mash::mojom::Launchable>: 39 // shell::InterfaceFactory<mash::mojom::Launchable>:
40 void Create(shell::Connection* connection, 40 void Create(const shell::Identity& remote_identity,
41 mash::mojom::LaunchableRequest request) override; 41 mash::mojom::LaunchableRequest request) override;
42 42
43 mojo::BindingSet<mash::mojom::Launchable> bindings_; 43 mojo::BindingSet<mash::mojom::Launchable> bindings_;
44 44
45 mojo::TracingImpl tracing_; 45 mojo::TracingImpl tracing_;
46 std::unique_ptr<views::AuraInit> aura_init_; 46 std::unique_ptr<views::AuraInit> aura_init_;
47 std::unique_ptr<views::WindowManagerConnection> window_manager_connection_; 47 std::unique_ptr<views::WindowManagerConnection> window_manager_connection_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(ViewsExamplesApplicationDelegate); 49 DISALLOW_COPY_AND_ASSIGN(ViewsExamplesApplicationDelegate);
50 }; 50 };
51 51
52 #endif // MASH_EXAMPLE_VIEWS_EXAMPLES_APPLICATION_DELEGATE_H_ 52 #endif // MASH_EXAMPLE_VIEWS_EXAMPLES_APPLICATION_DELEGATE_H_
OLDNEW
« no previous file with comments | « mash/catalog_viewer/catalog_viewer.cc ('k') | mash/example/views_examples/views_examples_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698