summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2009-09-17 14:19:49 -0400
committerLeon Scroggins <scroggo@google.com>2009-09-17 15:48:37 -0400
commitd55de40481c6ec7d8fbd1a38c80a6c66bf462a71 (patch)
tree87b1dd4c5652cc0f5d835ebf06dcd89849858fc3 /libs/ui/FramebufferNativeWindow.cpp
parent3239de8cd78b3fa292d85ee7658a9871cdfbc79b (diff)
Don't scroll the title bar off screen while loading.
Though the user can still manually scroll the title bar off screen, we do not want it to happen automatically. When we load a new page, its scroll position can be set to (0,0). Make sure that we simply set it to the top without adding in the title bar's height. Also, prevent javascript which attempts to scroll the page to (0,0) or (0,1) from removing the title bar. Fixes http://b/issue?id=2113398 and http://b/issue?id=2123079 Change-Id: Ida64d8c94be6744c7b0b4d60af1c229b2cc83673
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions