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

Issue 701233002: [Android] Support unfocusable container views. (Closed)

Created:
6 years, 1 month ago by benm (inactive)
Modified:
6 years, 1 month ago
Reviewers:
jdduke (slow)
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Android] Support unfocusable container views. If the ContentViewCore container view is not focusable (which can happen when it's emebedded in an app via android webview), we were clearing the RWHVA notion of focus when the RenderView was swapped out. As the view is never focusable again, chromium never considers this view focused and as such, text selection did not function. We support this type of container view by always treating it focused from Chromium's point of view. BUG=430859 (internal b/18066784) Committed: https://crrev.com/9074d9fc9119ef4d2223f6c993d1a1b67a0bea7c Cr-Commit-Position: refs/heads/master@{#303071}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix building #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : public -> private #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 15 (2 generated)
benm (inactive)
ptal!
6 years, 1 month ago (2014-11-05 20:20:45 UTC) #2
jdduke (slow)
https://codereview.chromium.org/701233002/diff/1/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/701233002/diff/1/content/browser/android/content_view_core_impl.cc#newcode851 content/browser/android/content_view_core_impl.cc:851: LOG(WARN) << "Unfocusable container view, treating as always focused."; ...
6 years, 1 month ago (2014-11-05 21:20:31 UTC) #3
benm (inactive)
On 2014/11/05 21:20:31, jdduke wrote: > https://codereview.chromium.org/701233002/diff/1/content/browser/android/content_view_core_impl.cc > File content/browser/android/content_view_core_impl.cc (right): > > https://codereview.chromium.org/701233002/diff/1/content/browser/android/content_view_core_impl.cc#newcode851 > ...
6 years, 1 month ago (2014-11-06 10:48:24 UTC) #4
jdduke (slow)
lgtm with one potential change. https://codereview.chromium.org/701233002/diff/40001/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/701233002/diff/40001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode2367 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:2367: public boolean hasFocus() { ...
6 years, 1 month ago (2014-11-06 16:34:49 UTC) #5
benm (inactive)
https://codereview.chromium.org/701233002/diff/40001/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/701233002/diff/40001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode2367 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:2367: public boolean hasFocus() { On 2014/11/06 16:34:49, jdduke wrote: ...
6 years, 1 month ago (2014-11-06 17:55:58 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/701233002/60001
6 years, 1 month ago (2014-11-06 18:03:06 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 1 month ago (2014-11-06 19:35:40 UTC) #9
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/9074d9fc9119ef4d2223f6c993d1a1b67a0bea7c Cr-Commit-Position: refs/heads/master@{#303071}
6 years, 1 month ago (2014-11-06 19:36:29 UTC) #10
Nicolas Zea
On 2014/11/06 19:36:29, I haz the power (commit-bot) wrote: > Patchset 4 (id:??) landed as ...
6 years, 1 month ago (2014-11-06 22:34:52 UTC) #11
Nicolas Zea
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/712433002/ by zea@chromium.org. ...
6 years, 1 month ago (2014-11-06 22:37:35 UTC) #12
Nicolas Zea
Some more investigation revealed that the flakiness pre-existed this patch. I'll reland.
6 years, 1 month ago (2014-11-06 22:55:50 UTC) #13
benm (inactive)
OK. Thanks for relanding. Can you link to the reland cl so that I can ...
6 years, 1 month ago (2014-11-07 08:46:54 UTC) #14
benm (inactive)
6 years, 1 month ago (2014-11-07 08:48:22 UTC) #15
Message was sent while issue was closed.
Ah, I see it further up my inbox. Thanks :-)

On Fri, 7 Nov 2014 08:46 Ben Murdoch <benm@chromium.org> wrote:

> OK. Thanks for relanding. Can you link to the reland cl so that I can be
> sure it makes m40.
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698