summaryrefslogtreecommitdiffstats
path: root/content/common/drag_event_source_info.h
blob: 59a6f7c16dfff6a45045ceb35a6932bdf27276c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2012 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.

#ifndef CONTENT_COMMON_DRAG_EVENT_SOURCE_INFO_H_
#define CONTENT_COMMON_DRAG_EVENT_SOURCE_INFO_H_

#include "content/common/content_export.h"
#include "ui/base/dragdrop/drag_drop_types.h"
#include "ui/gfx/point.h"

namespace content {

// Information about the event that started a drag session.
struct CONTENT_EXPORT DragEventSourceInfo {
  gfx::Point event_location;
  ui::DragDropTypes::DragEventSource event_source;
};

};  // namespace content

#endif  // CONTENT_COMMON_DRAG_EVENT_SOURCE_INFO_H_