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

Issue 1209243003: Changed the constraints for hiding the top controls (Closed)

Created:
5 years, 6 months ago by raghu
Modified:
5 years, 5 months ago
CC:
chromium-reviews, David Trainor- moved to gerrit, avayvod+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Changed the constraints for hiding the top controls Currently, for hiding the top controls we check if the IME is hidden. But with that we cannot prevent the top controls from hiding while using a physical keyboard and the input field is focused by the js. Instead we should check if any input field is focused in the content and disallow hiding of top controls. BUG=504355 Committed: https://crrev.com/0e485126312877aa0843b938b242e78a22edee35 Cr-Commit-Position: refs/heads/master@{#337783}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added test code #

Total comments: 2

Patch Set 3 : Changed the client callback to update Editability of the focused node #

Total comments: 4

Patch Set 4 : Removed onDismissInput method #

Total comments: 4

Patch Set 5 : Used pollForUIThreadCriteria instead of pollForCriteria in the test code #

Messages

Total messages: 26 (4 generated)
AKVT
peer review looks good to me!
5 years, 6 months ago (2015-06-26 12:22:09 UTC) #2
raghu
Hi tedchoc, PTAL.
5 years, 6 months ago (2015-06-26 12:27:25 UTC) #4
jdduke (slow)
https://codereview.chromium.org/1209243003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/Tab.java (right): https://codereview.chromium.org/1209243003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/Tab.java#newcode2476 chrome/android/java/src/org/chromium/chrome/browser/Tab.java:2476: enableHidingTopControls &= !mContentViewCore.isFocusedNodeEditable(); With this change I think we ...
5 years, 6 months ago (2015-06-26 15:03:08 UTC) #5
Ted C
https://codereview.chromium.org/1209243003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/Tab.java (right): https://codereview.chromium.org/1209243003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/Tab.java#newcode2476 chrome/android/java/src/org/chromium/chrome/browser/Tab.java:2476: enableHidingTopControls &= !mContentViewCore.isFocusedNodeEditable(); On 2015/06/26 15:03:08, jdduke wrote: > ...
5 years, 6 months ago (2015-06-26 16:49:53 UTC) #6
raghu
On 2015/06/26 16:49:53, Ted C wrote: > https://codereview.chromium.org/1209243003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/Tab.java > File chrome/android/java/src/org/chromium/chrome/browser/Tab.java (right): > > https://codereview.chromium.org/1209243003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/Tab.java#newcode2476 ...
5 years, 5 months ago (2015-06-29 15:15:22 UTC) #7
jdduke (slow)
https://codereview.chromium.org/1209243003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/Tab.java (right): https://codereview.chromium.org/1209243003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java#newcode517 chrome/android/java/src/org/chromium/chrome/browser/Tab.java:517: if (getFullscreenManager() == null) return; So, you'd probably need ...
5 years, 5 months ago (2015-06-29 15:25:16 UTC) #8
raghu
Done the changes as per the review comments. Got the test code working too. PTAL. ...
5 years, 5 months ago (2015-06-30 12:38:34 UTC) #9
raghu
jdduke@, PTAL
5 years, 5 months ago (2015-07-01 13:07:59 UTC) #10
jdduke (slow)
Trying to think of any cases where we we'd focus an editable node but wouldn't ...
5 years, 5 months ago (2015-07-01 16:02:04 UTC) #11
raghu
On 2015/07/01 16:02:04, jdduke wrote: > Trying to think of any cases where we we'd ...
5 years, 5 months ago (2015-07-01 17:16:40 UTC) #12
raghu
https://codereview.chromium.org/1209243003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/Tab.java (right): https://codereview.chromium.org/1209243003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/Tab.java#newcode192 chrome/android/java/src/org/chromium/chrome/browser/Tab.java:192: private boolean mFocusedNodeEditable; On 2015/07/01 16:02:04, jdduke wrote: > ...
5 years, 5 months ago (2015-07-01 17:16:57 UTC) #13
raghu
Jdduke@, PTAL
5 years, 5 months ago (2015-07-01 21:54:21 UTC) #14
raghu
aurimas@ PTAL
5 years, 5 months ago (2015-07-01 21:55:52 UTC) #15
raghu
jdduke@, can you please review my patch.
5 years, 5 months ago (2015-07-06 17:29:37 UTC) #16
jdduke (slow)
On 2015/07/06 17:29:37, raghu wrote: > jdduke@, can you please review my patch. lgtm, but ...
5 years, 5 months ago (2015-07-06 18:03:56 UTC) #17
raghu
On 2015/07/06 18:03:56, jdduke wrote: > On 2015/07/06 17:29:37, raghu wrote: > > jdduke@, can ...
5 years, 5 months ago (2015-07-07 00:47:58 UTC) #18
Ted C
lgtm https://codereview.chromium.org/1209243003/diff/60001/chrome/android/javatests/src/org/chromium/chrome/browser/fullscreen/FullscreenManagerTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/fullscreen/FullscreenManagerTest.java (right): https://codereview.chromium.org/1209243003/diff/60001/chrome/android/javatests/src/org/chromium/chrome/browser/fullscreen/FullscreenManagerTest.java#newcode355 chrome/android/javatests/src/org/chromium/chrome/browser/fullscreen/FullscreenManagerTest.java:355: singleClickView(tab.getView()); This line "could" end up causing issues ...
5 years, 5 months ago (2015-07-07 16:46:33 UTC) #19
raghu
https://codereview.chromium.org/1209243003/diff/60001/chrome/android/javatests/src/org/chromium/chrome/browser/fullscreen/FullscreenManagerTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/fullscreen/FullscreenManagerTest.java (right): https://codereview.chromium.org/1209243003/diff/60001/chrome/android/javatests/src/org/chromium/chrome/browser/fullscreen/FullscreenManagerTest.java#newcode527 chrome/android/javatests/src/org/chromium/chrome/browser/fullscreen/FullscreenManagerTest.java:527: return CriteriaHelper.pollForCriteria(new Criteria() { On 2015/07/07 16:46:33, Ted C ...
5 years, 5 months ago (2015-07-07 22:24:15 UTC) #20
Ted C
https://codereview.chromium.org/1209243003/diff/60001/chrome/android/javatests/src/org/chromium/chrome/browser/fullscreen/FullscreenManagerTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/fullscreen/FullscreenManagerTest.java (right): https://codereview.chromium.org/1209243003/diff/60001/chrome/android/javatests/src/org/chromium/chrome/browser/fullscreen/FullscreenManagerTest.java#newcode527 chrome/android/javatests/src/org/chromium/chrome/browser/fullscreen/FullscreenManagerTest.java:527: return CriteriaHelper.pollForCriteria(new Criteria() { On 2015/07/07 22:24:15, raghu wrote: ...
5 years, 5 months ago (2015-07-07 22:26:50 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1209243003/80001
5 years, 5 months ago (2015-07-08 07:27:24 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 5 months ago (2015-07-08 08:26:44 UTC) #25
commit-bot: I haz the power
5 years, 5 months ago (2015-07-08 08:27:31 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0e485126312877aa0843b938b242e78a22edee35
Cr-Commit-Position: refs/heads/master@{#337783}

Powered by Google App Engine
This is Rietveld 408576698