Skip to content
  • philn@webkit.org's avatar
    2010-09-20 Philippe Normand <pnormand@igalia.com> · fd50428d
    philn@webkit.org authored
            Reviewed by Eric Carlson.
    
            [GTK] enhanced context menu for media elements
            https://bugs.webkit.org/show_bug.cgi?id=45021
    
            New items in the media Element context menu:
            - play/pause
            - mute/unmute
            - controls display control
            - switch to fullscreen (for video only)
            - loop playback control
            - copy media url to clipboard
            - open in new window
    
            Test: media/context-menu-actions.html
    
            * page/ContextMenuController.cpp:
            (WebCore::ContextMenuController::contextMenuItemSelected):
            * platform/ContextMenu.cpp:
            (WebCore::ContextMenu::populate):
            (WebCore::ContextMenu::checkOrEnableIfNeeded):
            * platform/ContextMenuItem.h:
            * platform/LocalizationStrategy.h:
            * platform/LocalizedStrings.cpp:
            (WebCore::contextMenuItemTagOpenVideoInNewWindow):
            (WebCore::contextMenuItemTagOpenAudioInNewWindow):
            (WebCor...
    fd50428d