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

Side by Side Diff: services/ui/public/cpp/window_tree_client.h

Issue 2430653002: Mus+Ash: Towards Unifying CompositorFrameSink terminology (Closed)
Patch Set: Fix bitmap_uploader Created 4 years, 2 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 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 bool visible, 121 bool visible,
122 mojo::TextInputStatePtr state); 122 mojo::TextInputStatePtr state);
123 123
124 void Embed(Id window_id, 124 void Embed(Id window_id,
125 mojom::WindowTreeClientPtr client, 125 mojom::WindowTreeClientPtr client,
126 uint32_t flags, 126 uint32_t flags,
127 const mojom::WindowTree::EmbedCallback& callback); 127 const mojom::WindowTree::EmbedCallback& callback);
128 128
129 void RequestClose(Window* window); 129 void RequestClose(Window* window);
130 130
131 void AttachSurface(Id window_id, 131 void AttachSurface(
132 mojom::SurfaceType type, 132 Id window_id,
133 mojo::InterfaceRequest<mojom::Surface> surface, 133 mojom::SurfaceType type,
134 mojom::SurfaceClientPtr client); 134 mojo::InterfaceRequest<cc::mojom::MojoCompositorFrameSink> surface,
135 cc::mojom::MojoCompositorFrameSinkClientPtr client);
135 136
136 void OnWindowSurfaceDetached(Id window_id, 137 void OnWindowSurfaceDetached(Id window_id,
137 const cc::SurfaceSequence& sequence); 138 const cc::SurfaceSequence& sequence);
138 139
139 // Sets the input capture to |window| without notifying the server. 140 // Sets the input capture to |window| without notifying the server.
140 void LocalSetCapture(Window* window); 141 void LocalSetCapture(Window* window);
141 // Sets focus to |window| without notifying the server. 142 // Sets focus to |window| without notifying the server.
142 void LocalSetFocus(Window* window); 143 void LocalSetFocus(Window* window);
143 144
144 // Start/stop tracking windows. While tracked, they can be retrieved via 145 // Start/stop tracking windows. While tracked, they can be retrieved via
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 std::set<Id> drag_entered_windows_; 487 std::set<Id> drag_entered_windows_;
487 488
488 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 489 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
489 490
490 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 491 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
491 }; 492 };
492 493
493 } // namespace ui 494 } // namespace ui
494 495
495 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ 496 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698