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

Unified Diff: Source/WebCore/platform/ContextMenuItem.cpp

Issue 14185003: Use ContextMenu code path that was guarded by CROSS_PLATFORM_CONTEXT_MENU (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use ContextMenu code path that was guarded by CROSS_PLATFORM_CONTEXT_MENU Created 7 years, 8 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 | « Source/WebCore/platform/ContextMenuItem.h ('k') | Source/WebCore/platform/PlatformMenuDescription.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/ContextMenuItem.cpp
diff --git a/Source/WebCore/platform/ContextMenuItem.cpp b/Source/WebCore/platform/ContextMenuItem.cpp
index 246ad4aaad9e4f162a83105c7b7fd03aeff37ff7..aaba4a036f32271a36f700112e4969b654748f3e 100644
--- a/Source/WebCore/platform/ContextMenuItem.cpp
+++ b/Source/WebCore/platform/ContextMenuItem.cpp
@@ -28,7 +28,7 @@
#include "ContextMenu.h"
-#if ENABLE(CONTEXT_MENUS) && USE(CROSS_PLATFORM_CONTEXT_MENUS)
+#if ENABLE(CONTEXT_MENUS)
namespace WebCore {
@@ -51,7 +51,7 @@ ContextMenuItem::ContextMenuItem(ContextMenuItemType type, ContextMenuAction act
, m_checked(checked)
{
}
-
+
ContextMenuItem::ContextMenuItem(ContextMenuAction action, const String& title, bool enabled, bool checked, const Vector<ContextMenuItem>& subMenuItems)
: m_type(SubmenuType)
, m_action(action)
@@ -119,4 +119,4 @@ bool ContextMenuItem::enabled() const
} // namespace WebCore
-#endif // ENABLE(CONTEXT_MENUS) && USE(CROSS_PLATFORM_CONTEXT_MENUS)
+#endif // ENABLE(CONTEXT_MENUS)
« no previous file with comments | « Source/WebCore/platform/ContextMenuItem.h ('k') | Source/WebCore/platform/PlatformMenuDescription.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698