summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_tile_manager.h
diff options
context:
space:
mode:
authorreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-03 08:16:06 +0000
committerreveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-03 08:16:06 +0000
commit613be76eb978ef5081ae877a5f4bc8bd4b18da46 (patch)
tree0468ab675297f0de3739ee38db08531779ef0b30 /cc/test/fake_tile_manager.h
parentc8dd4ce6f692d085b1b9dc9ed99d74c8074f188b (diff)
downloadchromium_src-613be76eb978ef5081ae877a5f4bc8bd4b18da46.zip
chromium_src-613be76eb978ef5081ae877a5f4bc8bd4b18da46.tar.gz
chromium_src-613be76eb978ef5081ae877a5f4bc8bd4b18da46.tar.bz2
cc: Add raster finished signals to RasterWorkerPool.
This adds to important signals to the RasterWorkerPoolClient interface. Each signal is generated as a result of calling ScheduleTasks() and the signals always reflect the state of the last call to ScheduleTasks(). BUG=253508,254135,252787 TEST=cc_unittests --gtest_filter=TileManagerTest.* Review URL: https://chromiumcodereview.appspot.com/17351017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209912 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_tile_manager.h')
-rw-r--r--cc/test/fake_tile_manager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/test/fake_tile_manager.h b/cc/test/fake_tile_manager.h
index a061ee0..f79ea54 100644
--- a/cc/test/fake_tile_manager.h
+++ b/cc/test/fake_tile_manager.h
@@ -15,6 +15,11 @@ class FakeTileManager : public TileManager {
FakeTileManager(TileManagerClient* client,
ResourceProvider* resource_provider);
+ virtual void ScheduleTasks() OVERRIDE {}
+
+ void ReassignMemoryToOOMTilesRequiredForActivation();
+ bool HasBeenAssignedMemory(Tile* tile);
+
virtual ~FakeTileManager() { }
};