aboutsummaryrefslogtreecommitdiff
path: root/src/shared/messages.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-12-08 10:48:25 +0900
committerGitHub <noreply@github.com>2018-12-08 10:48:25 +0900
commit9c34b961c68588d95cc942465dae55388e861ffa (patch)
tree697d1cf6ac625aacc4d3685ee37b7a051257f9ec /src/shared/messages.js
parent97787c773f0d1b5e80beb438246b5a693dbd08aa (diff)
parent80de2149ad592c97158f1adb72b352dab3e0858e (diff)
Merge pull request #507 from ueokande/window-postmessage
Window postmessage
Diffstat (limited to 'src/shared/messages.js')
-rw-r--r--src/shared/messages.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/messages.js b/src/shared/messages.js
index dad2b7a..e86600e 100644
--- a/src/shared/messages.js
+++ b/src/shared/messages.js
@@ -63,6 +63,9 @@ export default {
SETTINGS_CHANGED: 'settings.changed',
SETTINGS_QUERY: 'settings.query',
+ WINDOW_TOP_MESSAGE: 'window.top.message',
+ CONSOLE_FRAME_MESSAGE: 'console.frame.message',
+
onWebMessage,
onBackgroundMessage,
onMessage,