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

Side by Side Diff: components/mus/public/cpp/lib/window_tree_client_impl.h

Issue 1882423004: Move shell service to toplevel shell namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/mus_app.cc ('k') | components/mus/public/cpp/lib/window_tree_client_impl.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_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ 5 #ifndef COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_
6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ 6 #define COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 27 matching lines...) Expand all
38 public mojom::WindowTreeClient, 38 public mojom::WindowTreeClient,
39 public mojom::WindowManager, 39 public mojom::WindowManager,
40 public WindowManagerClient { 40 public WindowManagerClient {
41 public: 41 public:
42 WindowTreeClientImpl(WindowTreeDelegate* delegate, 42 WindowTreeClientImpl(WindowTreeDelegate* delegate,
43 WindowManagerDelegate* window_manager_delegate, 43 WindowManagerDelegate* window_manager_delegate,
44 mojo::InterfaceRequest<mojom::WindowTreeClient> request); 44 mojo::InterfaceRequest<mojom::WindowTreeClient> request);
45 ~WindowTreeClientImpl() override; 45 ~WindowTreeClientImpl() override;
46 46
47 // Establishes the connection by way of the WindowTreeFactory. 47 // Establishes the connection by way of the WindowTreeFactory.
48 void ConnectViaWindowTreeFactory(mojo::Connector* connector); 48 void ConnectViaWindowTreeFactory(shell::Connector* connector);
49 49
50 // Wait for OnEmbed(), returning when done. 50 // Wait for OnEmbed(), returning when done.
51 void WaitForEmbed(); 51 void WaitForEmbed();
52 52
53 bool connected() const { return tree_ != nullptr; } 53 bool connected() const { return tree_ != nullptr; }
54 ConnectionSpecificId connection_id() const { return connection_id_; } 54 ConnectionSpecificId connection_id() const { return connection_id_; }
55 55
56 // API exposed to the window implementations that pushes local changes to the 56 // API exposed to the window implementations that pushes local changes to the
57 // service. 57 // service.
58 void DestroyWindow(Window* window); 58 void DestroyWindow(Window* window);
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 scoped_ptr<mojo::AssociatedBinding<mojom::WindowManager>> 295 scoped_ptr<mojo::AssociatedBinding<mojom::WindowManager>>
296 window_manager_internal_; 296 window_manager_internal_;
297 mojom::WindowManagerClientAssociatedPtr window_manager_internal_client_; 297 mojom::WindowManagerClientAssociatedPtr window_manager_internal_client_;
298 298
299 DISALLOW_COPY_AND_ASSIGN(WindowTreeClientImpl); 299 DISALLOW_COPY_AND_ASSIGN(WindowTreeClientImpl);
300 }; 300 };
301 301
302 } // namespace mus 302 } // namespace mus
303 303
304 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ 304 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « components/mus/mus_app.cc ('k') | components/mus/public/cpp/lib/window_tree_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698