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

Unified Diff: third_party/WebKit/Source/platform/testing/PaintPrinters.h

Issue 1379883003: Create PaintChunk and begin writing code to build paint chunks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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: third_party/WebKit/Source/platform/testing/PaintPrinters.h
diff --git a/third_party/WebKit/Source/platform/testing/GeometryPrinters.h b/third_party/WebKit/Source/platform/testing/PaintPrinters.h
similarity index 53%
copy from third_party/WebKit/Source/platform/testing/GeometryPrinters.h
copy to third_party/WebKit/Source/platform/testing/PaintPrinters.h
index 589a13795db572400a8c57ada0cb0c89cd160a27..c18deb81906052a785eda2a37ab4bb247d28c44e 100644
--- a/third_party/WebKit/Source/platform/testing/GeometryPrinters.h
+++ b/third_party/WebKit/Source/platform/testing/PaintPrinters.h
@@ -2,21 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef GeometryPrinters_h
-#define GeometryPrinters_h
+#ifndef PaintPrinters_h
+#define PaintPrinters_h
-#include "platform/geometry/FloatRoundedRect.h"
#include <iosfwd>
namespace blink {
-class FloatBox;
-class FloatPoint;
-class FloatPoint3D;
-class FloatQuad;
-class FloatRect;
-class FloatSize;
-class LayoutRect;
+struct PaintChunk;
+struct PaintProperties;
// GTest print support for geometry classes.
//
@@ -29,16 +23,9 @@ class LayoutRect;
// use these printers. If, however, you get a link error about these symbols,
// you need to make sure the blink_platform_test_support target is linked in
// your unit test binary.
-void PrintTo(const FloatBox&, std::ostream*);
-void PrintTo(const FloatPoint&, std::ostream*);
-void PrintTo(const FloatPoint3D&, std::ostream*);
-void PrintTo(const FloatQuad&, std::ostream*);
-void PrintTo(const FloatRect&, std::ostream*);
-void PrintTo(const FloatRoundedRect&, std::ostream*);
-void PrintTo(const FloatRoundedRect::Radii&, std::ostream*);
-void PrintTo(const FloatSize&, std::ostream*);
-void PrintTo(const LayoutRect&, std::ostream*);
+void PrintTo(const PaintChunk&, std::ostream*);
+void PrintTo(const PaintProperties&, std::ostream*);
} // namespace blink
-#endif // GeometryPrinters_h
+#endif // PaintPrinters_h

Powered by Google App Engine
This is Rietveld 408576698