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

Unified Diff: third_party/WebKit/Source/platform/geometry/FloatBox.h

Issue 2191233002: Add platform/geometry pretty printers for logging and testing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fewer redundant spaces, more toString tests Created 4 years, 4 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/geometry/FloatBox.h
diff --git a/third_party/WebKit/Source/platform/geometry/FloatBox.h b/third_party/WebKit/Source/platform/geometry/FloatBox.h
index bc2951eeb4231e60143bb53a7b79916ca8482600..f363e488446239b220dfb6df3565e963d0351365 100644
--- a/third_party/WebKit/Source/platform/geometry/FloatBox.h
+++ b/third_party/WebKit/Source/platform/geometry/FloatBox.h
@@ -30,6 +30,7 @@
#ifndef FloatBox_h
#define FloatBox_h
+#include "platform/PlatformExport.h"
#include "platform/geometry/FloatPoint3D.h"
#include "wtf/Allocator.h"
#include <algorithm>
@@ -38,7 +39,7 @@
namespace blink {
-class FloatBox {
+class PLATFORM_EXPORT FloatBox {
DISALLOW_NEW();
public:
FloatBox()
@@ -159,6 +160,9 @@ public:
float width() const { return m_width; }
float height() const { return m_height; }
float depth() const { return m_depth; }
+
+ String toString() const;
+
private:
float m_x;
float m_y;
« no previous file with comments | « third_party/WebKit/Source/platform/blink_platform.gypi ('k') | third_party/WebKit/Source/platform/geometry/FloatBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698