OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // Download utility implementation | 5 // Download utility implementation |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "chrome/browser/download_util.h" | 9 #include "chrome/browser/download/download_util.h" |
10 | 10 |
11 #include "base/base_drag_source.h" | 11 #include "base/base_drag_source.h" |
12 #include "base/file_util.h" | 12 #include "base/file_util.h" |
13 #include "base/gfx/image_operations.h" | 13 #include "base/gfx/image_operations.h" |
14 #include "chrome/app/theme/theme_resources.h" | 14 #include "chrome/app/theme/theme_resources.h" |
15 #include "chrome/browser/browser_process.h" | 15 #include "chrome/browser/browser_process.h" |
16 #include "chrome/browser/download_manager.h" | 16 #include "chrome/browser/download/download_manager.h" |
17 #include "chrome/common/clipboard_service.h" | 17 #include "chrome/common/clipboard_service.h" |
18 #include "chrome/browser/drag_utils.h" | 18 #include "chrome/browser/drag_utils.h" |
19 #include "chrome/common/gfx/chrome_canvas.h" | 19 #include "chrome/common/gfx/chrome_canvas.h" |
20 #include "chrome/common/l10n_util.h" | 20 #include "chrome/common/l10n_util.h" |
21 #include "chrome/common/os_exchange_data.h" | 21 #include "chrome/common/os_exchange_data.h" |
22 #include "chrome/common/resource_bundle.h" | 22 #include "chrome/common/resource_bundle.h" |
23 #include "chrome/views/view.h" | 23 #include "chrome/views/view.h" |
24 #include "generated_resources.h" | 24 #include "generated_resources.h" |
25 #include "SkPath.h" | 25 #include "SkPath.h" |
26 #include "SkShader.h" | 26 #include "SkShader.h" |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 | 398 |
399 // Run the drag and drop loop | 399 // Run the drag and drop loop |
400 DWORD effects; | 400 DWORD effects; |
401 DoDragDrop(data.get(), drag_source.get(), DROPEFFECT_COPY | DROPEFFECT_LINK, | 401 DoDragDrop(data.get(), drag_source.get(), DROPEFFECT_COPY | DROPEFFECT_LINK, |
402 &effects); | 402 &effects); |
403 } | 403 } |
404 | 404 |
405 | 405 |
406 } // namespace download_util | 406 } // namespace download_util |
407 | 407 |
OLD | NEW |