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

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

Issue 2617403003: Mus: Remove CompositorFrameSinkType (Closed)
Patch Set: Fix some unit tests Created 3 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 | « services/ui/ws/frame_generator_unittest.cc ('k') | services/ui/ws/server_window.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_SERVER_WINDOW_H_ 5 #ifndef SERVICES_UI_WS_SERVER_WINDOW_H_
6 #define SERVICES_UI_WS_SERVER_WINDOW_H_ 6 #define SERVICES_UI_WS_SERVER_WINDOW_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 void RemoveObserver(ServerWindowObserver* observer); 58 void RemoveObserver(ServerWindowObserver* observer);
59 bool HasObserver(ServerWindowObserver* observer); 59 bool HasObserver(ServerWindowObserver* observer);
60 60
61 // Creates a new CompositorFrameSink of the specified type, replacing the 61 // Creates a new CompositorFrameSink of the specified type, replacing the
62 // existing. 62 // existing.
63 void CreateDisplayCompositorFrameSink( 63 void CreateDisplayCompositorFrameSink(
64 gfx::AcceleratedWidget widget, 64 gfx::AcceleratedWidget widget,
65 cc::mojom::MojoCompositorFrameSinkRequest request, 65 cc::mojom::MojoCompositorFrameSinkRequest request,
66 cc::mojom::MojoCompositorFrameSinkClientPtr client, 66 cc::mojom::MojoCompositorFrameSinkClientPtr client,
67 cc::mojom::DisplayPrivateRequest display_private_request); 67 cc::mojom::DisplayPrivateRequest display_private_request);
68
68 void CreateOffscreenCompositorFrameSink( 69 void CreateOffscreenCompositorFrameSink(
69 mojom::CompositorFrameSinkType compositor_frame_sink_type,
70 cc::mojom::MojoCompositorFrameSinkRequest request, 70 cc::mojom::MojoCompositorFrameSinkRequest request,
71 cc::mojom::MojoCompositorFrameSinkClientPtr client); 71 cc::mojom::MojoCompositorFrameSinkClientPtr client);
72 72
73 const WindowId& id() const { return id_; } 73 const WindowId& id() const { return id_; }
74 74
75 void Add(ServerWindow* child); 75 void Add(ServerWindow* child);
76 void Remove(ServerWindow* child); 76 void Remove(ServerWindow* child);
77 void Reorder(ServerWindow* relative, mojom::OrderDirection diretion); 77 void Reorder(ServerWindow* relative, mojom::OrderDirection diretion);
78 void StackChildAtBottom(ServerWindow* child); 78 void StackChildAtBottom(ServerWindow* child);
79 void StackChildAtTop(ServerWindow* child); 79 void StackChildAtTop(ServerWindow* child);
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 267
268 base::ObserverList<ServerWindowObserver> observers_; 268 base::ObserverList<ServerWindowObserver> observers_;
269 269
270 DISALLOW_COPY_AND_ASSIGN(ServerWindow); 270 DISALLOW_COPY_AND_ASSIGN(ServerWindow);
271 }; 271 };
272 272
273 } // namespace ws 273 } // namespace ws
274 } // namespace ui 274 } // namespace ui
275 275
276 #endif // SERVICES_UI_WS_SERVER_WINDOW_H_ 276 #endif // SERVICES_UI_WS_SERVER_WINDOW_H_
OLDNEW
« no previous file with comments | « services/ui/ws/frame_generator_unittest.cc ('k') | services/ui/ws/server_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698