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

Unified Diff: ui/compositor/compositor_observer.h

Issue 10690168: Aura: Resize locks with --ui-enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OSX compile fix. Created 8 years, 2 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
« no previous file with comments | « ui/compositor/compositor.cc ('k') | ui/compositor/layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor_observer.h
diff --git a/ui/compositor/compositor_observer.h b/ui/compositor/compositor_observer.h
index 830f170ca22d8c69336ab08a4003c64fa3146829..4157453ec6004d0224dfce198f04a635e2921c7b 100644
--- a/ui/compositor/compositor_observer.h
+++ b/ui/compositor/compositor_observer.h
@@ -19,12 +19,10 @@ class COMPOSITOR_EXPORT CompositorObserver {
// 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).
+ // composite cycle). If the compositor is locked, it will not send this
+ // this signal.
virtual void OnCompositingDidCommit(Compositor* compositor) = 0;
- // Called when compositing will start.
- virtual void OnCompositingWillStart(Compositor* compositor) = 0;
-
// Called when compositing started: it has taken all the layer changes into
// account and has issued the graphics commands.
virtual void OnCompositingStarted(Compositor* compositor) = 0;
@@ -35,6 +33,9 @@ class COMPOSITOR_EXPORT CompositorObserver {
// Called when compositing is aborted (e.g. lost graphics context).
virtual void OnCompositingAborted(Compositor* compositor) = 0;
+ // Called when the compositor lock state changes.
+ virtual void OnCompositingLockStateChanged(Compositor* compositor) = 0;
+
protected:
virtual ~CompositorObserver() {}
};
« no previous file with comments | « ui/compositor/compositor.cc ('k') | ui/compositor/layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698