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

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

Issue 303543004: MacViews: views_examples_with_content_exe working! Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add files 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
« no previous file with comments | « ui/gfx/image/image_skia_operations.cc ('k') | ui/gfx/mac/point_utils.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
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
« no previous file with comments | « ui/gfx/image/image_skia_operations.cc ('k') | ui/gfx/mac/point_utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698