Refactorings to reduce dependencies in ChromeVox 2.
commit099889e8991773b0faf193d8e669d6151251f3d9
authorplundblad <plundblad@chromium.org>
Fri, 30 Jan 2015 10:50:00 +0000 (30 02:50 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 30 Jan 2015 10:50:44 +0000 (30 10:50 +0000)
tree6b66db66c3f98c68ecbe477a03b570b877d34c82
parentb64a083cc081f37393c1272a503e80aa0e3a2931
Refactorings to reduce dependencies in ChromeVox 2.

Mainly, this breaks out braille span classes and the EditableTextBase
class into their own files.  This removes lots of dependencies on code that
should only run in the content script in ChromeVox classic from the
ChromeVox next background script.

BUG=

Review URL: https://codereview.chromium.org/889593002

Cr-Commit-Position: refs/heads/master@{#313895}
17 files changed:
chrome/browser/resources/chromeos/chromevox/braille/braille_input_handler.js
chrome/browser/resources/chromeos/chromevox/braille/braille_input_handler_test.unitjs
chrome/browser/resources/chromeos/chromevox/braille/expanding_braille_translator.js
chrome/browser/resources/chromeos/chromevox/braille/expanding_braille_translator_test.unitjs
chrome/browser/resources/chromeos/chromevox/braille/spans.js [new file with mode: 0644]
chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js
chrome/browser/resources/chromeos/chromevox/common/braille_util.js
chrome/browser/resources/chromeos/chromevox/common/braille_util_test.unitjs
chrome/browser/resources/chromeos/chromevox/common/editable_text.js
chrome/browser/resources/chromeos/chromevox/common/editable_text_base.js [copied from chrome/browser/resources/chromeos/chromevox/common/editable_text.js with 52% similarity]
chrome/browser/resources/chromeos/chromevox/common/editable_text_test.unitjs
chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
chrome/browser/resources/chromeos/chromevox/host/chrome/braille_integration_test.unitjs
chrome/browser/resources/chromeos/chromevox/walkers/layout_line_walker.js
chrome/browser/resources/chromeos/chromevox/walkers/structural_line_walker.js
chrome/browser/resources/chromeos/chromevox/walkers/structural_line_walker_test.unitjs