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

Side by Side Diff: cc/test/fake_tile_manager_client.h

Issue 219963005: cc: Add support for partial swaps when using impl-side painting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WIP - avoid std::map in TileManager + comments Created 6 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TEST_FAKE_TILE_MANAGER_CLIENT_H_ 5 #ifndef CC_TEST_FAKE_TILE_MANAGER_CLIENT_H_
6 #define CC_TEST_FAKE_TILE_MANAGER_CLIENT_H_ 6 #define CC_TEST_FAKE_TILE_MANAGER_CLIENT_H_
7 7
8 #include "cc/resources/tile_manager.h" 8 #include "cc/resources/tile_manager.h"
9 9
10 namespace cc { 10 namespace cc {
11 11
12 class FakeTileManagerClient : public TileManagerClient { 12 class FakeTileManagerClient : public TileManagerClient {
13 public: 13 public:
14 virtual ~FakeTileManagerClient() {} 14 virtual ~FakeTileManagerClient() {}
15 15
16 // TileManagerClient implementation. 16 // TileManagerClient implementation.
17 virtual void NotifyReadyToActivate() OVERRIDE {} 17 virtual void NotifyReadyToActivate() OVERRIDE {}
18
reveman 2014/04/14 20:03:07 nit: no blank line here to make it clear that comm
sohanjg 2014/04/15 10:03:48 Done.
19 virtual void NotifyInitializedTiles(Tile* tile) OVERRIDE {}
18 }; 20 };
19 21
20 } // namespace cc 22 } // namespace cc
21 23
22 #endif // CC_TEST_FAKE_TILE_MANAGER_CLIENT_H_ 24 #endif // CC_TEST_FAKE_TILE_MANAGER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698