Add the window.viewing_canvases method