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

Side by Side Diff: mojo/services/window_manager/window_manager_app.h

Issue 514063003: Update view_manager and window_manager to make use of content handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@viewman2
Patch Set: git cl format Created 6 years, 3 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
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 MOJO_SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_ 5 #ifndef MOJO_SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_
6 #define MOJO_SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_ 6 #define MOJO_SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // and removes from the registry. 141 // and removes from the registry.
142 void UnregisterSubtree(View* view); 142 void UnregisterSubtree(View* view);
143 143
144 InterfaceFactoryImplWithContext<WindowManagerServiceImpl, WindowManagerApp> 144 InterfaceFactoryImplWithContext<WindowManagerServiceImpl, WindowManagerApp>
145 window_manager_service_factory_; 145 window_manager_service_factory_;
146 146
147 ViewManagerDelegate* wrapped_view_manager_delegate_; 147 ViewManagerDelegate* wrapped_view_manager_delegate_;
148 WindowManagerDelegate* wrapped_window_manager_delegate_; 148 WindowManagerDelegate* wrapped_window_manager_delegate_;
149 149
150 ViewManager* view_manager_; 150 ViewManager* view_manager_;
151 ViewManagerClientFactory view_manager_client_factory_; 151 scoped_ptr<ViewManagerClientFactory> view_manager_client_factory_;
152 View* root_; 152 View* root_;
153 153
154 scoped_ptr<AuraInit> aura_init_; 154 scoped_ptr<AuraInit> aura_init_;
155 scoped_ptr<WindowTreeHostMojo> window_tree_host_; 155 scoped_ptr<WindowTreeHostMojo> window_tree_host_;
156 156
157 scoped_ptr<wm::ScopedCaptureClient> capture_client_; 157 scoped_ptr<wm::ScopedCaptureClient> capture_client_;
158 scoped_ptr<aura::client::FocusClient> focus_client_; 158 scoped_ptr<aura::client::FocusClient> focus_client_;
159 aura::client::ActivationClient* activation_client_; 159 aura::client::ActivationClient* activation_client_;
160 160
161 Connections connections_; 161 Connections connections_;
162 ViewIdToWindowMap view_id_to_window_map_; 162 ViewIdToWindowMap view_id_to_window_map_;
163 163
164 scoped_ptr<DummyDelegate> dummy_delegate_; 164 scoped_ptr<DummyDelegate> dummy_delegate_;
165 165
166 DISALLOW_COPY_AND_ASSIGN(WindowManagerApp); 166 DISALLOW_COPY_AND_ASSIGN(WindowManagerApp);
167 }; 167 };
168 168
169 } // namespace mojo 169 } // namespace mojo
170 170
171 #endif // MOJO_SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_ 171 #endif // MOJO_SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_
OLDNEW
« no previous file with comments | « mojo/services/window_manager/window_manager_api_unittest.cc ('k') | mojo/services/window_manager/window_manager_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698