OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/ui/cocoa/web_drop_target.h" | 5 #import "chrome/browser/ui/cocoa/tab_contents/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_node_data.h" | 8 #include "chrome/browser/bookmarks/bookmark_node_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/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 |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 if (exists && !isDir) | 274 if (exists && !isDir) |
275 data->filenames.push_back(base::SysNSStringToUTF16(filename)); | 275 data->filenames.push_back(base::SysNSStringToUTF16(filename)); |
276 } | 276 } |
277 } | 277 } |
278 } | 278 } |
279 | 279 |
280 // TODO(pinkerton): Get file contents. http://crbug.com/34661 | 280 // TODO(pinkerton): Get file contents. http://crbug.com/34661 |
281 } | 281 } |
282 | 282 |
283 @end | 283 @end |
OLD | NEW |