| 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 #include "chrome/browser/drag_utils.h" | 5 #include "chrome/browser/drag_utils.h" |
| 6 | 6 |
| 7 #include <objidl.h> | 7 #include <objidl.h> |
| 8 #include <shlobj.h> | 8 #include <shlobj.h> |
| 9 #include <shobjidl.h> | 9 #include <shobjidl.h> |
| 10 | 10 |
| 11 #include "base/file_util.h" | 11 #include "base/file_util.h" |
| 12 #include "base/gfx/gdi_util.h" | 12 #include "base/gfx/gdi_util.h" |
| 13 #include "base/gfx/point.h" | 13 #include "base/gfx/point.h" |
| 14 #include "base/string_util.h" | 14 #include "base/string_util.h" |
| 15 #include "chrome/app/theme/theme_resources.h" | 15 #include "grit/theme_resources.h" |
| 16 #include "chrome/browser/views/bookmark_bar_view.h" | 16 #include "chrome/browser/views/bookmark_bar_view.h" |
| 17 #include "chrome/common/gfx/chrome_canvas.h" | 17 #include "chrome/common/gfx/chrome_canvas.h" |
| 18 #include "chrome/common/gfx/chrome_font.h" | 18 #include "chrome/common/gfx/chrome_font.h" |
| 19 #include "chrome/common/os_exchange_data.h" | 19 #include "chrome/common/os_exchange_data.h" |
| 20 #include "chrome/common/resource_bundle.h" | 20 #include "chrome/common/resource_bundle.h" |
| 21 #include "chrome/common/win_util.h" | 21 #include "chrome/common/win_util.h" |
| 22 #include "chrome/views/text_button.h" | 22 #include "chrome/views/text_button.h" |
| 23 #include "googleurl/src/gurl.h" | 23 #include "googleurl/src/gurl.h" |
| 24 | 24 |
| 25 namespace drag_utils { | 25 namespace drag_utils { |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 | 198 |
| 199 // Attach 'bitmap' to the data_object. | 199 // Attach 'bitmap' to the data_object. |
| 200 SetDragImageOnDataObject(bitmap, width, height, | 200 SetDragImageOnDataObject(bitmap, width, height, |
| 201 cursor_x_offset, | 201 cursor_x_offset, |
| 202 cursor_y_offset, | 202 cursor_y_offset, |
| 203 data_object); | 203 data_object); |
| 204 } | 204 } |
| 205 | 205 |
| 206 } // namespace drag_utils | 206 } // namespace drag_utils |
| 207 | 207 |
| OLD | NEW |