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

Side by Side Diff: cc/raster/image_hijack_canvas.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/raster/gpu_raster_buffer_provider.cc ('k') | cc/raster/image_hijack_canvas.cc » ('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_PLAYBACK_IMAGE_HIJACK_CANVAS_H_ 5 #ifndef CC_RASTER_IMAGE_HIJACK_CANVAS_H_
6 #define CC_PLAYBACK_IMAGE_HIJACK_CANVAS_H_ 6 #define CC_RASTER_IMAGE_HIJACK_CANVAS_H_
7 7
8 #include <unordered_set> 8 #include <unordered_set>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
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 "third_party/skia/include/utils/SkNWayCanvas.h" 13 #include "third_party/skia/include/utils/SkNWayCanvas.h"
14 14
15 namespace cc { 15 namespace cc {
16 16
17 class ImageDecodeCache; 17 class ImageDecodeCache;
18 18
19 class CC_EXPORT ImageHijackCanvas : public SkNWayCanvas { 19 class CC_EXPORT ImageHijackCanvas : public SkNWayCanvas {
20 public: 20 public:
21 ImageHijackCanvas(int width, 21 ImageHijackCanvas(int width,
22 int height, 22 int height,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 bool ShouldSkipImageInPaint(const SkPaint& paint) const; 56 bool ShouldSkipImageInPaint(const SkPaint& paint) const;
57 57
58 ImageDecodeCache* image_decode_cache_; 58 ImageDecodeCache* image_decode_cache_;
59 const ImageIdFlatSet* images_to_skip_; 59 const ImageIdFlatSet* images_to_skip_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(ImageHijackCanvas); 61 DISALLOW_COPY_AND_ASSIGN(ImageHijackCanvas);
62 }; 62 };
63 63
64 } // namespace cc 64 } // namespace cc
65 65
66 #endif // CC_PLAYBACK_IMAGE_HIJACK_CANVAS_H_ 66 #endif // CC_RASTER_IMAGE_HIJACK_CANVAS_H_
OLDNEW
« no previous file with comments | « cc/raster/gpu_raster_buffer_provider.cc ('k') | cc/raster/image_hijack_canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698