I'm looking to implement a feature to rotate the viewport 90 degrees to render websites correctly in portrait on the desktop client, in a similar way to how the Android web view supports rotation. Perhaps that involves getting the desktop application to honor the viewport meta tags as well. I do not want to inject JavaScript/CSS changes to perform the rotation as this has proven to be unreliable.
The embedded device I am using is not running a window manager and outputs directly to the frame buffer, so I am not able to defer to having the OS perform the rotation.
Is anyone able to recommend a part of the code-base where I should look at to force a 90 degree rotation, and 270 degree if that is desired? Is this question more appropriate for Chromium-dev?
Thanks in advance,
Rodger