[EFL] Back, Forward and Stop should be hidden in context menu

https://bugs.webkit.org/show_bug.cgi?id=116615

Patch by Michał Pakuła vel Rutka <m.pakula@samsung.com> on 2013-05-23
Reviewed by Christophe Dumez.

Context menu items: Back, Forward, Stop, Reload, should be shown only when
they are able to perform action.

No new tests - no new functionality.

* page/ContextMenuController.cpp:
(WebCore::ContextMenuController::populate):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 4d9032c1
2013-05-23 Michał Pakuła vel Rutka <m.pakula@samsung.com>
[EFL] Back, Forward and Stop should be hidden in context menu
https://bugs.webkit.org/show_bug.cgi?id=116615
Reviewed by Christophe Dumez.
Context menu items: Back, Forward, Stop, Reload, should be shown only when
they are able to perform action.
No new tests - no new functionality.
* page/ContextMenuController.cpp:
(WebCore::ContextMenuController::populate):
2013-05-22 Dean Jackson <dino@apple.com>
Rolling out r150555. It borked about 30 media tests.
......
......@@ -890,8 +890,8 @@ void ContextMenuController::populate()
if (!(frame->page() && frame->page()->inspectorController()->hasInspectorFrontendClient())) {
#endif
// In GTK+ and EFL, unavailable items are not hidden but insensitive.
#if PLATFORM(GTK) || PLATFORM(EFL)
// In GTK+ unavailable items are not hidden but insensitive.
#if PLATFORM(GTK)
appendItem(BackItem, m_contextMenu.get());
appendItem(ForwardItem, m_contextMenu.get());
appendItem(StopItem, m_contextMenu.get());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment