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

Unified Diff: Source/platform/graphics/paint/ClipDisplayItem.h

Issue 723103002: Revert "Move ViewDisplayList to GraphicsLayer" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 | « Source/platform/graphics/GraphicsLayer.cpp ('k') | Source/platform/graphics/paint/ClipDisplayItem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/paint/ClipDisplayItem.h
diff --git a/Source/platform/graphics/paint/ClipDisplayItem.h b/Source/platform/graphics/paint/ClipDisplayItem.h
deleted file mode 100644
index c599ca7f13742ead3f4b05e9c75d4620fa5b4c67..0000000000000000000000000000000000000000
--- a/Source/platform/graphics/paint/ClipDisplayItem.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ClipDisplayItem_h
-#define ClipDisplayItem_h
-
-#include "platform/PlatformExport.h"
-#include "platform/geometry/IntRect.h"
-#include "platform/graphics/paint/DisplayItem.h"
-#include "wtf/Vector.h"
-
-namespace blink {
-
-class RoundedRect;
-
-class PLATFORM_EXPORT ClipDisplayItem : public DisplayItem {
-public:
- ClipDisplayItem(DisplayItemClient client, Type type, IntRect clipRect)
- : DisplayItem(client, type), m_clipRect(clipRect) { }
-
- Vector<RoundedRect>& roundedRectClips() { return m_roundedRectClips; }
-
-private:
- virtual void replay(GraphicsContext*) override;
-
- IntRect m_clipRect;
- Vector<RoundedRect> m_roundedRectClips;
-#ifndef NDEBUG
- virtual WTF::String asDebugString() const override;
-#endif
-};
-
-class PLATFORM_EXPORT EndClipDisplayItem : public DisplayItem {
-public:
- EndClipDisplayItem() : DisplayItem(0, EndClip) { }
-
-private:
- virtual void replay(GraphicsContext*) override;
-};
-
-} // namespace blink
-
-#endif // ClipDisplayItem_h
« no previous file with comments | « Source/platform/graphics/GraphicsLayer.cpp ('k') | Source/platform/graphics/paint/ClipDisplayItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698