aboutsummaryrefslogtreecommitdiff
path: root/src/content/console-frames.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-03-06 21:37:12 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-03-06 21:56:54 +0900
commit93bd0bc54fd5ce7a2803f2ebc7c834b1b815afda (patch)
tree18c0bd58d1f3ce268f36e96ead9239182e79ddd7 /src/content/console-frames.js
parent72bf3cc2bdcc63864e064a64f7459aba004f4538 (diff)
show message on find
Diffstat (limited to 'src/content/console-frames.js')
-rw-r--r--src/content/console-frames.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/content/console-frames.js b/src/content/console-frames.js
index 515ae09..0c0ec02 100644
--- a/src/content/console-frames.js
+++ b/src/content/console-frames.js
@@ -28,4 +28,11 @@ const postError = (doc, message) => {
});
};
-export { initialize, blur, postMessage, postError };
+const postInfo = (doc, message) => {
+ return postMessage(doc, {
+ type: messages.CONSOLE_SHOW_INFO,
+ text: message,
+ });
+};
+
+export { initialize, blur, postError, postInfo };