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

Side by Side Diff: cc/tiles/checker_image_tracker.h

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 years, 9 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
« no previous file with comments | « cc/test/solid_color_content_layer_client.cc ('k') | cc/tiles/decoded_draw_image.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_TILES_CHECKER_IMAGE_TRACKER_H_ 5 #ifndef CC_TILES_CHECKER_IMAGE_TRACKER_H_
6 #define CC_TILES_CHECKER_IMAGE_TRACKER_H_ 6 #define CC_TILES_CHECKER_IMAGE_TRACKER_H_
7 7
8 #include <unordered_map> 8 #include <unordered_map>
9 #include <vector> 9 #include <vector>
10 10
11 #include "cc/base/cc_export.h" 11 #include "cc/cc_export.h"
12 #include "cc/playback/image_id.h" 12 #include "cc/paint/image_id.h"
13 #include "cc/tiles/image_controller.h" 13 #include "cc/tiles/image_controller.h"
14 #include "third_party/skia/include/core/SkImage.h" 14 #include "third_party/skia/include/core/SkImage.h"
15 15
16 namespace cc { 16 namespace cc {
17 17
18 class CC_EXPORT CheckerImageTrackerClient { 18 class CC_EXPORT CheckerImageTrackerClient {
19 public: 19 public:
20 virtual ~CheckerImageTrackerClient() = default; 20 virtual ~CheckerImageTrackerClient() = default;
21 21
22 virtual void NeedsInvalidationForCheckerImagedTiles() = 0; 22 virtual void NeedsInvalidationForCheckerImagedTiles() = 0;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // A map of image id to image decode request id for images to be unlocked. 92 // A map of image id to image decode request id for images to be unlocked.
93 std::unordered_map<ImageId, ImageController::ImageDecodeRequestId> 93 std::unordered_map<ImageId, ImageController::ImageDecodeRequestId>
94 image_id_to_decode_request_id_; 94 image_id_to_decode_request_id_;
95 95
96 base::WeakPtrFactory<CheckerImageTracker> weak_factory_; 96 base::WeakPtrFactory<CheckerImageTracker> weak_factory_;
97 }; 97 };
98 98
99 } // namespace cc 99 } // namespace cc
100 100
101 #endif // CC_TILES_CHECKER_IMAGE_TRACKER_H_ 101 #endif // CC_TILES_CHECKER_IMAGE_TRACKER_H_
OLDNEW
« no previous file with comments | « cc/test/solid_color_content_layer_client.cc ('k') | cc/tiles/decoded_draw_image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698