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

Side by Side Diff: ui/gfx/mac/point_utils.h

Issue 309483009: Remaining bits to get views_examples_with_content_exe to work on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to master@r275900 Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698