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

Unified Diff: cc/paint/discardable_image_map.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/paint/compositing_display_item.cc ('k') | cc/paint/discardable_image_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/paint/discardable_image_map.h
diff --git a/cc/playback/discardable_image_map.h b/cc/paint/discardable_image_map.h
similarity index 85%
rename from cc/playback/discardable_image_map.h
rename to cc/paint/discardable_image_map.h
index abbf08bc0e7a52b4e767c96ccfbf280f2a5e9443..57594b2da352a4660338507200b54579b97db67c 100644
--- a/cc/playback/discardable_image_map.h
+++ b/cc/paint/discardable_image_map.h
@@ -2,17 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CC_PLAYBACK_DISCARDABLE_IMAGE_MAP_H_
-#define CC_PLAYBACK_DISCARDABLE_IMAGE_MAP_H_
+#ifndef CC_PAINT_DISCARDABLE_IMAGE_MAP_H_
+#define CC_PAINT_DISCARDABLE_IMAGE_MAP_H_
#include <unordered_map>
#include <utility>
#include <vector>
-#include "cc/base/cc_export.h"
#include "cc/base/rtree.h"
-#include "cc/playback/draw_image.h"
-#include "cc/playback/image_id.h"
+#include "cc/paint/draw_image.h"
+#include "cc/paint/image_id.h"
+#include "cc/paint/paint_export.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkRefCnt.h"
#include "ui/gfx/geometry/rect.h"
@@ -26,9 +26,9 @@ SkRect MapRect(const SkMatrix& matrix, const SkRect& src);
// This class is used for generating discardable images data (see DrawImage
// for the type of data it stores). It allows the client to query a particular
// rect and get back a list of DrawImages in that rect.
-class CC_EXPORT DiscardableImageMap {
+class CC_PAINT_EXPORT DiscardableImageMap {
public:
- class CC_EXPORT ScopedMetadataGenerator {
+ class CC_PAINT_EXPORT ScopedMetadataGenerator {
public:
ScopedMetadataGenerator(DiscardableImageMap* image_map,
const gfx::Size& bounds);
@@ -65,4 +65,4 @@ class CC_EXPORT DiscardableImageMap {
} // namespace cc
-#endif // CC_PLAYBACK_DISCARDABLE_IMAGE_MAP_H_
+#endif // CC_PAINT_DISCARDABLE_IMAGE_MAP_H_
« no previous file with comments | « cc/paint/compositing_display_item.cc ('k') | cc/paint/discardable_image_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698