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 #include "app/os_exchange_data_provider_win.h" | 5 #include "app/os_exchange_data_provider_win.h" |
6 | 6 |
7 #include "app/clipboard/clipboard_util_win.h" | 7 #include "app/clipboard/clipboard_util_win.h" |
8 #include "app/l10n_util.h" | 8 #include "app/l10n_util.h" |
9 #include "base/file_util.h" | 9 #include "base/i18n/file_util.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/pickle.h" | 11 #include "base/pickle.h" |
12 #include "base/scoped_handle.h" | 12 #include "base/scoped_handle.h" |
13 #include "base/stl_util-inl.h" | 13 #include "base/stl_util-inl.h" |
14 #include "base/string_util.h" | 14 #include "base/string_util.h" |
15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
16 #include "grit/app_strings.h" | 16 #include "grit/app_strings.h" |
17 #include "net/base/net_util.h" | 17 #include "net/base/net_util.h" |
18 | 18 |
19 // Creates a new STGMEDIUM object to hold the specified text. The caller | 19 // Creates a new STGMEDIUM object to hold the specified text. The caller |
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 // static | 748 // static |
749 OSExchangeData::Provider* OSExchangeData::CreateProvider() { | 749 OSExchangeData::Provider* OSExchangeData::CreateProvider() { |
750 return new OSExchangeDataProviderWin(); | 750 return new OSExchangeDataProviderWin(); |
751 } | 751 } |
752 | 752 |
753 // static | 753 // static |
754 OSExchangeData::CustomFormat OSExchangeData::RegisterCustomFormat( | 754 OSExchangeData::CustomFormat OSExchangeData::RegisterCustomFormat( |
755 const std::string& type) { | 755 const std::string& type) { |
756 return RegisterClipboardFormat(ASCIIToWide(type).c_str()); | 756 return RegisterClipboardFormat(ASCIIToWide(type).c_str()); |
757 } | 757 } |
OLD | NEW |