Chromium Code Reviews| 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_ |