Chromium Code Reviews| Index: chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h |
| diff --git a/chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h b/chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h |
| index 2deb2a5a094b1590683bb6d0a4d6117874b5cef6..50dadd93ea75ca0d08cb95da3c8d787905d85c05 100644 |
| --- a/chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h |
| +++ b/chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h |
| @@ -17,6 +17,10 @@ namespace cocoa_utils { |
| // coordinates (with (0,0) in the low-left corner). |
| NSRect ConvertRectToCocoaCoordinates(const gfx::Rect& bounds); |
| +// Converts a rect from the Cocoa screen oordinates (with (0,0) in the low-left |
| +// corner) to the platfrom-independent screen coordinates. |
|
Dmitry Titov
2013/09/05 20:49:59
typo: platfrom
could you add at the end: "with the
|
| +gfx::Rect ConvertRectFromCocoaCoordinates(NSRect bounds); |
| + |
| // Converts a point from the platfrom-independent screen coordinates (with the |
| // (0,0) in the top-left corner of the primary screen) to the Cocoa screen |
| // coordinates (with (0,0) in the low-left corner). |