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

Side by Side Diff: content/browser/tab_contents/web_drag_source_mac.mm

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/tab_contents/web_drag_source_mac.h" 5 #import "content/browser/tab_contents/web_drag_source_mac.h"
6 6
7 #include <sys/param.h> 7 #include <sys/param.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/pickle.h" 11 #include "base/pickle.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/sys_string_conversions.h" 13 #include "base/sys_string_conversions.h"
14 #include "base/task.h"
15 #include "base/threading/thread.h" 14 #include "base/threading/thread.h"
16 #include "base/threading/thread_restrictions.h" 15 #include "base/threading/thread_restrictions.h"
17 #include "base/utf_string_conversions.h" 16 #include "base/utf_string_conversions.h"
18 #include "content/browser/browser_thread_impl.h" 17 #include "content/browser/browser_thread_impl.h"
19 #include "content/browser/download/drag_download_file.h" 18 #include "content/browser/download/drag_download_file.h"
20 #include "content/browser/download/drag_download_util.h" 19 #include "content/browser/download/drag_download_util.h"
21 #include "content/browser/renderer_host/render_view_host.h" 20 #include "content/browser/renderer_host/render_view_host.h"
22 #include "content/browser/tab_contents/tab_contents.h" 21 #include "content/browser/tab_contents/tab_contents.h"
23 #include "content/public/browser/content_browser_client.h" 22 #include "content/public/browser/content_browser_client.h"
24 #include "content/public/common/url_constants.h" 23 #include "content/public/common/url_constants.h"
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 436
438 - (NSImage*)dragImage { 437 - (NSImage*)dragImage {
439 if (dragImage_) 438 if (dragImage_)
440 return dragImage_; 439 return dragImage_;
441 440
442 // Default to returning a generic image. 441 // Default to returning a generic image.
443 return gfx::GetCachedImageWithName(@"nav.pdf"); 442 return gfx::GetCachedImageWithName(@"nav.pdf");
444 } 443 }
445 444
446 @end // @implementation WebDragSource (Private) 445 @end // @implementation WebDragSource (Private)
OLDNEW
« no previous file with comments | « content/browser/speech/endpointer/endpointer_unittest.cc ('k') | content/browser/worker_host/message_port_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698