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

Unified Diff: content/browser/web_contents/web_drag_source_mac.h

Issue 11231077: Move a bunch more code into the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/web_drag_source_mac.h
===================================================================
--- content/browser/web_contents/web_drag_source_mac.h (revision 163514)
+++ content/browser/web_contents/web_drag_source_mac.h (working copy)
@@ -9,15 +9,17 @@
#include "base/memory/scoped_ptr.h"
#include "googleurl/src/gurl.h"
+struct WebDropData;
+namespace content {
class WebContentsImpl;
-struct WebDropData;
+}
// A class that handles tracking and event processing for a drag and drop
// originating from the content area.
@interface WebDragSource : NSObject {
@private
// Our contents. Weak reference (owns or co-owns us).
- WebContentsImpl* contents_;
+ content::WebContentsImpl* contents_;
// The view from which the drag was initiated. Weak reference.
NSView* contentsView_;
@@ -50,7 +52,7 @@
// Initialize a WebDragSource object for a drag (originating on the given
// contentsView and with the given dropData and pboard). Fill the pasteboard
// with data types appropriate for dropData.
-- (id)initWithContents:(WebContentsImpl*)contents
+- (id)initWithContents:(content::WebContentsImpl*)contents
view:(NSView*)contentsView
dropData:(const WebDropData*)dropData
image:(NSImage*)image
« no previous file with comments | « content/browser/web_contents/web_drag_dest_mac.mm ('k') | content/browser/web_contents/web_drag_source_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698