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

Unified Diff: cc/paint/compositing_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/compositing_display_item.h
diff --git a/cc/playback/compositing_display_item.h b/cc/paint/compositing_display_item.h
similarity index 85%
rename from cc/playback/compositing_display_item.h
rename to cc/paint/compositing_display_item.h
index 9555973b993f29c8d0eeb780df240b855bf4bb62..2c92403d8cee66686b5004974f0d496d6fe39b97 100644
--- a/cc/playback/compositing_display_item.h
+++ b/cc/paint/compositing_display_item.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CC_PLAYBACK_COMPOSITING_DISPLAY_ITEM_H_
-#define CC_PLAYBACK_COMPOSITING_DISPLAY_ITEM_H_
+#ifndef CC_PAINT_COMPOSITING_DISPLAY_ITEM_H_
+#define CC_PAINT_COMPOSITING_DISPLAY_ITEM_H_
#include <stddef.h>
#include <stdint.h>
@@ -11,8 +11,8 @@
#include <memory>
#include "base/memory/ptr_util.h"
-#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/SkColorFilter.h"
#include "third_party/skia/include/core/SkRect.h"
#include "third_party/skia/include/core/SkRefCnt.h"
@@ -22,7 +22,7 @@ class SkCanvas;
namespace cc {
-class CC_EXPORT CompositingDisplayItem : public DisplayItem {
+class CC_PAINT_EXPORT CompositingDisplayItem : public DisplayItem {
public:
CompositingDisplayItem(uint8_t alpha,
SkBlendMode xfermode,
@@ -60,7 +60,7 @@ class CC_EXPORT CompositingDisplayItem : public DisplayItem {
bool lcd_text_requires_opaque_layer_;
};
-class CC_EXPORT EndCompositingDisplayItem : public DisplayItem {
+class CC_PAINT_EXPORT EndCompositingDisplayItem : public DisplayItem {
public:
EndCompositingDisplayItem();
~EndCompositingDisplayItem() override;
@@ -77,4 +77,4 @@ class CC_EXPORT EndCompositingDisplayItem : public DisplayItem {
} // namespace cc
-#endif // CC_PLAYBACK_COMPOSITING_DISPLAY_ITEM_H_
+#endif // CC_PAINT_COMPOSITING_DISPLAY_ITEM_H_

Powered by Google App Engine
This is Rietveld 408576698