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

Unified Diff: ui/aura/mus/window_tree_client.cc

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 side-by-side diff with in-line comments
Download patch
Index: ui/aura/mus/window_tree_client.cc
diff --git a/ui/aura/mus/window_tree_client.cc b/ui/aura/mus/window_tree_client.cc
index 5244c70da3aab0a8c2835aa8be5d51270b5e3e41..cd049ab033efc953d3e9ae3b8d8b923dc9f1f6b1 100644
--- a/ui/aura/mus/window_tree_client.cc
+++ b/ui/aura/mus/window_tree_client.cc
@@ -898,6 +898,12 @@ void WindowTreeClient::OnWindowMusPropertyChanged(
transport_value_mojo);
}
+void WindowTreeClient::InstallBeginFrameObserver(
Fady Samuel 2017/05/12 22:42:55 RequestBeginFrames?
sadrul 2017/05/13 03:01:38 Done.
+ WindowMus* window,
+ cc::mojom::FrameSinkObserverPtr observer) {
+ tree_->RequestBeginFrame(window->server_id(), std::move(observer));
+}
+
void WindowTreeClient::OnWmMoveLoopCompleted(uint32_t change_id,
bool completed) {
if (window_manager_client_)

Powered by Google App Engine
This is Rietveld 408576698