Add per-window theme example: private browsing theme (#307)

This commit is contained in:
Tim Nguyen
2017-11-07 18:56:55 +00:00
committed by wbamberg
parent 6bdef335df
commit 3e2d1833d7
3 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
# Private browsing theme
## What it does
An example using the theme API to apply a different theme on private windows.
## What it shows
How to use the windowId argument of browser.theme.reset() and browser.theme.update().