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

Issue 289343003: Clear the 'has_scrolled_node_into_rect' flag on viewport resize. (Closed)

Created:
6 years, 7 months ago by bokan
Modified:
6 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Visibility:
Public.

Description

Clear the 'has_scrolled_node_into_rect' flag on viewport resize. This flag prevents redundant auto zoom commands when scrolling an editable node into view. It had the side effect of making it so that a keyboard being dismissed using the dismiss button (without losing focus on the current node) wouldn't scroll the node back into view if it was tapped on again. This patch clears the flag when the visible viewport size changes, as happens when the keyboard is shown or hidden. BUG=375722 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272832

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M content/renderer/render_view_impl.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
bokan
Jared, is it ok to make this Android-only for the time being?
6 years, 7 months ago (2014-05-23 17:05:29 UTC) #1
jdduke (slow)
Hmm, if it feels buggy on Aura, it probably feels buggy on Android. Is there ...
6 years, 7 months ago (2014-05-23 17:11:36 UTC) #2
bokan
On 2014/05/23 17:11:36, jdduke wrote: > Hmm, if it feels buggy on Aura, it probably ...
6 years, 7 months ago (2014-05-23 18:11:57 UTC) #3
kevers
On 2014/05/23 18:11:57, bokan wrote: > On 2014/05/23 17:11:36, jdduke wrote: > > Hmm, if ...
6 years, 7 months ago (2014-05-23 19:17:10 UTC) #4
aelias_OOO_until_Jul13
On 2014/05/23 19:17:10, kevers wrote: > Only thing that comes to mind is resetting on ...
6 years, 7 months ago (2014-05-23 19:34:51 UTC) #5
bokan
On 2014/05/23 19:34:51, aelias wrote: > On 2014/05/23 19:17:10, kevers wrote: > > Only thing ...
6 years, 7 months ago (2014-05-23 19:49:08 UTC) #6
bokan
On 2014/05/23 19:49:08, bokan wrote: > On 2014/05/23 19:34:51, aelias wrote: > > On 2014/05/23 ...
6 years, 7 months ago (2014-05-23 19:51:41 UTC) #7
aelias_OOO_until_Jul13
Android doesn't have visible viewport size only changes, only ChromeOS has that behavior. I don't ...
6 years, 7 months ago (2014-05-23 19:53:52 UTC) #8
jdduke (slow)
On 2014/05/23 19:53:52, aelias wrote: > Android doesn't have visible viewport size only changes, only ...
6 years, 7 months ago (2014-05-23 19:58:44 UTC) #9
jdduke (slow)
On 2014/05/23 19:58:44, jdduke wrote: > On 2014/05/23 19:53:52, aelias wrote: > > Android doesn't ...
6 years, 7 months ago (2014-05-23 20:00:26 UTC) #10
bokan
Ok, made the change. PTAL, thanks.
6 years, 7 months ago (2014-05-23 21:32:23 UTC) #11
aelias_OOO_until_Jul13
lgtm modulo nit below. +piman@ for OWNERS. https://codereview.chromium.org/289343003/diff/20001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/289343003/diff/20001/content/renderer/render_view_impl.cc#newcode3098 content/renderer/render_view_impl.cc:3098: gfx::Size old_visible_viewport_size_ ...
6 years, 7 months ago (2014-05-23 23:26:18 UTC) #12
piman
LGTM %nit
6 years, 7 months ago (2014-05-23 23:42:33 UTC) #13
bokan
The CQ bit was checked by bokan@chromium.org
6 years, 7 months ago (2014-05-24 11:48:39 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bokan@chromium.org/289343003/40001
6 years, 7 months ago (2014-05-24 11:49:12 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-24 13:38:53 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-24 14:02:05 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/77410)
6 years, 7 months ago (2014-05-24 14:02:06 UTC) #18
bokan
The CQ bit was checked by bokan@chromium.org
6 years, 7 months ago (2014-05-26 13:41:58 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bokan@chromium.org/289343003/40001
6 years, 7 months ago (2014-05-26 13:43:06 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-26 14:46:45 UTC) #21
commit-bot: I haz the power
6 years, 7 months ago (2014-05-26 15:57:42 UTC) #22
Message was sent while issue was closed.
Change committed as 272832

Powered by Google App Engine
This is Rietveld 408576698