OLD | NEW |
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 #include "ui/base/dragdrop/os_exchange_data_provider_win.h" | 5 #include "ui/base/dragdrop/os_exchange_data_provider_win.h" |
6 | 6 |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 #include "base/i18n/file_util_icu.h" | 8 #include "base/i18n/file_util_icu.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/memory/scoped_handle.h" | 10 #include "base/memory/scoped_handle.h" |
11 #include "base/pickle.h" | 11 #include "base/pickle.h" |
12 #include "base/stl_util-inl.h" | 12 #include "base/stl_util.h" |
13 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
14 #include "base/win/scoped_hglobal.h" | 14 #include "base/win/scoped_hglobal.h" |
15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
16 #include "grit/ui_strings.h" | 16 #include "grit/ui_strings.h" |
17 #include "net/base/net_util.h" | 17 #include "net/base/net_util.h" |
18 #include "ui/base/clipboard/clipboard_util_win.h" | 18 #include "ui/base/clipboard/clipboard_util_win.h" |
19 #include "ui/base/l10n/l10n_util.h" | 19 #include "ui/base/l10n/l10n_util.h" |
20 | 20 |
21 namespace ui { | 21 namespace ui { |
22 | 22 |
(...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
940 return new OSExchangeDataProviderWin(); | 940 return new OSExchangeDataProviderWin(); |
941 } | 941 } |
942 | 942 |
943 // static | 943 // static |
944 OSExchangeData::CustomFormat OSExchangeData::RegisterCustomFormat( | 944 OSExchangeData::CustomFormat OSExchangeData::RegisterCustomFormat( |
945 const std::string& type) { | 945 const std::string& type) { |
946 return RegisterClipboardFormat(ASCIIToUTF16(type).c_str()); | 946 return RegisterClipboardFormat(ASCIIToUTF16(type).c_str()); |
947 } | 947 } |
948 | 948 |
949 } // namespace ui | 949 } // namespace ui |
OLD | NEW |