| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 WebContentsImpl; | 9 class WebContentsImpl; |
| 10 struct WebDropData; | 10 struct WebDropData; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 fromPasteboard:(NSPasteboard*)pboard; | 70 fromPasteboard:(NSPasteboard*)pboard; |
| 71 // Given a point in window coordinates and a view in that window, return a | 71 // Given a point in window coordinates and a view in that window, return a |
| 72 // flipped point in the coordinate system of |view|. | 72 // flipped point in the coordinate system of |view|. |
| 73 - (NSPoint)flipWindowPointToView:(const NSPoint&)windowPoint | 73 - (NSPoint)flipWindowPointToView:(const NSPoint&)windowPoint |
| 74 view:(NSView*)view; | 74 view:(NSView*)view; |
| 75 // Given a point in window coordinates and a view in that window, return a | 75 // Given a point in window coordinates and a view in that window, return a |
| 76 // flipped point in screen coordinates. | 76 // flipped point in screen coordinates. |
| 77 - (NSPoint)flipWindowPointToScreen:(const NSPoint&)windowPoint | 77 - (NSPoint)flipWindowPointToScreen:(const NSPoint&)windowPoint |
| 78 view:(NSView*)view; | 78 view:(NSView*)view; |
| 79 @end | 79 @end |
| OLD | NEW |