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/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "base/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "webkit/common/webdropdata.h" | 10 #include "webkit/common/webdropdata.h" |
11 | 11 |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 class RenderViewHost; | 14 class RenderViewHost; |
15 class WebContentsImpl; | 15 class WebContentsImpl; |
16 class WebDragDestDelegate; | 16 class WebDragDestDelegate; |
17 } | 17 } |
18 | 18 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 fromPasteboard:(NSPasteboard*)pboard; | 77 fromPasteboard:(NSPasteboard*)pboard; |
78 // Given a point in window coordinates and a view in that window, return a | 78 // Given a point in window coordinates and a view in that window, return a |
79 // flipped point in the coordinate system of |view|. | 79 // flipped point in the coordinate system of |view|. |
80 - (NSPoint)flipWindowPointToView:(const NSPoint&)windowPoint | 80 - (NSPoint)flipWindowPointToView:(const NSPoint&)windowPoint |
81 view:(NSView*)view; | 81 view:(NSView*)view; |
82 // Given a point in window coordinates and a view in that window, return a | 82 // Given a point in window coordinates and a view in that window, return a |
83 // flipped point in screen coordinates. | 83 // flipped point in screen coordinates. |
84 - (NSPoint)flipWindowPointToScreen:(const NSPoint&)windowPoint | 84 - (NSPoint)flipWindowPointToScreen:(const NSPoint&)windowPoint |
85 view:(NSView*)view; | 85 view:(NSView*)view; |
86 @end | 86 @end |
OLD | NEW |