OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
6 | 6 |
7 #include "base/string16.h" | 7 #include "base/string16.h" |
8 | 8 |
9 class GURL; | 9 class GURL; |
10 class RenderViewHost; | 10 class RenderViewHost; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 fromPasteboard:(NSPasteboard*)pboard; | 71 fromPasteboard:(NSPasteboard*)pboard; |
72 // Given a point in window coordinates and a view in that window, return a | 72 // Given a point in window coordinates and a view in that window, return a |
73 // flipped point in the coordinate system of |view|. | 73 // flipped point in the coordinate system of |view|. |
74 - (NSPoint)flipWindowPointToView:(const NSPoint&)windowPoint | 74 - (NSPoint)flipWindowPointToView:(const NSPoint&)windowPoint |
75 view:(NSView*)view; | 75 view:(NSView*)view; |
76 // Given a point in window coordinates and a view in that window, return a | 76 // Given a point in window coordinates and a view in that window, return a |
77 // flipped point in screen coordinates. | 77 // flipped point in screen coordinates. |
78 - (NSPoint)flipWindowPointToScreen:(const NSPoint&)windowPoint | 78 - (NSPoint)flipWindowPointToScreen:(const NSPoint&)windowPoint |
79 view:(NSView*)view; | 79 view:(NSView*)view; |
80 @end | 80 @end |
OLD | NEW |