mac: Don't limit GL_MAX_TEXTURE_SIZE on 10.9.0+.
[chromium-blink-merge.git] / cc / test / fake_tile_manager_client.h
blob94cfca6e3276e42f0b2547a7143dfa1ff1042b02
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/resources/tile_manager.h"
12 namespace cc {
14 class FakeTileManagerClient : public TileManagerClient {
15 public:
16 FakeTileManagerClient();
17 ~FakeTileManagerClient() override;
19 // TileManagerClient implementation.
20 const std::vector<PictureLayerImpl*>& GetPictureLayers() const override;
21 void NotifyReadyToActivate() override {}
22 void NotifyReadyToDraw() override {}
23 void NotifyTileStateChanged(const Tile* tile) override {}
24 void BuildRasterQueue(RasterTilePriorityQueue* queue,
25 TreePriority tree_priority) override {}
26 void BuildEvictionQueue(EvictionTilePriorityQueue* queue,
27 TreePriority tree_priority) override {}
29 private:
30 std::vector<PictureLayerImpl*> picture_layers_;
33 } // namespace cc
35 #endif // CC_TEST_FAKE_TILE_MANAGER_CLIENT_H_