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 <shlobj.h> | 5 #include <shlobj.h> |
6 | 6 |
7 #include "app/os_exchange_data.h" | 7 #include "app/os_exchange_data.h" |
8 | 8 |
9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
10 #include "base/clipboard_util.h" | 10 #include "base/clipboard_util.h" |
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 descriptor->fgd[0].dwFlags = FD_LINKUI; | 697 descriptor->fgd[0].dwFlags = FD_LINKUI; |
698 | 698 |
699 GlobalUnlock(handle); | 699 GlobalUnlock(handle); |
700 | 700 |
701 STGMEDIUM* storage = new STGMEDIUM; | 701 STGMEDIUM* storage = new STGMEDIUM; |
702 storage->hGlobal = handle; | 702 storage->hGlobal = handle; |
703 storage->tymed = TYMED_HGLOBAL; | 703 storage->tymed = TYMED_HGLOBAL; |
704 storage->pUnkForRelease = NULL; | 704 storage->pUnkForRelease = NULL; |
705 return storage; | 705 return storage; |
706 } | 706 } |
OLD | NEW |