Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Issue 894193003: ResizeSynchronously should resize the visible viewport as well. (Closed)

Created:
5 years, 10 months ago by bokan
Modified:
5 years, 10 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ResizeSynchronously should resize the visible viewport as well. The visible viewport is the area of the window that is visible. For example, when the on-screen keyboard obscures part of the window we shrink the visible viewport to allow the page to "overscroll" the obscured area into view. When we resize the window, the visible viewport should be resized along with it. Also renamed ResizeSynchronously since it sets the rect, not just the size. Same for initial_pos_. This was breaking the css3/viewport-percentage-lengths/viewport-percentage-lengths-resize.html layout test upon turning on virtual-viewport. BUG=444952 Committed: https://crrev.com/c007c3a258816c2f6f6ccf7fc808887a03b0a26d Cr-Commit-Position: refs/heads/master@{#314282}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fixed variable names #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -35 lines) Patch
M content/renderer/render_view_impl.cc View 1 2 chunks +8 lines, -8 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 chunks +3 lines, -5 lines 0 comments Download
M content/renderer/render_widget.cc View 1 3 chunks +20 lines, -21 lines 0 comments Download
M content/renderer/render_widget_fullscreen.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
bokan
Hi Avi, ptal. Thanks!
5 years, 10 months ago (2015-02-02 23:28:50 UTC) #2
Avi (use Gerrit)
Code is fine; all the variable names aren't. https://codereview.chromium.org/894193003/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/894193003/diff/1/content/renderer/render_view_impl.cc#newcode4042 content/renderer/render_view_impl.cc:4042: gfx::Rect ...
5 years, 10 months ago (2015-02-03 01:30:42 UTC) #3
bokan
Also renamed ResizeSynchronously and initial_pos_ in light of the fact they take Rects. initial_pos_ gets ...
5 years, 10 months ago (2015-02-03 03:13:18 UTC) #4
Avi (use Gerrit)
lgtm
5 years, 10 months ago (2015-02-03 03:17:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/894193003/20001
5 years, 10 months ago (2015-02-03 05:01:46 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-03 07:16:25 UTC) #8
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 07:17:20 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c007c3a258816c2f6f6ccf7fc808887a03b0a26d
Cr-Commit-Position: refs/heads/master@{#314282}

Powered by Google App Engine
This is Rietveld 408576698