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

Unified Diff: cc/CCScheduler.h

Issue 10909020: Enable webkit_compositor_unittests (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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 | « cc/CCLayerTreeHostTest.cpp ('k') | cc/CCScheduler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCScheduler.h
diff --git a/cc/CCScheduler.h b/cc/CCScheduler.h
index 3e2614b3dc1333d2751954f447c80a43f0ba92e7..10fce730d954f60088a059faa32cb101e162b2e1 100644
--- a/cc/CCScheduler.h
+++ b/cc/CCScheduler.h
@@ -33,6 +33,7 @@ struct CCScheduledActionDrawAndSwapResult {
class CCSchedulerClient {
public:
virtual bool canDraw() = 0;
+ virtual bool hasMoreResourceUpdates() const = 0;
virtual void scheduledActionBeginFrame() = 0;
virtual CCScheduledActionDrawAndSwapResult scheduledActionDrawAndSwapIfPossible() = 0;
@@ -72,7 +73,7 @@ public:
// Like setNeedsRedraw(), but ensures the draw will definitely happen even if we are not visible.
void setNeedsForcedRedraw();
- void beginFrameComplete(bool hasResourceUpdates);
+ void beginFrameComplete();
void beginFrameAborted();
void setMaxFramesPending(int);
@@ -89,8 +90,6 @@ public:
// CCFrameRateControllerClient implementation
virtual void vsyncTick() OVERRIDE;
- void updateResourcesComplete();
-
private:
CCScheduler(CCSchedulerClient*, PassOwnPtr<CCFrameRateController>);
@@ -100,7 +99,6 @@ private:
CCSchedulerClient* m_client;
OwnPtr<CCFrameRateController> m_frameRateController;
CCSchedulerStateMachine m_stateMachine;
- bool m_hasMoreResourceUpdates;
bool m_updateMoreResourcesPending;
};
« no previous file with comments | « cc/CCLayerTreeHostTest.cpp ('k') | cc/CCScheduler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698