aboutsummaryrefslogtreecommitdiff
path: root/src/background/actions
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-03-07 21:34:37 +0900
committerGitHub <noreply@github.com>2018-03-07 21:34:37 +0900
commitd2a3c6cdd4d6ca564d9a80d281ba14648ffcc6eb (patch)
tree0de3603c8cffef056584413ef8a5a0dc051b8d8f /src/background/actions
parent72bf3cc2bdcc63864e064a64f7459aba004f4538 (diff)
parent92f8365be7127c3fa0276b1a6e890571f634622e (diff)
Merge pull request #355 from ueokande/search-across-pages
Search across pages
Diffstat (limited to 'src/background/actions')
-rw-r--r--src/background/actions/find.js10
-rw-r--r--src/background/actions/index.js3
2 files changed, 13 insertions, 0 deletions
diff --git a/src/background/actions/find.js b/src/background/actions/find.js
new file mode 100644
index 0000000..8da5572
--- /dev/null
+++ b/src/background/actions/find.js
@@ -0,0 +1,10 @@
+import actions from './index';
+
+const setKeyword = (keyword) => {
+ return {
+ type: actions.FIND_SET_KEYWORD,
+ keyword,
+ };
+};
+
+export { setKeyword };
diff --git a/src/background/actions/index.js b/src/background/actions/index.js
index efe4074..2bdaaf2 100644
--- a/src/background/actions/index.js
+++ b/src/background/actions/index.js
@@ -2,4 +2,7 @@ export default {
// Settings
SETTING_SET_SETTINGS: 'setting.set.settings',
SETTING_SET_PROPERTY: 'setting.set.property',
+
+ // Find
+ FIND_SET_KEYWORD: 'find.set.keyword',
};