aboutsummaryrefslogtreecommitdiff
path: root/e2e/ambassador/src/shared/messages.js
blob: d148ca09f93f4d46b67985e2c9db0bff34e896ef (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
const METHOD_REQUEST = 'request';
const METHOD_RESPONSE = 'response';
const WINDOWS_CREATE = 'windows.create';
const WINDOWS_REMOVE = 'windows.remove';
const WINDOWS_GET = 'windows.get';
const TABS_CREATE = 'tabs.create';
const TABS_SELECT_AT = 'tabs.selectAt';
const TABS_GET = 'tabs.get';
const TABS_UPDATE = 'tabs.update';
const TABS_GET_ZOOM = 'tabs.get.zoom';
const TABS_SET_ZOOM = 'tabs.set.zoom';
const EVENT_KEYPRESS = 'event.keypress';
const EVENT_KEYDOWN = 'event.keydown';
const EVENT_KEYUP = 'event.keyup';
const SCROLL_GET = 'scroll.get';
const SCROLL_SET = 'scroll.set';

export {
  METHOD_REQUEST,
  METHOD_RESPONSE,

  WINDOWS_CREATE,
  WINDOWS_REMOVE,
  WINDOWS_GET,

  TABS_GET,
  TABS_UPDATE,
  TABS_CREATE,
  TABS_SELECT_AT,
  TABS_GET_ZOOM,
  TABS_SET_ZOOM,

  EVENT_KEYPRESS,
  EVENT_KEYDOWN,
  EVENT_KEYUP,
  SCROLL_GET,
  SCROLL_SET,
};