WebKitContextMenuAction

Enum values used to denote the stock actions for #WebKitContextMenuItem<!-- -->s

Values

ValueMeaning
NO_ACTION0

No action, used by separator menu items.

OPEN_IMAGE_IN_NEW_WINDOW5

Open current image in a new window.

DOWNLOAD_IMAGE_TO_DISK6

Download current image.

COPY_IMAGE_TO_CLIPBOARD7

Copy current image to the clipboard.

COPY_IMAGE_URL_TO_CLIPBOARD8

Copy current image location to the clipboard.

OPEN_FRAME_IN_NEW_WINDOW9

Open current frame in a new window.

GO_BACK10

Load the previous history item.

GO_FORWARD11

Load the next history item.

STOP12

Stop any ongoing loading operation.

RELOAD13

Reload the contents of current view.

COPY14

Copy current selection the clipboard.

CUT15

Cut current selection to the clipboard.

PASTE16

Paste clipboard contents.

DELETE17

Delete current selection.

SELECT_ALL18

Select all text.

INPUT_METHODS19

Input methods menu.

UNICODE20

Unicode menu.

SPELLING_GUESS21

A proposed replacement for a misspelled word.

NO_GUESSES_FOUND22

An indicator that spellchecking found no proposed replacements.

IGNORE_SPELLING23

Causes the spellchecker to ignore the word for this session.

LEARN_SPELLING24

Causes the spellchecker to add the word to the dictionary.

IGNORE_GRAMMAR25

Ignore grammar.

FONT_MENU26

Font options menu.

BOLD27

Bold.

ITALIC28

Italic.

UNDERLINE29

Underline.

OUTLINE30

Outline.

INSPECT_ELEMENT31

Open current element in the inspector.

OPEN_VIDEO_IN_NEW_WINDOW32

Open current video element in a new window.

OPEN_AUDIO_IN_NEW_WINDOW33

Open current audio element in a new window.

TOGGLE_MEDIA_CONTROLS36

Enable or disable media controls.

TOGGLE_MEDIA_LOOP37

Enable or disable media loop.

ENTER_VIDEO_FULLSCREEN38

Show current video element in fullscreen mode.

MEDIA_PLAY39

Play current media element.

MEDIA_PAUSE40

Pause current media element.

MEDIA_MUTE41

Mute current media element.

DOWNLOAD_VIDEO_TO_DISK42

Download video to disk. Since 2.2

DOWNLOAD_AUDIO_TO_DISK43

Download audio to disk. Since 2.2

INSERT_EMOJI44

Insert an emoji. Since 2.26

PASTE_AS_PLAIN_TEXT45

Paste clipboard contents as plain text. Since 2.30

CUSTOM10000

Custom action defined by applications.

Meta