Index: Source/web/tests/sim/SimDisplayItemList.h |
diff --git a/Source/web/tests/sim/SimDisplayItemList.h b/Source/web/tests/sim/SimDisplayItemList.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c898079e3d704ecfc4ce7caba87674a8333ec3ee |
--- /dev/null |
+++ b/Source/web/tests/sim/SimDisplayItemList.h |
@@ -0,0 +1,28 @@ |
+// Copyright 2015 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 SimDisplayItemList_h |
+#define SimDisplayItemList_h |
+ |
+#include "public/platform/WebDisplayItemList.h" |
+ |
+namespace blink { |
+ |
+class SimDisplayItemList final : public WebDisplayItemList { |
+public: |
+ SimDisplayItemList(); |
+ |
+ void appendDrawingItem(const SkPicture*) override; |
+ |
+ bool didDrawText() const { return m_didDrawText; } |
+ int drawCount() const { return m_drawCount; } |
+ |
+private: |
+ bool m_didDrawText; |
+ int m_drawCount; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif |