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

Side by Side Diff: components/mus/mus_app.h

Issue 1764483003: Changes ownership of ClientConnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « no previous file | components/mus/mus_app.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_MUS_APP_H_ 5 #ifndef COMPONENTS_MUS_MUS_APP_H_
6 #define COMPONENTS_MUS_MUS_APP_H_ 6 #define COMPONENTS_MUS_MUS_APP_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 void InitializeResources(mojo::Connector* connector); 63 void InitializeResources(mojo::Connector* connector);
64 64
65 // mojo::ShellClient: 65 // mojo::ShellClient:
66 void Initialize(mojo::Connector* connector, const std::string& url, 66 void Initialize(mojo::Connector* connector, const std::string& url,
67 uint32_t id, uint32_t user_id) override; 67 uint32_t id, uint32_t user_id) override;
68 bool AcceptConnection(mojo::Connection* connection) override; 68 bool AcceptConnection(mojo::Connection* connection) override;
69 69
70 // ConnectionManagerDelegate: 70 // ConnectionManagerDelegate:
71 void OnFirstRootConnectionCreated() override; 71 void OnFirstRootConnectionCreated() override;
72 void OnNoMoreRootConnections() override; 72 void OnNoMoreRootConnections() override;
73 ws::ClientConnection* CreateClientConnectionForEmbedAtWindow( 73 scoped_ptr<ws::ClientConnection> CreateClientConnectionForEmbedAtWindow(
74 ws::ConnectionManager* connection_manager, 74 ws::ConnectionManager* connection_manager,
75 ws::WindowTreeImpl* tree,
75 mojom::WindowTreeRequest tree_request, 76 mojom::WindowTreeRequest tree_request,
76 ws::ServerWindow* root,
77 uint32_t policy_bitmask,
78 mojom::WindowTreeClientPtr client) override; 77 mojom::WindowTreeClientPtr client) override;
79 ws::ClientConnection* CreateClientConnectionForWindowManager(
80 ws::WindowTreeHostImpl* tree_host,
81 ws::ServerWindow* root,
82 const mojom::Display& display,
83 uint32_t user_id,
84 mojom::WindowManagerFactory* factory) override;
85 void CreateDefaultWindowTreeHosts() override; 78 void CreateDefaultWindowTreeHosts() override;
86 79
87 // mojo::InterfaceFactory<mojom::DisplayManager> implementation. 80 // mojo::InterfaceFactory<mojom::DisplayManager> implementation.
88 void Create(mojo::Connection* connection, 81 void Create(mojo::Connection* connection,
89 mojom::DisplayManagerRequest request) override; 82 mojom::DisplayManagerRequest request) override;
90 83
91 // mojo::InterfaceFactory<mojom::WindowManagerFactoryService> implementation. 84 // mojo::InterfaceFactory<mojom::WindowManagerFactoryService> implementation.
92 void Create(mojo::Connection* connection, 85 void Create(mojo::Connection* connection,
93 mojom::WindowManagerFactoryServiceRequest request) override; 86 mojom::WindowManagerFactoryServiceRequest request) override;
94 87
(...skipping 24 matching lines...) Expand all
119 112
120 // Surfaces 113 // Surfaces
121 scoped_refptr<SurfacesState> surfaces_state_; 114 scoped_refptr<SurfacesState> surfaces_state_;
122 115
123 DISALLOW_COPY_AND_ASSIGN(MandolineUIServicesApp); 116 DISALLOW_COPY_AND_ASSIGN(MandolineUIServicesApp);
124 }; 117 };
125 118
126 } // namespace mus 119 } // namespace mus
127 120
128 #endif // COMPONENTS_MUS_MUS_APP_H_ 121 #endif // COMPONENTS_MUS_MUS_APP_H_
OLDNEW
« no previous file with comments | « no previous file | components/mus/mus_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698