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

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

Issue 854713003: More old files deletion. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix tryjobs? Created 5 years, 11 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
« no previous file with comments | « ui/gfx/linux_font_delegate.cc ('k') | ui/gfx/mac/coordinate_conversion.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_COORDINATE_CONVERSION_H_
6 #define UI_GFX_MAC_COORDINATE_CONVERSION_H_
7
8 #import <Foundation/Foundation.h>
9
10 #include "ui/gfx/gfx_export.h"
11
12 namespace gfx {
13
14 class Rect;
15
16 // Convert a gfx::Rect specified with the origin at the top left of the primary
17 // display into AppKit secreen coordinates (origin at the bottom left).
18 GFX_EXPORT NSRect ScreenRectToNSRect(const gfx::Rect& rect);
19
20 // Convert an AppKit NSRect with origin in the bottom left of the primary
21 // display into a gfx::Rect with origin at the top left of the primary display.
22 GFX_EXPORT gfx::Rect ScreenRectFromNSRect(const NSRect& point);
23
24 } // namespace gfx
25
26 #endif // UI_GFX_MAC_COORDINATE_CONVERSION_H_
OLDNEW
« no previous file with comments | « ui/gfx/linux_font_delegate.cc ('k') | ui/gfx/mac/coordinate_conversion.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698