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

Side by Side Diff: content/browser/tab_contents/web_drag_dest_mac.h

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 RenderViewHost;
10 class TabContents; 9 class TabContents;
11 struct WebDropData; 10 struct WebDropData;
12 11
13 namespace content { 12 namespace content {
13 class RenderViewHost;
14 class WebDragDestDelegate; 14 class WebDragDestDelegate;
15 } 15 }
16 16
17 // A typedef for a RenderViewHost used for comparison purposes only. 17 // A typedef for a RenderViewHost used for comparison purposes only.
18 typedef RenderViewHost* RenderViewHostIdentifier; 18 typedef content::RenderViewHost* RenderViewHostIdentifier;
19 19
20 // A class that handles tracking and event processing for a drag and drop 20 // A class that handles tracking and event processing for a drag and drop
21 // over the content area. Assumes something else initiates the drag, this is 21 // over the content area. Assumes something else initiates the drag, this is
22 // only for processing during a drag. 22 // only for processing during a drag.
23 23
24 @interface WebDragDest : NSObject { 24 @interface WebDragDest : NSObject {
25 @private 25 @private
26 // Our associated TabContents. Weak reference. 26 // Our associated TabContents. Weak reference.
27 TabContents* tabContents_; 27 TabContents* tabContents_;
28 28
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « content/browser/tab_contents/web_drag_dest_gtk.cc ('k') | content/browser/tab_contents/web_drag_dest_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698