| Index: ui/gfx/size.h
|
| diff --git a/ui/gfx/size.h b/ui/gfx/size.h
|
| index a237a5e443dde7ec51d4fd77f4b0eec2ad49f750..8e5436042138ddef5a4de13c62ed526e8cc4e63e 100644
|
| --- a/ui/gfx/size.h
|
| +++ b/ui/gfx/size.h
|
| @@ -6,7 +6,7 @@
|
| #define UI_GFX_SIZE_H_
|
| #pragma once
|
|
|
| -#include <iosfwd>
|
| +#include <string>
|
|
|
| #include "build/build_config.h"
|
| #include "ui/base/ui_export.h"
|
| @@ -22,7 +22,7 @@ namespace gfx {
|
| // A size has width and height values.
|
| class UI_EXPORT Size {
|
| public:
|
| - Size() : width_(0), height_(0) {}
|
| + Size();
|
| Size(int width, int height);
|
| #if defined(OS_MACOSX)
|
| explicit Size(const CGSize& s);
|
| @@ -71,13 +71,13 @@ class UI_EXPORT Size {
|
| CGSize ToCGSize() const;
|
| #endif
|
|
|
| + std::string ToString() const;
|
| +
|
| private:
|
| int width_;
|
| int height_;
|
| };
|
|
|
| -UI_EXPORT std::ostream& operator<<(std::ostream& out, const gfx::Size& s);
|
| -
|
| } // namespace gfx
|
|
|
| #endif // UI_GFX_SIZE_H_
|
|
|