summaryrefslogtreecommitdiff
path: root/chromium/content/common/drag_traits.h
blob: f165ec02f5e3c4cc89bb12ec081eafc3fb05e1c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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_TRAITS_H_
#define CONTENT_COMMON_DRAG_TRAITS_H_

#include "content/common/drag_event_source_info.h"
#include "ipc/ipc_message_macros.h"
#include "ui/gfx/geometry/point.h"

#define IPC_MESSAGE_START DragMsgStart

IPC_STRUCT_TRAITS_BEGIN(content::DragEventSourceInfo)
  IPC_STRUCT_TRAITS_MEMBER(event_location)
  IPC_STRUCT_TRAITS_MEMBER(event_source)
IPC_STRUCT_TRAITS_END()

#endif  // CONTENT_COMMON_DRAG_TRAITS_H_