| Index: Source/platform/ContextMenu.h
|
| diff --git a/Source/core/platform/ContextMenu.h b/Source/platform/ContextMenu.h
|
| similarity index 76%
|
| rename from Source/core/platform/ContextMenu.h
|
| rename to Source/platform/ContextMenu.h
|
| index f2c9a913e16ca9e03366ae5eb017d9818ac436c0..75bb587b182c07889d34e6b4674b8ee46f8cbcb5 100644
|
| --- a/Source/core/platform/ContextMenu.h
|
| +++ b/Source/platform/ContextMenu.h
|
| @@ -26,23 +26,25 @@
|
| #ifndef ContextMenu_h
|
| #define ContextMenu_h
|
|
|
| -#include "core/platform/ContextMenuItem.h"
|
| +#include "platform/ContextMenuItem.h"
|
| +#include "platform/PlatformExport.h"
|
| #include "wtf/Noncopyable.h"
|
| #include "wtf/Vector.h"
|
|
|
| namespace WebCore {
|
|
|
| - class ContextMenu {
|
| - WTF_MAKE_NONCOPYABLE(ContextMenu); WTF_MAKE_FAST_ALLOCATED;
|
| - public:
|
| - ContextMenu() { }
|
| - const ContextMenuItem* itemWithAction(unsigned) const;
|
| - const Vector<ContextMenuItem>& items() const { return m_items; }
|
| - void appendItem(const ContextMenuItem& item) { m_items.append(item); }
|
| +class PLATFORM_EXPORT ContextMenu {
|
| + WTF_MAKE_NONCOPYABLE(ContextMenu); WTF_MAKE_FAST_ALLOCATED;
|
| +public:
|
| + ContextMenu() { }
|
| + const ContextMenuItem* itemWithAction(unsigned) const;
|
| + const Vector<ContextMenuItem>& items() const { return m_items; }
|
| + void appendItem(const ContextMenuItem& item) { m_items.append(item); }
|
| +
|
| +private:
|
| + Vector<ContextMenuItem> m_items;
|
| +};
|
|
|
| - private:
|
| - Vector<ContextMenuItem> m_items;
|
| - };
|
| }
|
|
|
| #endif // ContextMenu_h
|
|
|