NPAPI:AdvancedKeyHandling: Difference between revisions

Jump to navigation Jump to search
Line 102: Line 102:
* What about [https://bugzilla.mozilla.org/show_bug.cgi?id=78414#c236 this 2008 proposal] to slightly change the current behavior and allow users to escape legacy plugins by hitting the F6 key?
* What about [https://bugzilla.mozilla.org/show_bug.cgi?id=78414#c236 this 2008 proposal] to slightly change the current behavior and allow users to escape legacy plugins by hitting the F6 key?
** I don't want the scope of this proposal to include modifying old behavior. We can consider that in another bug/spec.
** I don't want the scope of this proposal to include modifying old behavior. We can consider that in another bug/spec.
* Situations to consider:
** Plugin is the only object in the tab chain for the window, last element inside plugin is focused and user hits tab.
*** Plugin should call <tt>NPN_GiveUpFocus</tt>, browser should return <tt>true</tt> and then call <tt>NPP_GotFocus</tt> with <tt>NPFocusNext</tt> for the direction argument to return focus to the first element in the plugin. If the browser does not want focus to wrap around then it can return <tt>false</tt> for the <tt>NPN_GiveUpFocus</tt> call.


= Past Proposals and Commentary =
= Past Proposals and Commentary =
Confirmed users, Bureaucrats and Sysops emeriti
1,680

edits

Navigation menu