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

Unified Diff: ui/base/dragdrop/bookmark_format.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: :( 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
Index: ui/base/dragdrop/bookmark_format.h
diff --git a/ui/base/dragdrop/bookmark_format.h b/ui/base/dragdrop/bookmark_format.h
new file mode 100644
index 0000000000000000000000000000000000000000..f520ab181375320d2d679605968d6189c4d57199
--- /dev/null
+++ b/ui/base/dragdrop/bookmark_format.h
@@ -0,0 +1,28 @@
+// 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 UI_BASE_DRAGDROP_BOOKMARK_FORMAT_H_
+#define UI_BASE_DRAGDROP_BOOKMARK_FORMAT_H_
+#pragma once
+
+#include "ui/base/ui_export.h"
+
+#if defined(TOOLKIT_VIEWS)
+#include "ui/base/dragdrop/os_exchange_data.h"
+#endif
+
+namespace ui {
+
+// The MIME type for the clipboard format for BookmarkNodeData.
+UI_EXPORT extern const char kClipboardFormatString[];
+
+#if defined(TOOLKIT_VIEWS)
+// Returns a format used across views for writing bookmark data based on the
jam 2011/10/11 01:42:21 1) why is bookmark stuff in ui/base? is this for d
Elliot Glaysher 2011/10/11 17:53:57 This is for drag/dropping bookmarks. I think I kno
+// mime type from kClipboardFormatString.
+UI_EXPORT ui::OSExchangeData::CustomFormat GetBookmarkCustomFormat();
+#endif
+
+} // namespace ui
+
+#endif // UI_BASE_DRAGDROP_BOOKMARK_FORMAT_H_

Powered by Google App Engine
This is Rietveld 408576698