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

Side by Side Diff: services/ui/public/cpp/window_tree_client.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/public/cpp/window.cc ('k') | services/ui/public/cpp/window_tree_client.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_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 void Embed(Id window_id, 123 void Embed(Id window_id,
124 mojom::WindowTreeClientPtr client, 124 mojom::WindowTreeClientPtr client,
125 uint32_t flags, 125 uint32_t flags,
126 const mojom::WindowTree::EmbedCallback& callback); 126 const mojom::WindowTree::EmbedCallback& callback);
127 127
128 void RequestClose(Window* window); 128 void RequestClose(Window* window);
129 129
130 void AttachCompositorFrameSink( 130 void AttachCompositorFrameSink(
131 Id window_id, 131 Id window_id,
132 mojom::CompositorFrameSinkType type,
133 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink, 132 cc::mojom::MojoCompositorFrameSinkRequest compositor_frame_sink,
134 cc::mojom::MojoCompositorFrameSinkClientPtr client); 133 cc::mojom::MojoCompositorFrameSinkClientPtr client);
135 134
136 // Sets the input capture to |window| without notifying the server. 135 // Sets the input capture to |window| without notifying the server.
137 void LocalSetCapture(Window* window); 136 void LocalSetCapture(Window* window);
138 // Sets focus to |window| without notifying the server. 137 // Sets focus to |window| without notifying the server.
139 void LocalSetFocus(Window* window); 138 void LocalSetFocus(Window* window);
140 139
141 // Start/stop tracking windows. While tracked, they can be retrieved via 140 // Start/stop tracking windows. While tracked, they can be retrieved via
142 // WindowTreeClient::GetWindowById. 141 // WindowTreeClient::GetWindowById.
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 std::set<Id> drag_entered_windows_; 484 std::set<Id> drag_entered_windows_;
486 485
487 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 486 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
488 487
489 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 488 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
490 }; 489 };
491 490
492 } // namespace ui 491 } // namespace ui
493 492
494 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 493 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
OLDNEW
« no previous file with comments | « services/ui/public/cpp/window.cc ('k') | services/ui/public/cpp/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698