| OLD | NEW |
| 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 // Download utility implementation | 5 // Download utility implementation |
| 6 | 6 |
| 7 #include "chrome/browser/download/download_util.h" | 7 #include "chrome/browser/download/download_util.h" |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 #if defined(TOOLKIT_VIEWS) | 36 #if defined(TOOLKIT_VIEWS) |
| 37 #include "app/os_exchange_data.h" | 37 #include "app/os_exchange_data.h" |
| 38 #include "views/drag_utils.h" | 38 #include "views/drag_utils.h" |
| 39 #endif | 39 #endif |
| 40 | 40 |
| 41 #if defined(OS_LINUX) | 41 #if defined(OS_LINUX) |
| 42 #if defined(TOOLKIT_VIEWS) | 42 #if defined(TOOLKIT_VIEWS) |
| 43 #include "app/drag_drop_types.h" | 43 #include "app/drag_drop_types.h" |
| 44 #include "views/widget/widget_gtk.h" | 44 #include "views/widget/widget_gtk.h" |
| 45 #elif defined(TOOLKIT_GTK) | 45 #elif defined(TOOLKIT_GTK) |
| 46 #include "chrome/browser/gtk/download_item_drag.h" | 46 #include "chrome/browser/gtk/custom_drag.h" |
| 47 #endif // defined(TOOLKIT_GTK) | 47 #endif // defined(TOOLKIT_GTK) |
| 48 #endif // defined(OS_LINUX) | 48 #endif // defined(OS_LINUX) |
| 49 | 49 |
| 50 #if defined(OS_WIN) | 50 #if defined(OS_WIN) |
| 51 #include "app/os_exchange_data_provider_win.h" | 51 #include "app/os_exchange_data_provider_win.h" |
| 52 #include "base/base_drag_source.h" | 52 #include "base/base_drag_source.h" |
| 53 #endif | 53 #endif |
| 54 | 54 |
| 55 namespace download_util { | 55 namespace download_util { |
| 56 | 56 |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 | 451 |
| 452 #if !defined(OS_MACOSX) | 452 #if !defined(OS_MACOSX) |
| 453 void UpdateAppIconDownloadProgress(int download_count, | 453 void UpdateAppIconDownloadProgress(int download_count, |
| 454 bool progress_known, | 454 bool progress_known, |
| 455 float progress) { | 455 float progress) { |
| 456 // Win7 Superbar wants some pixel lovin! http://crbug.com/8039 | 456 // Win7 Superbar wants some pixel lovin! http://crbug.com/8039 |
| 457 } | 457 } |
| 458 #endif | 458 #endif |
| 459 | 459 |
| 460 } // namespace download_util | 460 } // namespace download_util |
| OLD | NEW |