blob: 2d6864f917cfa6c46468bde1393bde4c3f2594ab [file] [log] [blame]
// 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