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

Unified Diff: cc/test/fake_tile_manager_client.h

Issue 322443002: cc: Refactor how picture layers are exposed to the tile manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tile manager perf tests Created 6 years, 6 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/resources/tile_manager_unittest.cc ('k') | cc/test/fake_tile_manager_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_tile_manager_client.h
diff --git a/cc/test/fake_tile_manager_client.h b/cc/test/fake_tile_manager_client.h
index 7faa30ed382f28791dbcc7ad39852a0ff567280e..5c3812876d69c5922ce7fad3f5fb55edd92623d4 100644
--- a/cc/test/fake_tile_manager_client.h
+++ b/cc/test/fake_tile_manager_client.h
@@ -5,17 +5,24 @@
#ifndef CC_TEST_FAKE_TILE_MANAGER_CLIENT_H_
#define CC_TEST_FAKE_TILE_MANAGER_CLIENT_H_
+#include <vector>
+
#include "cc/resources/tile_manager.h"
namespace cc {
class FakeTileManagerClient : public TileManagerClient {
public:
- virtual ~FakeTileManagerClient() {}
+ FakeTileManagerClient();
+ virtual ~FakeTileManagerClient();
// TileManagerClient implementation.
+ virtual const std::vector<PictureLayerImpl*>& GetPictureLayers() OVERRIDE;
virtual void NotifyReadyToActivate() OVERRIDE {}
virtual void NotifyTileStateChanged(const Tile* tile) OVERRIDE {}
+
+ private:
+ std::vector<PictureLayerImpl*> picture_layers_;
};
} // namespace cc
« no previous file with comments | « cc/resources/tile_manager_unittest.cc ('k') | cc/test/fake_tile_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698