cef/cef1/libcef/web_drag_utils_gtk.h
Marshall Greenblatt 6f54e8b117 Merge revision 1074 changes:
- Linux: Update the drag&drop implementation to match other platforms (issue #876).

git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1364@1075 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
2013-02-01 17:55:48 +00:00

24 lines
821 B
C++

// Copyright (c) 2013 The Chromium Embedded Framework Authors.
// Portions 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 CEF_LIBCEF_WEB_DRAG_UTILS_GTK_H_
#define CEF_LIBCEF_WEB_DRAG_UTILS_GTK_H_
#pragma once
#include <gdk/gdk.h>
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
namespace web_drag_utils_gtk {
// Convenience methods for converting between web drag operations and the GDK
// equivalent.
GdkDragAction WebDragOpToGdkDragAction(WebKit::WebDragOperationsMask op);
WebKit::WebDragOperationsMask GdkDragActionToWebDragOp(GdkDragAction action);
} // namespace web_drag_utils_gtk
#endif // CEF_LIBCEF_WEB_DRAG_UTILS_GTK_H_