Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: ui/base/dragdrop/os_exchange_data_provider_aurax11.cc

Issue 2179813003: Allow OSExchangeData::Provider to be overridden at run time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delete that. ;_; Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698