aboutsummaryrefslogtreecommitdiff
path: root/src/shared/operations.js
blob: d5c2985b27b8e16dd7780baf7de9fd287ead3a15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
export default {
  // Addons
  ADDON_ENABLE: 'addon.enable',
  ADDON_DISABLE: 'addon.disable',
  ADDON_TOGGLE_ENABLED: 'addon.toggle.enabled',

  // Command
  COMMAND_SHOW: 'command.show',
  COMMAND_SHOW_OPEN: 'command.show.open',
  COMMAND_SHOW_TABOPEN: 'command.show.tabopen',
  COMMAND_SHOW_WINOPEN: 'command.show.winopen',
  COMMAND_SHOW_BUFFER: 'command.show.buffer',

  // Scrolls
  SCROLL_VERTICALLY: 'scroll.vertically',
  SCROLL_HORIZONALLY: 'scroll.horizonally',
  SCROLL_PAGES: 'scroll.pages',
  SCROLL_TOP: 'scroll.top',
  SCROLL_BOTTOM: 'scroll.bottom',
  SCROLL_HOME: 'scroll.home',
  SCROLL_END: 'scroll.end',

  // Follows
  FOLLOW_START: 'follow.start',

  // Navigations
  NAVIGATE_HISTORY_PREV: 'navigate.history.prev',
  NAVIGATE_HISTORY_NEXT: 'navigate.history.next',
  NAVIGATE_LINK_PREV: 'navigate.link.prev',
  NAVIGATE_LINK_NEXT: 'navigate.link.next',
  NAVIGATE_PARENT: 'navigate.parent',
  NAVIGATE_ROOT: 'navigate.root',

  // Tabs
  TAB_CLOSE: 'tabs.close',
  TAB_REOPEN: 'tabs.reopen',
  TAB_PREV: 'tabs.prev',
  TAB_NEXT: 'tabs.next',
  TAB_RELOAD: 'tabs.reload',

  // Zooms
  ZOOM_IN: 'zoom.in',
  ZOOM_OUT: 'zoom.out',
  ZOOM_NEUTRAL: 'zoom.neutral',

  // Url yank
  URLS_YANK: 'urls.yank',
};