aboutsummaryrefslogtreecommitdiff
path: root/src/shared/operations.js
blob: 4172f8b7716a47709efd2c9c79e3be1b4bfae2bc (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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_CLOSE_FORCE: 'tabs.close.force',
  TAB_REOPEN: 'tabs.reopen',
  TAB_PREV: 'tabs.prev',
  TAB_NEXT: 'tabs.next',
  TAB_FIRST: 'tabs.first',
  TAB_LAST: 'tabs.last',
  TAB_PREV_SEL: 'tabs.prevsel',
  TAB_RELOAD: 'tabs.reload',
  TAB_PIN: 'tabs.pin',
  TAB_UNPIN: 'tabs.unpin',
  TAB_TOGGLE_PINNED: 'tabs.pin.toggle',
  TAB_DUPLICATE: 'tabs.duplicate',

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

  // Url yank/paste
  URLS_YANK: 'urls.yank',
  URLS_PASTE: 'urls.paste',

  // Find
  FIND_START: 'find.start',
  FIND_NEXT: 'find.next',
  FIND_PREV: 'find.prev',
};