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

Unified Diff: Source/platform/graphics/paint/DisplayItemList.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/paint/DisplayItem.cpp ('k') | Source/platform/graphics/paint/DisplayItemList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/paint/DisplayItemList.h
diff --git a/Source/platform/graphics/paint/DisplayItemList.h b/Source/platform/graphics/paint/DisplayItemList.h
deleted file mode 100644
index 7aaac2bf46ad8d59a7d014ee43e4f0d48f1876e8..0000000000000000000000000000000000000000
--- a/Source/platform/graphics/paint/DisplayItemList.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 DisplayItemList_h
-#define DisplayItemList_h
-
-#include "platform/PlatformExport.h"
-#include "platform/graphics/paint/DisplayItem.h"
-#include "wtf/HashSet.h"
-#include "wtf/PassOwnPtr.h"
-#include "wtf/Vector.h"
-
-namespace blink {
-
-typedef Vector<OwnPtr<DisplayItem> > PaintList;
-
-class PLATFORM_EXPORT DisplayItemList {
- WTF_MAKE_NONCOPYABLE(DisplayItemList);
-public:
- DisplayItemList() { };
-
- const PaintList& paintList();
- void add(WTF::PassOwnPtr<DisplayItem>);
- void invalidate(DisplayItemClient);
-
-#ifndef NDEBUG
- void showDebugData() const;
-#endif
-
-private:
- PaintList::iterator findDisplayItem(PaintList::iterator, const DisplayItem&);
- bool wasInvalidated(const DisplayItem&) const;
- void updatePaintList();
-
- PaintList m_paintList;
- HashSet<DisplayItemClient> m_paintListRenderers;
- HashSet<DisplayItemClient> m_invalidated;
- PaintList m_newPaints;
-};
-
-} // namespace blink
-
-#endif // DisplayItemList_h
« no previous file with comments | « Source/platform/graphics/paint/DisplayItem.cpp ('k') | Source/platform/graphics/paint/DisplayItemList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698