Yeah, requesting pointer lock and fullscreen can be called on any element, not only the canvas/window, so having them in here gives more options.