Chromium Code Reviews| Index: base/gfx/size.h |
| =================================================================== |
| --- base/gfx/size.h (revision 34954) |
| +++ base/gfx/size.h (working copy) |
| @@ -24,9 +24,16 @@ |
| public: |
| Size() : width_(0), height_(0) {} |
| Size(int width, int height); |
| +#if defined(OS_MACOSX) |
| + explicit Size(const CGSize& s); |
| +#endif |
| ~Size() {} |
| +#if defined(OS_MACOSX) |
| + Size& operator=(const CGSize& s); |
| +#endif |
| + |
| int width() const { return width_; } |
| int height() const { return height_; } |