Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_GFX_MAC_POINT_UTILS_H_ | |
| 6 #define UI_GFX_MAC_POINT_UTILS_H_ | |
| 7 | |
| 8 #include "ui/gfx/gfx_export.h" | |
| 9 | |
| 10 typedef struct _NSPoint NSPoint; | |
| 11 typedef struct _NSRect NSRect; | |
| 12 | |
| 13 namespace gfx { | |
| 14 | |
| 15 class Point; | |
| 16 class Rect; | |
| 17 | |
| 18 GFX_EXPORT NSPoint ScreenPointToNSPoint(const gfx::Point& point); | |
|
Robert Sesek
2014/06/11 14:53:48
Document each of these.
tapted
2014/06/12 09:09:38
Will do this in a follow-up (although I'm still tr
tapted
2014/07/21 05:35:55
Done - this bit now landed (with documentation) in
| |
| 19 GFX_EXPORT gfx::Point ScreenPointFromNSPoint(const NSPoint& point); | |
| 20 GFX_EXPORT NSRect ScreenRectToNSRect(const gfx::Rect& rect); | |
| 21 GFX_EXPORT gfx::Rect ScreenRectFromNSRect(const NSRect& point); | |
| 22 | |
| 23 } // namespace gfx | |
| 24 | |
| 25 #endif // UI_GFX_MAC_POINT_UTILS_H_ | |
| OLD | NEW |