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..aefd5651541cb9e8eb3af86d08852d425c0d3a24 100644 |
--- a/chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h |
+++ b/chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h |
@@ -12,18 +12,23 @@ |
namespace cocoa_utils { |
// TODO(dcheng): Move elsewhere so BrowserWindowCocoa can use them too. |
-// Converts a rect from the platfrom-independent screen coordinates (with the |
+// Converts a rect from the platform-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). |
NSRect ConvertRectToCocoaCoordinates(const gfx::Rect& bounds); |
-// Converts a point from the platfrom-independent screen coordinates (with the |
+// Converts a rect from the Cocoa screen oordinates (with (0,0) in the low-left |
+// corner) to the platform-independent screen coordinates (with the (0,0) in |
+// the top-left corner of the primary screen). |
+gfx::Rect ConvertRectFromCocoaCoordinates(NSRect bounds); |
+ |
+// Converts a point from the platform-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). |
NSPoint ConvertPointToCocoaCoordinates(const gfx::Point& point); |
// Converts a point from the Cocoa screen coordinates (with (0,0) in the |
-// low-left corner of the primary screen) to the platfrom-independent screen |
+// low-left corner of the primary screen) to the platform-independent screen |
// coordinates (with the (0,0) in the top-left corner). |
gfx::Point ConvertPointFromCocoaCoordinates(NSPoint point); |