Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[embedlite] Expose nsIBaseWidget::PreRender in EmbedLite public API.
Per function documentation: Called before rendering using OMTC. Returns false when the widget is not ready to be rendered (for example while the window is closed). Always called from the compositing thread, which may be the main-thread if OMTC is not enabled. With this function we should be able to prevent gecko from drawing contents for the active view in certain situations. Current usecase is to prevent painting when device screen is turned off.
- Loading branch information
Showing
3 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters