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

Unified Diff: ui/base/cocoa/cocoa_base_utils.h

Issue 1777653002: Prepare ui/ module for compilation with OS X 10.7 deployment target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More compile errors. Created 4 years, 9 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
« no previous file with comments | « ui/app_list/cocoa/apps_search_box_controller.mm ('k') | ui/base/cocoa/cocoa_base_utils.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cocoa/cocoa_base_utils.h
diff --git a/ui/base/cocoa/cocoa_base_utils.h b/ui/base/cocoa/cocoa_base_utils.h
index c479f72f2a5ea0dc7b50ce076826f545f958beb8..627fe3ba325c3fa062a8e74bfc557bd1c8005d13 100644
--- a/ui/base/cocoa/cocoa_base_utils.h
+++ b/ui/base/cocoa/cocoa_base_utils.h
@@ -26,6 +26,14 @@ UI_BASE_EXPORT WindowOpenDisposition
UI_BASE_EXPORT WindowOpenDisposition
WindowOpenDispositionFromNSEventWithFlags(NSEvent* event, NSUInteger flags);
+// Converts a point from window coordinates to screen coordinates.
+UI_BASE_EXPORT NSPoint ConvertPointFromWindowToScreen(NSWindow* window,
+ NSPoint point);
+
+// Converts a point from screen coordinates to window coordinates.
+UI_BASE_EXPORT NSPoint ConvertPointFromScreenToWindow(NSWindow* window,
+ NSPoint point);
+
} // namespace ui
#endif // UI_BASE_COCOA_COCOA_BASE_UTILS_H_
« no previous file with comments | « ui/app_list/cocoa/apps_search_box_controller.mm ('k') | ui/base/cocoa/cocoa_base_utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698