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

Side by Side Diff: components/mus/ws/window_tree_binding.h

Issue 1906623003: Convert //components/mus from scoped_ptr 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 | « components/mus/ws/window_tree.cc ('k') | components/mus/ws/window_tree_client_unittest.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 COMPONENTS_MUS_WS_WINDOW_TREE_BINDING_H_ 5 #ifndef COMPONENTS_MUS_WS_WINDOW_TREE_BINDING_H_
6 #define COMPONENTS_MUS_WS_WINDOW_TREE_BINDING_H_ 6 #define COMPONENTS_MUS_WS_WINDOW_TREE_BINDING_H_
7 7
8 #include <memory>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "components/mus/public/interfaces/window_tree.mojom.h" 11 #include "components/mus/public/interfaces/window_tree.mojom.h"
11 #include "mojo/public/cpp/bindings/binding.h" 12 #include "mojo/public/cpp/bindings/binding.h"
12 13
13 namespace mus { 14 namespace mus {
14 namespace ws { 15 namespace ws {
15 16
16 class WindowServer; 17 class WindowServer;
17 class WindowTree; 18 class WindowTree;
18 19
19 // WindowTreeBinding manages the binding between a WindowTree and its mojo 20 // WindowTreeBinding manages the binding between a WindowTree and its mojo
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 mojom::WindowTreeClientPtr client_; 64 mojom::WindowTreeClientPtr client_;
64 mojom::WindowManagerAssociatedPtr window_manager_internal_; 65 mojom::WindowManagerAssociatedPtr window_manager_internal_;
65 66
66 DISALLOW_COPY_AND_ASSIGN(DefaultWindowTreeBinding); 67 DISALLOW_COPY_AND_ASSIGN(DefaultWindowTreeBinding);
67 }; 68 };
68 69
69 } // namespace ws 70 } // namespace ws
70 } // namespace mus 71 } // namespace mus
71 72
72 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_BINDING_H_ 73 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_BINDING_H_
OLDNEW
« no previous file with comments | « components/mus/ws/window_tree.cc ('k') | components/mus/ws/window_tree_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698