WebKit2WebExtension.ContextMenuAction
Description: Reference for WebKit2WebExtension.ContextMenuAction

### Enumeration

# WebKit2WebExtensionContextMenuAction

#### Declaration

    enum WebKit2WebExtension.ContextMenuAction

#### Description [src]

Enum values used to denote the stock actions for `WebKitContextMenuItem`s.

#### Members

`WEBKIT_CONTEXT_MENU_ACTION_NO_ACTION`

  No action, used by separator menu items.

  - Value: `0`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK`

  Open current link.

  - Value: `1`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK_IN_NEW_WINDOW`

  Open current link in a new window.

  - Value: `2`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_LINK_TO_DISK`

  Download link destination.

  - Value: `3`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_COPY_LINK_TO_CLIPBOARD`

  Copy link location to the clipboard.

  - Value: `4`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_OPEN_IMAGE_IN_NEW_WINDOW`

  Open current image in a new window.

  - Value: `5`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_IMAGE_TO_DISK`

  Download current image.

  - Value: `6`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_TO_CLIPBOARD`

  Copy current image to the clipboard.

  - Value: `7`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_URL_TO_CLIPBOARD`

  Copy current image location to the clipboard.

  - Value: `8`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_OPEN_FRAME_IN_NEW_WINDOW`

  Open current frame in a new window.

  - Value: `9`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_GO_BACK`

  Load the previous history item.

  - Value: `10`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_GO_FORWARD`

  Load the next history item.

  - Value: `11`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_STOP`

  Stop any ongoing loading operation.

  - Value: `12`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_RELOAD`

  Reload the contents of current view.

  - Value: `13`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_COPY`

  Copy current selection the clipboard.

  - Value: `14`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_CUT`

  Cut current selection to the clipboard.

  - Value: `15`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_PASTE`

  Paste clipboard contents.

  - Value: `16`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_DELETE`

  Delete current selection.

  - Value: `17`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_SELECT_ALL`

  Select all text.

  - Value: `18`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_INPUT_METHODS`

  Input methods menu.

  - Value: `19`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_UNICODE`

  Unicode menu.

  - Value: `20`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_SPELLING_GUESS`

  A proposed replacement for a misspelled word.

  - Value: `21`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_NO_GUESSES_FOUND`

  An indicator that spellchecking found no proposed replacements.

  - Value: `22`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_IGNORE_SPELLING`

  Causes the spellchecker to ignore the word for this session.

  - Value: `23`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_LEARN_SPELLING`

  Causes the spellchecker to add the word to the dictionary.

  - Value: `24`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_IGNORE_GRAMMAR`

  Ignore grammar.

  - Value: `25`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_FONT_MENU`

  Font options menu.

  - Value: `26`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_BOLD`

  Bold.

  - Value: `27`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_ITALIC`

  Italic.

  - Value: `28`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_UNDERLINE`

  Underline.

  - Value: `29`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_OUTLINE`

  Outline.

  - Value: `30`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_INSPECT_ELEMENT`

  Open current element in the inspector.

  - Value: `31`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_OPEN_VIDEO_IN_NEW_WINDOW`

  Open current video element in a new window.

  - Value: `32`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_OPEN_AUDIO_IN_NEW_WINDOW`

  Open current audio element in a new window.

  - Value: `33`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_COPY_VIDEO_LINK_TO_CLIPBOARD`

  Copy video link location in to the clipboard.

  - Value: `34`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_COPY_AUDIO_LINK_TO_CLIPBOARD`

  Copy audio link location in to the clipboard.

  - Value: `35`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_CONTROLS`

  Enable or disable media controls.

  - Value: `36`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_LOOP`

  Enable or disable media loop.

  - Value: `37`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_ENTER_VIDEO_FULLSCREEN`

  Show current video element in fullscreen mode.

  - Value: `38`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_MEDIA_PLAY`

  Play current media element.

  - Value: `39`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_MEDIA_PAUSE`

  Pause current media element.

  - Value: `40`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_MEDIA_MUTE`

  Mute current media element.

  - Value: `41`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_VIDEO_TO_DISK`

  Download video to disk. Since 2.2.

  - Value: `42`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_AUDIO_TO_DISK`

  Download audio to disk. Since 2.2.

  - Value: `43`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_INSERT_EMOJI`

  Insert an emoji. Since 2.26.

  - Value: `44`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_PASTE_AS_PLAIN_TEXT`

  Paste clipboard contents as plain text. Since 2.30.

  - Value: `45`
  - Available since: 4.0
`WEBKIT_CONTEXT_MENU_ACTION_CUSTOM`

  Custom action defined by applications.

  - Value: `10000`
  - Available since: 4.0