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

Side by Side Diff: chrome/browser/cocoa/web_drop_target.mm

Issue 1596025: Move third_pary/mozilla/include up one directory. (Closed)
Patch Set: Created 10 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/browser/cocoa/web_drop_target.h" 5 #import "chrome/browser/cocoa/web_drop_target.h"
6 6
7 #include "base/sys_string_conversions.h" 7 #include "base/sys_string_conversions.h"
8 #include "chrome/browser/bookmarks/bookmark_drag_data.h" 8 #include "chrome/browser/bookmarks/bookmark_drag_data.h"
9 #include "chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h" 9 #include "chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h"
10 #include "chrome/browser/renderer_host/render_view_host.h" 10 #include "chrome/browser/renderer_host/render_view_host.h"
11 #include "chrome/browser/tab_contents/tab_contents.h" 11 #include "chrome/browser/tab_contents/tab_contents.h"
12 #import "third_party/mozilla/include/NSPasteboard+Utils.h" 12 #import "third_party/mozilla/NSPasteboard+Utils.h"
13 #include "webkit/glue/webdropdata.h" 13 #include "webkit/glue/webdropdata.h"
14 #include "webkit/glue/window_open_disposition.h" 14 #include "webkit/glue/window_open_disposition.h"
15 15
16 using WebKit::WebDragOperationsMask; 16 using WebKit::WebDragOperationsMask;
17 17
18 @implementation WebDropTarget 18 @implementation WebDropTarget
19 19
20 // |contents| is the TabContents representing this tab, used to communicate 20 // |contents| is the TabContents representing this tab, used to communicate
21 // drag&drop messages to WebCore and handle navigation on a successful drop 21 // drag&drop messages to WebCore and handle navigation on a successful drop
22 // (if necessary). 22 // (if necessary).
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 if (exists && !isDir) 265 if (exists && !isDir)
266 data->filenames.push_back(base::SysNSStringToUTF16(filename)); 266 data->filenames.push_back(base::SysNSStringToUTF16(filename));
267 } 267 }
268 } 268 }
269 } 269 }
270 270
271 // TODO(pinkerton): Get file contents. http://crbug.com/34661 271 // TODO(pinkerton): Get file contents. http://crbug.com/34661
272 } 272 }
273 273
274 @end 274 @end
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/web_drag_source.mm ('k') | chrome/browser/cocoa/web_drop_target_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698