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

Unified Diff: ui/aura/window.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 side-by-side diff with in-line comments
Download patch
Index: ui/aura/window.h
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 1ab83f04b9eea8cd9ce3a7df9653fc99b3d101c0..2cfa58b6dfcea48782211284a0608dff1237b304 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -314,6 +314,11 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
// Get the current cc::SurfaceId.
cc::SurfaceId GetSurfaceId() const;
+ // See documentation for WindowPort::SetNeedsBeginFrames().
+ void SetNeedsBeginFrames(
+ bool needs,
+ base::RepeatingClosure callback = base::RepeatingClosure());
+
protected:
// Deletes (or removes if not owned by parent) all child windows. Intended for
// use from the destructor.

Powered by Google App Engine
This is Rietveld 408576698