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

Side by Side Diff: services/ui/ws/window_server.h

Issue 2696233002: Mojo C++ bindings: remove some usage of AssociatedGroup from user code. (Closed)
Patch Set: . Created 3 years, 10 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 | « services/ui/ws/test_server_window_delegate.cc ('k') | services/ui/ws/window_server.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 SERVICES_UI_WS_WINDOW_SERVER_H_ 5 #ifndef SERVICES_UI_WS_WINDOW_SERVER_H_
6 #define SERVICES_UI_WS_WINDOW_SERVER_H_ 6 #define SERVICES_UI_WS_WINDOW_SERVER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 WindowTree* GetCurrentDragLoopInitiator(); 222 WindowTree* GetCurrentDragLoopInitiator();
223 bool in_drag_loop() const { return !!current_drag_loop_; } 223 bool in_drag_loop() const { return !!current_drag_loop_; }
224 224
225 void OnDisplayReady(Display* display, bool is_first); 225 void OnDisplayReady(Display* display, bool is_first);
226 void OnDisplayDestroyed(Display* display); 226 void OnDisplayDestroyed(Display* display);
227 void OnNoMoreDisplays(); 227 void OnNoMoreDisplays();
228 WindowManagerState* GetWindowManagerStateForUser(const UserId& user_id); 228 WindowManagerState* GetWindowManagerStateForUser(const UserId& user_id);
229 229
230 // ServerWindowDelegate: 230 // ServerWindowDelegate:
231 cc::mojom::DisplayCompositor* GetDisplayCompositor() override; 231 cc::mojom::DisplayCompositor* GetDisplayCompositor() override;
232 mojo::AssociatedGroup* GetDisplayCompositorAssociatedGroup() override;
233 232
234 // UserDisplayManagerDelegate: 233 // UserDisplayManagerDelegate:
235 bool GetFrameDecorationsForUser( 234 bool GetFrameDecorationsForUser(
236 const UserId& user_id, 235 const UserId& user_id,
237 mojom::FrameDecorationValuesPtr* values) override; 236 mojom::FrameDecorationValuesPtr* values) override;
238 237
239 private: 238 private:
240 struct CurrentMoveLoopState; 239 struct CurrentMoveLoopState;
241 struct CurrentDragLoopState; 240 struct CurrentDragLoopState;
242 friend class Operation; 241 friend class Operation;
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 // State for rendering into a Surface. 379 // State for rendering into a Surface.
381 cc::mojom::DisplayCompositorPtr display_compositor_; 380 cc::mojom::DisplayCompositorPtr display_compositor_;
382 381
383 DISALLOW_COPY_AND_ASSIGN(WindowServer); 382 DISALLOW_COPY_AND_ASSIGN(WindowServer);
384 }; 383 };
385 384
386 } // namespace ws 385 } // namespace ws
387 } // namespace ui 386 } // namespace ui
388 387
389 #endif // SERVICES_UI_WS_WINDOW_SERVER_H_ 388 #endif // SERVICES_UI_WS_WINDOW_SERVER_H_
OLDNEW
« no previous file with comments | « services/ui/ws/test_server_window_delegate.cc ('k') | services/ui/ws/window_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698