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

Unified Diff: cc/layer.h

Issue 10690168: Aura: Resize locks with --ui-enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved needing to kick a frame logic up to RWHVA from Compositor. 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
Index: cc/layer.h
diff --git a/cc/layer.h b/cc/layer.h
index f16fbe79cfc6f2a72a5bf35f4a5d1d2a521188a9..b4bf968991f5bb4e3b745b0186942e559b494f1c 100644
--- a/cc/layer.h
+++ b/cc/layer.h
@@ -261,6 +261,9 @@ public:
virtual ScrollbarLayerChromium* toScrollbarLayerChromium();
+ void setDeferUpdates(bool);
+ bool deferUpdates();
+
protected:
friend class CCLayerImpl;
friend class TreeSynchronizer;
@@ -377,6 +380,9 @@ private:
WebKit::WebAnimationDelegate* m_layerAnimationDelegate;
WebKit::WebLayerScrollClient* m_layerScrollClient;
+
+ // Whether or not we should defer updates to the CCLayerImpl subtree rooted at this node.
+ bool m_deferUpdates;
};
void sortLayers(std::vector<scoped_refptr<LayerChromium> >::iterator, std::vector<scoped_refptr<LayerChromium> >::iterator, void*);

Powered by Google App Engine
This is Rietveld 408576698