Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2282)

Unified Diff: content/browser/tab_contents/drag_utils_gtk.h

Issue 8196001: content: Split web_drag_dest_gtk.cc into chrome/ and content/ parts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix viewgtk compile Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/browser/tab_contents/drag_utils_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/drag_utils_gtk.h
diff --git a/content/browser/tab_contents/drag_utils_gtk.h b/content/browser/tab_contents/drag_utils_gtk.h
new file mode 100644
index 0000000000000000000000000000000000000000..a8f1f2f294163cb5770bf97cf708011f30d913c4
--- /dev/null
+++ b/content/browser/tab_contents/drag_utils_gtk.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2011 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_BROWSER_TAB_CONTENTS_DRAG_UTILS_GTK_H_
+#define CONTENT_BROWSER_TAB_CONTENTS_DRAG_UTILS_GTK_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 // CONTENT_BROWSER_TAB_CONTENTS_DRAG_UTILS_GTK_H_
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/browser/tab_contents/drag_utils_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698