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

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

Issue 1423133003: Routes calls to WM through WS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no braces Created 5 years, 1 month 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/example/wm/window_manager_impl.cc ('k') | 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 <set> 8 #include <set>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 mojo::ApplicationConnection* connection, 73 mojo::ApplicationConnection* connection,
74 mojo::InterfaceRequest<mojom::WindowTreeHostFactory> request) override; 74 mojo::InterfaceRequest<mojom::WindowTreeHostFactory> request) override;
75 75
76 // mojo::InterfaceFactory<mojom::Gpu> implementation. 76 // mojo::InterfaceFactory<mojom::Gpu> implementation.
77 void Create(mojo::ApplicationConnection* connection, 77 void Create(mojo::ApplicationConnection* connection,
78 mojo::InterfaceRequest<mojom::Gpu> request) override; 78 mojo::InterfaceRequest<mojom::Gpu> request) override;
79 79
80 // mojom::WindowTreeHostFactory implementation. 80 // mojom::WindowTreeHostFactory implementation.
81 void CreateWindowTreeHost(mojo::InterfaceRequest<mojom::WindowTreeHost> host, 81 void CreateWindowTreeHost(mojo::InterfaceRequest<mojom::WindowTreeHost> host,
82 mojom::WindowTreeHostClientPtr host_client, 82 mojom::WindowTreeHostClientPtr host_client,
83 mojom::WindowTreeClientPtr tree_client) override; 83 mojom::WindowTreeClientPtr tree_client,
84 mojom::WindowManagerPtr window_manager) override;
84 85
85 mojo::WeakBindingSet<mojom::WindowTreeHostFactory> factory_bindings_; 86 mojo::WeakBindingSet<mojom::WindowTreeHostFactory> factory_bindings_;
86 mojo::ApplicationImpl* app_impl_; 87 mojo::ApplicationImpl* app_impl_;
87 scoped_ptr<ws::ConnectionManager> connection_manager_; 88 scoped_ptr<ws::ConnectionManager> connection_manager_;
88 scoped_refptr<GpuState> gpu_state_; 89 scoped_refptr<GpuState> gpu_state_;
89 scoped_ptr<ui::PlatformEventSource> event_source_; 90 scoped_ptr<ui::PlatformEventSource> event_source_;
90 91
91 // Surfaces 92 // Surfaces
92 scoped_refptr<SurfacesState> surfaces_state_; 93 scoped_refptr<SurfacesState> surfaces_state_;
93 94
94 DISALLOW_COPY_AND_ASSIGN(MandolineUIServicesApp); 95 DISALLOW_COPY_AND_ASSIGN(MandolineUIServicesApp);
95 }; 96 };
96 97
97 } // namespace mus 98 } // namespace mus
98 99
99 #endif // COMPONENTS_MUS_MUS_APP_H_ 100 #endif // COMPONENTS_MUS_MUS_APP_H_
OLDNEW
« no previous file with comments | « components/mus/example/wm/window_manager_impl.cc ('k') | components/mus/mus_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698