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

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

Issue 671653005: SetNeedsRedraw directly when updating a visible tile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pinchblurmerge-test: testfix Created 6 years, 1 month 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
(Empty)
1 // Copyright 2014 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.
4
5 #ifndef CC_TEST_FAKE_PICTURE_PILE_H_
6 #define CC_TEST_FAKE_PICTURE_PILE_H_
7
8 #include "cc/resources/picture_pile.h"
9
10 namespace cc {
11 class ThreadBlocker;
12
13 class FakePicturePile : public PicturePile {
14 public:
15 explicit FakePicturePile(ThreadBlocker* blocker)
16 : raster_thread_blocker_(blocker) {}
17 virtual ~FakePicturePile() {}
18
19 // PicturePile overrides.
20 scoped_refptr<RasterSource> CreateRasterSource() const override;
21
22 private:
23 ThreadBlocker* raster_thread_blocker_;
24 };
25
26 } // namespace cc
27
28 #endif // CC_TEST_FAKE_PICTURE_PILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698