diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-01-13 23:05:51 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-01-13 23:05:51 +0900 |
commit | 9384fd07d5cc63841a832af053b5e792cae9f798 (patch) | |
tree | 5f458afd22fe3050761ca9ca99057ba2a386ad6c /src/content/actions/operation.js | |
parent | e3fdf742e7dc3fa3518746d185418a2e63ca2118 (diff) |
implement focus input
Diffstat (limited to 'src/content/actions/operation.js')
-rw-r--r-- | src/content/actions/operation.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content/actions/operation.js b/src/content/actions/operation.js index b4b2e38..5fd0f48 100644 --- a/src/content/actions/operation.js +++ b/src/content/actions/operation.js @@ -2,6 +2,7 @@ import operations from 'shared/operations'; import messages from 'shared/messages'; import * as scrolls from 'content/scrolls'; import * as navigates from 'content/navigates'; +import * as focuses from 'content/focuses'; import * as urls from 'content/urls'; import * as consoleFrames from 'content/console-frames'; import * as addonActions from './addon'; @@ -57,6 +58,8 @@ const exec = (operation, repeat, settings) => { return navigates.parent(window); case operations.NAVIGATE_ROOT: return navigates.root(window); + case operations.FOCUS_INPUT: + return focuses.focusInput(); case operations.URLS_YANK: urls.yank(window); return consoleFrames.postMessage(window.document, { |