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

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

Issue 2878113002: mus: Embedder can request and observe BeginFrame for embedded client. (Closed)
Patch Set: . Created 3 years, 7 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_WS_WINDOW_TREE_H_ 5 #ifndef SERVICES_UI_WS_WINDOW_TREE_H_
6 #define SERVICES_UI_WS_WINDOW_TREE_H_ 6 #define SERVICES_UI_WS_WINDOW_TREE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 override; 432 override;
433 void SetCapture(uint32_t change_id, Id window_id) override; 433 void SetCapture(uint32_t change_id, Id window_id) override;
434 void ReleaseCapture(uint32_t change_id, Id window_id) override; 434 void ReleaseCapture(uint32_t change_id, Id window_id) override;
435 void StartPointerWatcher(bool want_moves) override; 435 void StartPointerWatcher(bool want_moves) override;
436 void StopPointerWatcher() override; 436 void StopPointerWatcher() override;
437 void SetWindowBounds( 437 void SetWindowBounds(
438 uint32_t change_id, 438 uint32_t change_id,
439 Id window_id, 439 Id window_id,
440 const gfx::Rect& bounds, 440 const gfx::Rect& bounds,
441 const base::Optional<cc::LocalSurfaceId>& local_surface_id) override; 441 const base::Optional<cc::LocalSurfaceId>& local_surface_id) override;
442 void RequestBeginFrames(Id window_id,
443 cc::mojom::FrameSinkObserverPtr observer) override;
442 void SetWindowVisibility(uint32_t change_id, 444 void SetWindowVisibility(uint32_t change_id,
443 Id window_id, 445 Id window_id,
444 bool visible) override; 446 bool visible) override;
445 void SetWindowProperty( 447 void SetWindowProperty(
446 uint32_t change_id, 448 uint32_t change_id,
447 Id transport_window_id, 449 Id transport_window_id,
448 const std::string& name, 450 const std::string& name,
449 const base::Optional<std::vector<uint8_t>>& value) override; 451 const base::Optional<std::vector<uint8_t>>& value) override;
450 void SetWindowOpacity(uint32_t change_id, 452 void SetWindowOpacity(uint32_t change_id,
451 Id window_id, 453 Id window_id,
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 // a image move. All weak ptrs are invalidated when a drag is completed. 647 // a image move. All weak ptrs are invalidated when a drag is completed.
646 base::WeakPtrFactory<WindowTree> drag_weak_factory_; 648 base::WeakPtrFactory<WindowTree> drag_weak_factory_;
647 649
648 DISALLOW_COPY_AND_ASSIGN(WindowTree); 650 DISALLOW_COPY_AND_ASSIGN(WindowTree);
649 }; 651 };
650 652
651 } // namespace ws 653 } // namespace ws
652 } // namespace ui 654 } // namespace ui
653 655
654 #endif // SERVICES_UI_WS_WINDOW_TREE_H_ 656 #endif // SERVICES_UI_WS_WINDOW_TREE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698