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

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

Issue 2497033002: Break apart WebGestureEvent from WebInputEvent. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.cc ('k') | content/common/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #import <Carbon/Carbon.h> 7 #import <Carbon/Carbon.h>
8 8
9 #include "base/strings/sys_string_conversions.h" 9 #include "base/strings/sys_string_conversions.h"
10 #include "content/browser/renderer_host/render_view_host_impl.h" 10 #include "content/browser/renderer_host/render_view_host_impl.h"
11 #include "content/browser/web_contents/web_contents_impl.h" 11 #include "content/browser/web_contents/web_contents_impl.h"
12 #include "content/public/browser/web_contents_delegate.h" 12 #include "content/public/browser/web_contents_delegate.h"
13 #include "content/public/browser/web_drag_dest_delegate.h" 13 #include "content/public/browser/web_drag_dest_delegate.h"
14 #include "content/public/common/drop_data.h" 14 #include "content/public/common/drop_data.h"
15 #include "third_party/WebKit/public/web/WebInputEvent.h" 15 #include "third_party/WebKit/public/platform/WebInputEvent.h"
16 #import "third_party/mozilla/NSPasteboard+Utils.h" 16 #import "third_party/mozilla/NSPasteboard+Utils.h"
17 #include "ui/base/clipboard/custom_data_helper.h" 17 #include "ui/base/clipboard/custom_data_helper.h"
18 #include "ui/base/cocoa/cocoa_base_utils.h" 18 #include "ui/base/cocoa/cocoa_base_utils.h"
19 #import "ui/base/dragdrop/cocoa_dnd_util.h" 19 #import "ui/base/dragdrop/cocoa_dnd_util.h"
20 #include "ui/base/window_open_disposition.h" 20 #include "ui/base/window_open_disposition.h"
21 21
22 using blink::WebDragOperationsMask; 22 using blink::WebDragOperationsMask;
23 using content::DropData; 23 using content::DropData;
24 using content::OpenURLParams; 24 using content::OpenURLParams;
25 using content::Referrer; 25 using content::Referrer;
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 // Get custom MIME data. 333 // Get custom MIME data.
334 if ([types containsObject:ui::kWebCustomDataPboardType]) { 334 if ([types containsObject:ui::kWebCustomDataPboardType]) {
335 NSData* customData = [pboard dataForType:ui::kWebCustomDataPboardType]; 335 NSData* customData = [pboard dataForType:ui::kWebCustomDataPboardType];
336 ui::ReadCustomDataIntoMap([customData bytes], 336 ui::ReadCustomDataIntoMap([customData bytes],
337 [customData length], 337 [customData length],
338 &data->custom_data); 338 &data->custom_data);
339 } 339 }
340 } 340 }
341 341
342 @end 342 @end
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_view_aura.cc ('k') | content/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698