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/strings/string_split.h" | 9 #include "base/strings/string_split.h" |
10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 } | 536 } |
537 } | 537 } |
538 | 538 |
539 return false; | 539 return false; |
540 } | 540 } |
541 | 541 |
542 std::vector< ::Atom> OSExchangeDataProviderAuraX11::GetTargets() const { | 542 std::vector< ::Atom> OSExchangeDataProviderAuraX11::GetTargets() const { |
543 return format_map_.GetTypes(); | 543 return format_map_.GetTypes(); |
544 } | 544 } |
545 | 545 |
546 /////////////////////////////////////////////////////////////////////////////// | |
547 // OSExchangeData, public: | |
548 | |
549 // static | |
550 OSExchangeData::Provider* OSExchangeData::CreateProvider() { | |
551 return new OSExchangeDataProviderAuraX11(); | |
552 } | |
553 | |
554 } // namespace ui | 546 } // namespace ui |
OLD | NEW |