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

Side by Side Diff: mash/example/window_type_launcher/window_type_launcher.h

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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_WINDOW_TYPE_LAUNCHER_WINDOW_TYPE_LAUNCHER_H_ 5 #ifndef MASH_EXAMPLE_WINDOW_TYPE_LAUNCHER_WINDOW_TYPE_LAUNCHER_H_
6 #define MASH_EXAMPLE_WINDOW_TYPE_LAUNCHER_WINDOW_TYPE_LAUNCHER_H_ 6 #define MASH_EXAMPLE_WINDOW_TYPE_LAUNCHER_WINDOW_TYPE_LAUNCHER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "mash/public/interfaces/launchable.mojom.h" 11 #include "mash/public/interfaces/launchable.mojom.h"
12 #include "mojo/public/cpp/bindings/binding_set.h" 12 #include "mojo/public/cpp/bindings/binding_set.h"
13 #include "services/shell/public/cpp/service.h" 13 #include "services/service_manager/public/cpp/service.h"
14 14
15 namespace views { 15 namespace views {
16 class AuraInit; 16 class AuraInit;
17 class Widget; 17 class Widget;
18 class WindowManagerConnection; 18 class WindowManagerConnection;
19 } 19 }
20 20
21 class WindowTypeLauncher 21 class WindowTypeLauncher
22 : public shell::Service, 22 : public shell::Service,
23 public mash::mojom::Launchable, 23 public mash::mojom::Launchable,
(...skipping 20 matching lines...) Expand all
44 mojo::BindingSet<mash::mojom::Launchable> bindings_; 44 mojo::BindingSet<mash::mojom::Launchable> bindings_;
45 std::vector<views::Widget*> windows_; 45 std::vector<views::Widget*> windows_;
46 46
47 std::unique_ptr<views::AuraInit> aura_init_; 47 std::unique_ptr<views::AuraInit> aura_init_;
48 std::unique_ptr<views::WindowManagerConnection> window_manager_connection_; 48 std::unique_ptr<views::WindowManagerConnection> window_manager_connection_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(WindowTypeLauncher); 50 DISALLOW_COPY_AND_ASSIGN(WindowTypeLauncher);
51 }; 51 };
52 52
53 #endif // MASH_EXAMPLE_WINDOW_TYPE_LAUNCHER_WINDOW_TYPE_LAUNCHER_H_ 53 #endif // MASH_EXAMPLE_WINDOW_TYPE_LAUNCHER_WINDOW_TYPE_LAUNCHER_H_
OLDNEW
« no previous file with comments | « mash/example/window_type_launcher/BUILD.gn ('k') | mash/example/window_type_launcher/window_type_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698