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

Unified Diff: Source/platform/ContextMenu.h

Issue 78513004: Move ContextMenu* files from core/ to platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ContextMenuItem.cpp Created 7 years, 1 month 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 | « Source/core/platform/ContextMenuItem.cpp ('k') | Source/platform/ContextMenu.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/platform/ContextMenuItem.cpp ('k') | Source/platform/ContextMenu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698