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

Unified Diff: cc/paint/clip_display_item.h

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: none 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
Index: cc/paint/clip_display_item.h
diff --git a/cc/playback/clip_display_item.h b/cc/paint/clip_display_item.h
similarity index 82%
rename from cc/playback/clip_display_item.h
rename to cc/paint/clip_display_item.h
index 5830f96ada188f3e0f24b15f00aa269b8764c9e0..32898e6a346ad233bde0e223a1608253449a00ba 100644
--- a/cc/playback/clip_display_item.h
+++ b/cc/paint/clip_display_item.h
@@ -2,16 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CC_PLAYBACK_CLIP_DISPLAY_ITEM_H_
-#define CC_PLAYBACK_CLIP_DISPLAY_ITEM_H_
+#ifndef CC_PAINT_CLIP_DISPLAY_ITEM_H_
+#define CC_PAINT_CLIP_DISPLAY_ITEM_H_
#include <stddef.h>
#include <memory>
#include <vector>
-#include "cc/base/cc_export.h"
-#include "cc/playback/display_item.h"
+#include "cc/paint/display_item.h"
+#include "cc/paint/paint_export.h"
#include "third_party/skia/include/core/SkRRect.h"
#include "ui/gfx/geometry/rect.h"
@@ -19,7 +19,7 @@ class SkCanvas;
namespace cc {
-class CC_EXPORT ClipDisplayItem : public DisplayItem {
+class CC_PAINT_EXPORT ClipDisplayItem : public DisplayItem {
public:
ClipDisplayItem(const gfx::Rect& clip_rect,
const std::vector<SkRRect>& rounded_clip_rects,
@@ -49,7 +49,7 @@ class CC_EXPORT ClipDisplayItem : public DisplayItem {
bool antialias_;
};
-class CC_EXPORT EndClipDisplayItem : public DisplayItem {
+class CC_PAINT_EXPORT EndClipDisplayItem : public DisplayItem {
public:
EndClipDisplayItem();
~EndClipDisplayItem() override;
@@ -62,4 +62,4 @@ class CC_EXPORT EndClipDisplayItem : public DisplayItem {
} // namespace cc
-#endif // CC_PLAYBACK_CLIP_DISPLAY_ITEM_H_
+#endif // CC_PAINT_CLIP_DISPLAY_ITEM_H_
« cc/debug/debug_colors.h ('K') | « cc/paint/BUILD.gn ('k') | cc/paint/clip_display_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698