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

Side by Side Diff: cc/tiles/image_controller.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/tiles/gpu_image_decode_cache_unittest.cc ('k') | cc/tiles/image_decode_cache.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_IMAGE_CONTROLLER_H_ 5 #ifndef CC_TILES_IMAGE_CONTROLLER_H_
6 #define CC_TILES_IMAGE_CONTROLLER_H_ 6 #define CC_TILES_IMAGE_CONTROLLER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/threading/simple_thread.h" 14 #include "base/threading/simple_thread.h"
15 #include "cc/base/cc_export.h"
16 #include "cc/base/unique_notifier.h" 15 #include "cc/base/unique_notifier.h"
17 #include "cc/playback/draw_image.h" 16 #include "cc/cc_export.h"
17 #include "cc/paint/draw_image.h"
18 #include "cc/raster/tile_task.h" 18 #include "cc/raster/tile_task.h"
19 #include "cc/tiles/image_decode_cache.h" 19 #include "cc/tiles/image_decode_cache.h"
20 20
21 namespace cc { 21 namespace cc {
22 22
23 class CC_EXPORT ImageController { 23 class CC_EXPORT ImageController {
24 public: 24 public:
25 enum class ImageDecodeResult { SUCCESS, DECODE_NOT_REQUIRED, FAILURE }; 25 enum class ImageDecodeResult { SUCCESS, DECODE_NOT_REQUIRED, FAILURE };
26 26
27 using ImageDecodeRequestId = uint64_t; 27 using ImageDecodeRequestId = uint64_t;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 std::vector<ImageDecodeRequest> orphaned_decode_requests_; 111 std::vector<ImageDecodeRequest> orphaned_decode_requests_;
112 112
113 base::WeakPtrFactory<ImageController> weak_ptr_factory_; 113 base::WeakPtrFactory<ImageController> weak_ptr_factory_;
114 114
115 DISALLOW_COPY_AND_ASSIGN(ImageController); 115 DISALLOW_COPY_AND_ASSIGN(ImageController);
116 }; 116 };
117 117
118 } // namespace cc 118 } // namespace cc
119 119
120 #endif // CC_TILES_IMAGE_CONTROLLER_H_ 120 #endif // CC_TILES_IMAGE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « cc/tiles/gpu_image_decode_cache_unittest.cc ('k') | cc/tiles/image_decode_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698