diff options
author | timav <timav@chromium.org> | 2014-12-04 17:59:43 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-05 02:00:05 +0000 |
commit | 7a5032e9a290c375705799074d4cfb8ab65bc784 (patch) | |
tree | ef016ad17a25e4987300a6d05721835bd23a9416 /webkit | |
parent | 4c08a9caaa124d9bd701c04f799f117f287a1599 (diff) | |
download | chromium_src-7a5032e9a290c375705799074d4cfb8ab65bc784.zip chromium_src-7a5032e9a290c375705799074d4cfb8ab65bc784.tar.gz chromium_src-7a5032e9a290c375705799074d4cfb8ab65bc784.tar.bz2 |
Set main frame to clip content on Android.
This CL changes the argument to WebSettings::setMainFrameFlipContent()
to be true for the Chrome browser and also true for the WebView
when RecordFullLayer is not set.
When main frame clipping is set, the RenderSurface is clipped to
the viewport and not to the whole document and remains less than the
maximum texture size. Otherwise the RenderSurface could
exceed the texture size for large documents and portions
of the document do not appear.
This change requires https://codereview.chromium.org/753243004/
that takes into account the size of top controls for the clip.
BUG=433687
Review URL: https://codereview.chromium.org/779113002
Cr-Commit-Position: refs/heads/master@{#306956}
Diffstat (limited to 'webkit')
0 files changed, 0 insertions, 0 deletions