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

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

Issue 1644773004: Renames some WindowManager classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup Created 4 years, 11 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 18 matching lines...) Expand all
29 class InFlightChange; 29 class InFlightChange;
30 class WindowTreeClientImplPrivate; 30 class WindowTreeClientImplPrivate;
31 class WindowTreeConnection; 31 class WindowTreeConnection;
32 class WindowTreeDelegate; 32 class WindowTreeDelegate;
33 33
34 enum class ChangeType; 34 enum class ChangeType;
35 35
36 // Manages the connection with the Window Server service. 36 // Manages the connection with the Window Server service.
37 class WindowTreeClientImpl : public WindowTreeConnection, 37 class WindowTreeClientImpl : public WindowTreeConnection,
38 public mojom::WindowTreeClient, 38 public mojom::WindowTreeClient,
39 public mojom::WindowManagerInternal, 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 // Wait for OnEmbed(), returning when done. 47 // Wait for OnEmbed(), returning when done.
48 void WaitForEmbed(); 48 void WaitForEmbed();
49 49
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 const mojo::String& name, 203 const mojo::String& name,
204 mojo::Array<uint8_t> new_data) override; 204 mojo::Array<uint8_t> new_data) override;
205 void OnWindowInputEvent(uint32_t event_id, 205 void OnWindowInputEvent(uint32_t event_id,
206 Id window_id, 206 Id window_id,
207 mojom::EventPtr event) override; 207 mojom::EventPtr event) override;
208 void OnWindowFocused(Id focused_window_id) override; 208 void OnWindowFocused(Id focused_window_id) override;
209 void OnWindowPredefinedCursorChanged(Id window_id, 209 void OnWindowPredefinedCursorChanged(Id window_id,
210 mojom::Cursor cursor) override; 210 mojom::Cursor cursor) override;
211 void OnChangeCompleted(uint32_t change_id, bool success) override; 211 void OnChangeCompleted(uint32_t change_id, bool success) override;
212 void RequestClose(uint32_t window_id) override; 212 void RequestClose(uint32_t window_id) override;
213 void GetWindowManagerInternal( 213 void GetWindowManager(
214 mojo::AssociatedInterfaceRequest<WindowManagerInternal> internal) 214 mojo::AssociatedInterfaceRequest<WindowManager> internal) override;
215 override;
216 215
217 // Overridden from WindowManagerInternal: 216 // Overridden from WindowManager:
218 void WmSetBounds(uint32_t change_id, 217 void WmSetBounds(uint32_t change_id,
219 Id window_id, 218 Id window_id,
220 mojo::RectPtr transit_bounds) override; 219 mojo::RectPtr transit_bounds) override;
221 void WmSetProperty(uint32_t change_id, 220 void WmSetProperty(uint32_t change_id,
222 Id window_id, 221 Id window_id,
223 const mojo::String& name, 222 const mojo::String& name,
224 mojo::Array<uint8_t> transit_data) override; 223 mojo::Array<uint8_t> transit_data) override;
225 void WmCreateTopLevelWindow(uint32_t change_id, 224 void WmCreateTopLevelWindow(uint32_t change_id,
226 mojo::Map<mojo::String, mojo::Array<uint8_t>> 225 mojo::Map<mojo::String, mojo::Array<uint8_t>>
227 transport_properties) override; 226 transport_properties) override;
(...skipping 30 matching lines...) Expand all
258 mojom::WindowTree* tree_; 257 mojom::WindowTree* tree_;
259 258
260 bool is_embed_root_; 259 bool is_embed_root_;
261 260
262 bool delete_on_no_roots_; 261 bool delete_on_no_roots_;
263 262
264 bool in_destructor_; 263 bool in_destructor_;
265 264
266 base::ObserverList<WindowTreeConnectionObserver> observers_; 265 base::ObserverList<WindowTreeConnectionObserver> observers_;
267 266
268 scoped_ptr<mojo::AssociatedBinding<mojom::WindowManagerInternal>> 267 scoped_ptr<mojo::AssociatedBinding<mojom::WindowManager>>
269 window_manager_internal_; 268 window_manager_internal_;
270 mojom::WindowManagerInternalClientAssociatedPtr 269 mojom::WindowManagerClientAssociatedPtr window_manager_internal_client_;
271 window_manager_internal_client_;
272 270
273 MOJO_DISALLOW_COPY_AND_ASSIGN(WindowTreeClientImpl); 271 MOJO_DISALLOW_COPY_AND_ASSIGN(WindowTreeClientImpl);
274 }; 272 };
275 273
276 } // namespace mus 274 } // namespace mus
277 275
278 #endif // COMPONENTS_MUS_PUBLIC_CPP_LIB_WINDOW_TREE_CLIENT_IMPL_H_ 276 #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