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

Side by Side Diff: mash/browser_driver/browser_driver_application_delegate.h

Issue 1810713002: Cascade shutdown of instances (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@55all_users
Patch Set: . Created 4 years, 9 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_BROWSER_DRIVER_BROWSER_DRIVER_APPLICATION_DELEGATE_H_ 5 #ifndef MASH_BROWSER_DRIVER_BROWSER_DRIVER_APPLICATION_DELEGATE_H_
6 #define MASH_BROWSER_DRIVER_BROWSER_DRIVER_APPLICATION_DELEGATE_H_ 6 #define MASH_BROWSER_DRIVER_BROWSER_DRIVER_APPLICATION_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 12 matching lines...) Expand all
23 public mus::mojom::AcceleratorHandler { 23 public mus::mojom::AcceleratorHandler {
24 public: 24 public:
25 BrowserDriverApplicationDelegate(); 25 BrowserDriverApplicationDelegate();
26 ~BrowserDriverApplicationDelegate() override; 26 ~BrowserDriverApplicationDelegate() override;
27 27
28 private: 28 private:
29 // mojo::ShellClient: 29 // mojo::ShellClient:
30 void Initialize(mojo::Connector* connector, const mojo::Identity& identity, 30 void Initialize(mojo::Connector* connector, const mojo::Identity& identity,
31 uint32_t id) override; 31 uint32_t id) override;
32 bool AcceptConnection(mojo::Connection* connection) override; 32 bool AcceptConnection(mojo::Connection* connection) override;
33 void ShellConnectionLost() override;
33 34
34 // mus::mojom::AcceleratorHandler: 35 // mus::mojom::AcceleratorHandler:
35 void OnAccelerator(uint32_t id, mus::mojom::EventPtr event) override; 36 void OnAccelerator(uint32_t id, mus::mojom::EventPtr event) override;
36 37
37 void AddAccelerators(); 38 void AddAccelerators();
38 39
39 mojo::Connector* connector_; 40 mojo::Connector* connector_;
40 mojo::Binding<mus::mojom::AcceleratorHandler> binding_; 41 mojo::Binding<mus::mojom::AcceleratorHandler> binding_;
41 42
42 DISALLOW_COPY_AND_ASSIGN(BrowserDriverApplicationDelegate); 43 DISALLOW_COPY_AND_ASSIGN(BrowserDriverApplicationDelegate);
43 }; 44 };
44 45
45 } // namespace browser_driver 46 } // namespace browser_driver
46 } // namespace mash 47 } // namespace mash
47 48
48 #endif // MASH_BROWSER_DRIVER_BROWSER_DRIVER_APPLICATION_DELEGATE_H_ 49 #endif // MASH_BROWSER_DRIVER_BROWSER_DRIVER_APPLICATION_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698