| // Copyright 2017 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "components/exo/data_device.h" |
| |
| #include "base/logging.h" |
| #include "components/exo/data_device_delegate.h" |
| |
| namespace exo { |
| |
| DataDevice::DataDevice(DataDeviceDelegate* delegate) : delegate_(delegate) {} |
| |
| DataDevice::~DataDevice() { |
| delegate_->OnDataDeviceDestroying(this); |
| } |
| |
| void DataDevice::StartDrag(const DataSource* source_resource, |
| Surface* origin_resource, |
| Surface* icon_resource, |
| uint32_t serial) { |
| // TODO(hirono): Check if serial is valid. crbug.com/746111 |
| NOTIMPLEMENTED(); |
| } |
| |
| void DataDevice::SetSelection(const DataSource* source, uint32_t serial) { |
| // TODO(hirono): Check if serial is valid. crbug.com/746111 |
| NOTIMPLEMENTED(); |
| } |
| |
| } // namespace exo |