Chromium Code Reviews| Index: content/browser/tab_contents/gtk_drag_utils.h |
| diff --git a/content/browser/tab_contents/gtk_drag_utils.h b/content/browser/tab_contents/gtk_drag_utils.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7fb270638cf743a52186868c370f8e97689fe7b3 |
| --- /dev/null |
| +++ b/content/browser/tab_contents/gtk_drag_utils.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
|
jam
2011/10/11 01:42:21
nit: all the other files in this change that have
Elliot Glaysher
2011/10/11 21:58:13
In most of the gtk directories, like ui/base/gtk/,
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_BROWSER_TAB_CONTENTS_GTK_DRAG_UTILS_H_ |
| +#define CONTENT_BROWSER_TAB_CONTENTS_GTK_DRAG_UTILS_H_ |
| +#pragma once |
| + |
| +#include <gtk/gtk.h> |
| + |
| +#include "content/common/content_export.h" |
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" |
| + |
| +namespace content { |
| + |
| +// Convenience methods for converting between web drag operations and the GDK |
| +// equivalent. |
| +CONTENT_EXPORT GdkDragAction WebDragOpToGdkDragAction( |
| + WebKit::WebDragOperationsMask op); |
| +CONTENT_EXPORT WebKit::WebDragOperationsMask GdkDragActionToWebDragOp( |
| + GdkDragAction action); |
| + |
| +} // namespace content |
| + |
| +#endif |