You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Erik Vold edited this page Jun 13, 2013
·
2 revisions
Proposal
HTMLView is meant to be an Abstraction class from which UI classes can all sub-class.
Use Cases
Many SDK modules provide UI real estate which can be filled with HTML content, such as widget, panel, sidebar, toolbar, and addon-page. In the past one would typically need to use a content script in order to pass messages between the HTML content and the add-on. Since the requirement of a content script
means the developer must use a new file or create a string with code in it..
With HTMLViews a developer will be able to communicate back to the add-on via an addon global provided to it, bypassing the need for any content script and standardizing some common events these UI modules have in common.
Implementation
Since each implementation of an HTMLView will involve using windows which will be available at different points in time.