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

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

Issue 1857623003: convert //mash to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | mash/example/common/mus_views_init.h » ('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 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>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
16 #include "components/mus/public/interfaces/accelerator_registrar.mojom.h" 15 #include "components/mus/public/interfaces/accelerator_registrar.mojom.h"
17 #include "mojo/public/cpp/bindings/binding.h" 16 #include "mojo/public/cpp/bindings/binding.h"
18 #include "mojo/shell/public/cpp/shell_client.h" 17 #include "mojo/shell/public/cpp/shell_client.h"
19 18
20 namespace mash { 19 namespace mash {
21 namespace browser_driver { 20 namespace browser_driver {
22 21
23 class BrowserDriverApplicationDelegate : public mojo::ShellClient, 22 class BrowserDriverApplicationDelegate : public mojo::ShellClient,
24 public mus::mojom::AcceleratorHandler { 23 public mus::mojom::AcceleratorHandler {
(...skipping 17 matching lines...) Expand all
42 mojo::Binding<mus::mojom::AcceleratorHandler> binding_; 41 mojo::Binding<mus::mojom::AcceleratorHandler> binding_;
43 base::WeakPtrFactory<BrowserDriverApplicationDelegate> weak_factory_; 42 base::WeakPtrFactory<BrowserDriverApplicationDelegate> weak_factory_;
44 43
45 DISALLOW_COPY_AND_ASSIGN(BrowserDriverApplicationDelegate); 44 DISALLOW_COPY_AND_ASSIGN(BrowserDriverApplicationDelegate);
46 }; 45 };
47 46
48 } // namespace browser_driver 47 } // namespace browser_driver
49 } // namespace mash 48 } // namespace mash
50 49
51 #endif // MASH_BROWSER_DRIVER_BROWSER_DRIVER_APPLICATION_DELEGATE_H_ 50 #endif // MASH_BROWSER_DRIVER_BROWSER_DRIVER_APPLICATION_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | mash/example/common/mus_views_init.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698