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

Issue 236733006: Allow the user to tap the selected editable again after rotation to trigger another zoom/center anim (Closed)

Created:
6 years, 8 months ago by samsung13630592
Modified:
6 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, kbalazs, Inactive, AviD, AKVT
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

allow the user to tap the selected editable again after rotation to trigger another zoom/center animation. On device rotation, the value of has_scrolled_focused_editable_node_into_rect_ was not getting reset on orientation change. Added code to handle this. BUG=363059

Patch Set 1 #

Total comments: 4

Patch Set 2 : Made changes according to review comments #

Total comments: 1

Patch Set 3 : PTAL modified according to review comments #

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

Messages

Total messages: 16 (0 generated)
samsung13630592
PTAL
6 years, 8 months ago (2014-04-14 12:46:36 UTC) #1
jdduke (slow)
https://codereview.chromium.org/236733006/diff/1/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://codereview.chromium.org/236733006/diff/1/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode1632 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:1632: scrollFocusedEditableNodeIntoView(); But what if the user has explicitly scrolled ...
6 years, 8 months ago (2014-04-14 16:32:55 UTC) #2
samsung13630592
If my understanding is not right, Please correct me with the expected behavior. https://codereview.chromium.org/236733006/diff/1/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File ...
6 years, 8 months ago (2014-04-15 06:46:46 UTC) #3
jdduke (slow)
aelias@: It seems wrong to bring the focused editable into view upon rotation if the ...
6 years, 8 months ago (2014-04-15 14:35:59 UTC) #4
aelias_OOO_until_Jul13
I agree with Jared that it would be better to fix the existing anchoring logic ...
6 years, 8 months ago (2014-04-15 18:49:38 UTC) #5
samsung13630592
6 years, 8 months ago (2014-04-16 10:36:29 UTC) #6
jdduke (slow)
https://codereview.chromium.org/236733006/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/236733006/diff/1/content/renderer/render_view_impl.cc#newcode3353 content/renderer/render_view_impl.cc:3353: is_orientation_changed_ = true; On 2014/04/15 14:36:00, jdduke wrote: > ...
6 years, 8 months ago (2014-04-16 14:51:39 UTC) #7
samsung13630592
PTAL Made changes according to review comments
6 years, 8 months ago (2014-04-21 06:10:56 UTC) #8
jdduke (slow)
https://codereview.chromium.org/236733006/diff/10001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java File content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java (right): https://codereview.chromium.org/236733006/diff/10001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode1629 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:1629: if (mSelectionEditable) { I don't think this will actually ...
6 years, 8 months ago (2014-04-21 15:31:44 UTC) #9
jeremy
Are you sure you wanted me as a reviewer? Perhaps you meant jeremya@ ?
6 years, 8 months ago (2014-04-22 08:10:50 UTC) #10
ankit
On 2014/04/22 08:10:50, jeremy wrote: > Are you sure you wanted me as a reviewer? ...
6 years, 8 months ago (2014-04-28 03:31:29 UTC) #11
ankit
PTAL
6 years, 7 months ago (2014-04-29 11:44:48 UTC) #12
jdduke (slow)
lgtm but you'll need an owner.
6 years, 7 months ago (2014-04-29 14:35:01 UTC) #13
lgombos
Would it be possible to have an automated test for this ?
6 years, 7 months ago (2014-04-29 23:40:46 UTC) #14
jdduke (slow)
On 2014/04/29 23:40:46, lgombos wrote: > Would it be possible to have an automated test ...
6 years, 7 months ago (2014-04-30 00:02:10 UTC) #15
ankit
6 years, 7 months ago (2014-05-02 13:06:28 UTC) #16
Message was sent while issue was closed.
Closed the issue because the account used to upload the patch was not correct. 
Raised a new review request for the same changes at
https://codereview.chromium.org/268753003/. 
PTAL new patch set.

Powered by Google App Engine
This is Rietveld 408576698