DescriptionMake it possible to change the viewport size
This makes it possible to change the viewport size
which mojo is using. The sky debugger uses this new
API to set the viewport to something closer to mobile
instead of 800x600 ancient desktop size. :)
Still the (800, 600) constant is prevelant throughout
mojo (just search for it) and mojo does not seem to
fully update when the viewport size changes, so we actually
only see 320x600 pixels instead of 320x640 in
sky debugger after this change.
Mostly this change is about validating that this is the
correct way to plumb this information.
R=sky@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/6a7fabed4d6c8ddfbc932b2bd6d36d20e6337b2a
Patch Set 1 #
Total comments: 5
Patch Set 2 : Fix style nits #
Messages
Total messages: 3 (0 generated)
|