Index: ui/gfx/insets_f.cc |
diff --git a/ui/gfx/insets_f.cc b/ui/gfx/insets_f.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..93c028e43a0147a4db255557ec6eacdb7ccbdc50 |
--- /dev/null |
+++ b/ui/gfx/insets_f.cc |
@@ -0,0 +1,16 @@ |
+// Copyright (c) 2009 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. |
+ |
+#include "ui/gfx/insets_f.h" |
+ |
+#include "base/stringprintf.h" |
+ |
+namespace gfx { |
+ |
+std::string InsetsF::ToString() const { |
+ // Print members in the same order of the constructor parameters. |
+ return StringPrintf("%f,%f,%f,%f", top_, left_, bottom_, right_); |
+} |
+ |
+} // namespace gfx |