Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1125)

Unified Diff: trunk/src/chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h

Issue 23922003: Revert 221651 "Switch to doing user-resizing via system for pane..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h
===================================================================
--- trunk/src/chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h (revision 221673)
+++ trunk/src/chrome/browser/ui/cocoa/panels/panel_utils_cocoa.h (working copy)
@@ -12,23 +12,18 @@
namespace cocoa_utils {
// TODO(dcheng): Move elsewhere so BrowserWindowCocoa can use them too.
-// Converts a rect from the platform-independent screen coordinates (with the
+// Converts a rect 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).
NSRect ConvertRectToCocoaCoordinates(const gfx::Rect& bounds);
-// 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
+// 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).
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 platform-independent screen
+// low-left corner of the primary screen) to the platfrom-independent screen
// coordinates (with the (0,0) in the top-left corner).
gfx::Point ConvertPointFromCocoaCoordinates(NSPoint point);
« no previous file with comments | « trunk/src/chrome/browser/ui/cocoa/panels/panel_cocoa.mm ('k') | trunk/src/chrome/browser/ui/cocoa/panels/panel_utils_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698