OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/i18n/file_util_icu.h" | 11 #include "base/i18n/file_util_icu.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/memory/scoped_handle.h" | 13 #include "base/memory/scoped_handle.h" |
14 #include "base/pickle.h" | 14 #include "base/pickle.h" |
15 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
16 #include "base/win/scoped_hglobal.h" | 16 #include "base/win/scoped_hglobal.h" |
17 #include "grit/ui_strings.h" | 17 #include "grit/ui_strings.h" |
18 #include "net/base/net_util.h" | 18 #include "net/base/filename_util.h" |
19 #include "ui/base/clipboard/clipboard.h" | 19 #include "ui/base/clipboard/clipboard.h" |
20 #include "ui/base/clipboard/clipboard_util_win.h" | 20 #include "ui/base/clipboard/clipboard_util_win.h" |
21 #include "ui/base/dragdrop/file_info.h" | 21 #include "ui/base/dragdrop/file_info.h" |
22 #include "ui/base/l10n/l10n_util.h" | 22 #include "ui/base/l10n/l10n_util.h" |
23 #include "url/gurl.h" | 23 #include "url/gurl.h" |
24 | 24 |
25 namespace ui { | 25 namespace ui { |
26 | 26 |
27 static const OSExchangeData::CustomFormat& GetRendererTaintCustomType() { | 27 static const OSExchangeData::CustomFormat& GetRendererTaintCustomType() { |
28 CR_DEFINE_STATIC_LOCAL( | 28 CR_DEFINE_STATIC_LOCAL( |
(...skipping 1026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1055 | 1055 |
1056 /////////////////////////////////////////////////////////////////////////////// | 1056 /////////////////////////////////////////////////////////////////////////////// |
1057 // OSExchangeData, public: | 1057 // OSExchangeData, public: |
1058 | 1058 |
1059 // static | 1059 // static |
1060 OSExchangeData::Provider* OSExchangeData::CreateProvider() { | 1060 OSExchangeData::Provider* OSExchangeData::CreateProvider() { |
1061 return new OSExchangeDataProviderWin(); | 1061 return new OSExchangeDataProviderWin(); |
1062 } | 1062 } |
1063 | 1063 |
1064 } // namespace ui | 1064 } // namespace ui |
OLD | NEW |