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

Unified Diff: ui/compositor/compositor_observer.h

Issue 10689108: Aura: Have ui::Layer implement WebKit::WebExternalTextureLayerClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nuke TestImageTransportFactory. Created 8 years, 5 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/compositor/compositor_observer.h
diff --git a/ui/compositor/compositor_observer.h b/ui/compositor/compositor_observer.h
index f76609f2edede523d916adbe9c23b894fcb7f20e..830f170ca22d8c69336ab08a4003c64fa3146829 100644
--- a/ui/compositor/compositor_observer.h
+++ b/ui/compositor/compositor_observer.h
@@ -14,6 +14,14 @@ class Compositor;
// A compositor observer is notified when compositing completes.
class COMPOSITOR_EXPORT CompositorObserver {
public:
+ // A commit proxies information from the main thread to the compositor
+ // thread. It typically happens when some state changes that will require a
+ // composite. In the multi-threaded case, many commits may happen between
+ // two successive composites. In the single-threaded, a single commit
+ // between two composites (just before the composite as part of the
+ // composite cycle).
+ virtual void OnCompositingDidCommit(Compositor* compositor) = 0;
+
// Called when compositing will start.
virtual void OnCompositingWillStart(Compositor* compositor) = 0;

Powered by Google App Engine
This is Rietveld 408576698