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

Side by Side Diff: content/browser/web_contents/web_drag_dest_mac.mm

Issue 10054012: TabContents -> WebContentsImpl, part 7. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DEPS Created 8 years, 8 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) 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 "content/browser/web_contents/web_drag_dest_mac.h" 5 #import "content/browser/web_contents/web_drag_dest_mac.h"
6 6
7 #include "base/sys_string_conversions.h" 7 #include "base/sys_string_conversions.h"
8 #include "content/browser/renderer_host/render_view_host_impl.h" 8 #include "content/browser/renderer_host/render_view_host_impl.h"
9 #include "content/browser/tab_contents/tab_contents.h" 9 #include "content/browser/web_contents/web_contents_impl.h"
10 #include "content/public/browser/web_drag_dest_delegate.h" 10 #include "content/public/browser/web_drag_dest_delegate.h"
11 #import "third_party/mozilla/NSPasteboard+Utils.h" 11 #import "third_party/mozilla/NSPasteboard+Utils.h"
12 #include "ui/base/clipboard/custom_data_helper.h" 12 #include "ui/base/clipboard/custom_data_helper.h"
13 #import "ui/base/dragdrop/cocoa_dnd_util.h" 13 #import "ui/base/dragdrop/cocoa_dnd_util.h"
14 #include "webkit/glue/webdropdata.h" 14 #include "webkit/glue/webdropdata.h"
15 #include "webkit/glue/window_open_disposition.h" 15 #include "webkit/glue/window_open_disposition.h"
16 16
17 using WebKit::WebDragOperationsMask; 17 using WebKit::WebDragOperationsMask;
18 using content::OpenURLParams; 18 using content::OpenURLParams;
19 using content::Referrer; 19 using content::Referrer;
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 // Get custom MIME data. 242 // Get custom MIME data.
243 if ([types containsObject:ui::kWebCustomDataPboardType]) { 243 if ([types containsObject:ui::kWebCustomDataPboardType]) {
244 NSData* customData = [pboard dataForType:ui::kWebCustomDataPboardType]; 244 NSData* customData = [pboard dataForType:ui::kWebCustomDataPboardType];
245 ui::ReadCustomDataIntoMap([customData bytes], 245 ui::ReadCustomDataIntoMap([customData bytes],
246 [customData length], 246 [customData length],
247 &data->custom_data); 247 &data->custom_data);
248 } 248 }
249 } 249 }
250 250
251 @end 251 @end
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_drag_dest_gtk.cc ('k') | content/browser/web_contents/web_drag_source_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698