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_aurax11.h" | 5 #include "ui/base/dragdrop/os_exchange_data_provider_aurax11.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/memory/ref_counted_memory.h" | 8 #include "base/memory/ref_counted_memory.h" |
9 #include "base/message_loop/message_pump_x11.h" | 9 #include "base/message_loop/message_pump_x11.h" |
10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
12 #include "net/base/net_util.h" | 12 #include "net/base/filename_util.h" |
13 #include "ui/base/clipboard/clipboard.h" | 13 #include "ui/base/clipboard/clipboard.h" |
14 #include "ui/base/clipboard/scoped_clipboard_writer.h" | 14 #include "ui/base/clipboard/scoped_clipboard_writer.h" |
15 #include "ui/base/dragdrop/file_info.h" | 15 #include "ui/base/dragdrop/file_info.h" |
16 #include "ui/base/x/selection_utils.h" | 16 #include "ui/base/x/selection_utils.h" |
17 #include "ui/base/x/x11_util.h" | 17 #include "ui/base/x/x11_util.h" |
18 | 18 |
19 // Note: the GetBlah() methods are used immediately by the | 19 // Note: the GetBlah() methods are used immediately by the |
20 // web_contents_view_aura.cc:PrepareDropData(), while the omnibox is a | 20 // web_contents_view_aura.cc:PrepareDropData(), while the omnibox is a |
21 // little more discriminating and calls HasBlah() before trying to get the | 21 // little more discriminating and calls HasBlah() before trying to get the |
22 // information. | 22 // information. |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 | 527 |
528 /////////////////////////////////////////////////////////////////////////////// | 528 /////////////////////////////////////////////////////////////////////////////// |
529 // OSExchangeData, public: | 529 // OSExchangeData, public: |
530 | 530 |
531 // static | 531 // static |
532 OSExchangeData::Provider* OSExchangeData::CreateProvider() { | 532 OSExchangeData::Provider* OSExchangeData::CreateProvider() { |
533 return new OSExchangeDataProviderAuraX11(); | 533 return new OSExchangeDataProviderAuraX11(); |
534 } | 534 } |
535 | 535 |
536 } // namespace ui | 536 } // namespace ui |
OLD | NEW |