Implement self-contained gpu data collection on Android
[chromium-blink-merge.git] / cc / test / fake_tile_manager_client.h
blob68d845e69908c41a6825613f8715c682a648119e
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CC_TEST_FAKE_TILE_MANAGER_CLIENT_H_
6 #define CC_TEST_FAKE_TILE_MANAGER_CLIENT_H_
8 #include <vector>
10 #include "cc/tiles/tile_manager.h"
12 namespace cc {
14 class FakeTileManagerClient : public TileManagerClient {
15 public:
16 FakeTileManagerClient();
17 ~FakeTileManagerClient() override;
19 // TileManagerClient implementation.
20 void NotifyReadyToActivate() override {}
21 void NotifyReadyToDraw() override {}
22 void NotifyAllTileTasksCompleted() override {}
23 void NotifyTileStateChanged(const Tile* tile) override {}
24 scoped_ptr<RasterTilePriorityQueue> BuildRasterQueue(
25 TreePriority tree_priority,
26 RasterTilePriorityQueue::Type type) override;
27 scoped_ptr<EvictionTilePriorityQueue> BuildEvictionQueue(
28 TreePriority tree_priority) override;
29 void SetIsLikelyToRequireADraw(bool is_likely_to_require_a_draw) override {}
32 } // namespace cc
34 #endif // CC_TEST_FAKE_TILE_MANAGER_CLIENT_H_