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

Side by Side Diff: ui/aura/mus/window_tree_client.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 UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 5 #ifndef UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 size_t current_index, 312 size_t current_index,
313 size_t dest_index); 313 size_t dest_index);
314 void OnWindowMusSetVisible(WindowMus* window, bool visible); 314 void OnWindowMusSetVisible(WindowMus* window, bool visible);
315 std::unique_ptr<ui::PropertyData> OnWindowMusWillChangeProperty( 315 std::unique_ptr<ui::PropertyData> OnWindowMusWillChangeProperty(
316 WindowMus* window, 316 WindowMus* window,
317 const void* key); 317 const void* key);
318 void OnWindowMusPropertyChanged(WindowMus* window, 318 void OnWindowMusPropertyChanged(WindowMus* window,
319 const void* key, 319 const void* key,
320 int64_t old_value, 320 int64_t old_value,
321 std::unique_ptr<ui::PropertyData> data); 321 std::unique_ptr<ui::PropertyData> data);
322 void RequestBeginFrames(WindowMus* window,
323 cc::mojom::FrameSinkObserverPtr observer);
322 324
323 // Callback passed from WmPerformMoveLoop(). 325 // Callback passed from WmPerformMoveLoop().
324 void OnWmMoveLoopCompleted(uint32_t change_id, bool completed); 326 void OnWmMoveLoopCompleted(uint32_t change_id, bool completed);
325 327
326 // Overridden from WindowTreeClient: 328 // Overridden from WindowTreeClient:
327 void OnEmbed( 329 void OnEmbed(
328 ClientSpecificId client_id, 330 ClientSpecificId client_id,
329 ui::mojom::WindowDataPtr root, 331 ui::mojom::WindowDataPtr root,
330 ui::mojom::WindowTreePtr tree, 332 ui::mojom::WindowTreePtr tree,
331 int64_t display_id, 333 int64_t display_id,
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 gfx::Insets normal_client_area_insets_; 640 gfx::Insets normal_client_area_insets_;
639 641
640 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 642 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
641 643
642 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 644 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
643 }; 645 };
644 646
645 } // namespace aura 647 } // namespace aura
646 648
647 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 649 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698