Security/Reviews/Gaia/Keyboard: Difference between revisions

No edit summary
 
Line 27: Line 27:


====Relevant Source Code====
====Relevant Source Code====
* Keyboard App http://mxr.mozilla.org/gaia/source/apps/keyboard/
* Homescreen App http://mxr.mozilla.org/gaia/source/apps/homescreen/
Code for the keyboard app
* Everything.me http://mxr.mozilla.org/gaia/source/apps/homescreen/everything.me/
 
*System App http://mxr.mozilla.org/gaia/source/apps/system/
Most of the keyboard management code is in  http://mxr.mozilla.org/gaia/source/apps/system/js/keyboard_manager.js )
* Gecko (Child process)
    ** http://mxr.mozilla.org/mozilla-central/source/b2g/chrome/content/forms.js
          - Listens for mouse events, and fires messages to update keyboard state (Forms:Input)
* Gecko (Parent process)
**http://dxr.mozilla.org/mozilla-central/b2g/components/Keyboard.jsm
- receives Forms:Input message and then broadcasts a Keyboard:FocusChange message
**http://mxr.mozilla.org/mozilla-central/source/b2g/components/MozKeyboard.js
- receives http://mxr.mozilla.org/mozilla-central/source/b2g/components/MozKeyboard.js and creates and dispatches a focuschanged event
 
 


====Permissions====
====Permissions====
canmove, Confirmed users
1,220

edits