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

Issue 707043002: Revert of Revert of [Android] Support unfocusable container views. (Closed)

Created:
6 years, 1 month ago by Nicolas Zea
Modified:
6 years, 1 month ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Revert of Revert of [Android] Support unfocusable container views. (patchset #1 id:1 of https://codereview.chromium.org/712433002/) Reason for revert: Did not fix flake. Original issue's description: > Revert of [Android] Support unfocusable container views. (patchset #4 id:60001 of https://codereview.chromium.org/701233002/) > > Reason for revert: > Introduced flake into WebRTCBrowserTest.* http://build.chromium.org/p/chromium.linux/buildstatus?builder=Android%20Tests%20%28dbg%29&number=23952 > > Example: > Value of: ExecuteScriptAndExtractString(shell()->web_contents(), javascript, &result) > Actual: false > Expected: true > From javascript: ../../content/test/webrtc_content_browsertest_base.cc:71: Failure > Failed > [INFO:CONSOLE(883)] "Receiving remote stream...", source: http://127.0.0.1:50076/media/peerconnection-call.html (883) > [INFO:CONSOLE(859)] "Receiving answer...", source: http://127.0.0.1:50076/media/peerconnection-call.html (859) > [ FAILED ] WebRtcBrowserTest.AddTwoMediaStreamsToOnePC, where TypeParam = and GetParam() = (2180 ms) > > Original issue's 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} > > TBR=jdduke@chromium.org,benm@chromium.org > NOTREECHECKS=true > NOTRY=true > BUG=430859 (internal b/18066784) > > Committed: https://crrev.com/1906fd177547e131f1320346df164a5dfd2122e4 > Cr-Commit-Position: refs/heads/master@{#303104} TBR=jdduke@chromium.org,benm@chromium.org NOTREECHECKS=true NOTRY=true BUG=430859 (internal b/18066784) Committed: https://crrev.com/42aa48819ba501bca236a5951570b0571c2242e3 Cr-Commit-Position: refs/heads/master@{#303112}

Patch Set 1 #

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 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Nicolas Zea
Created Revert of Revert of [Android] Support unfocusable container views.
6 years, 1 month ago (2014-11-06 22:56:15 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/707043002/1
6 years, 1 month ago (2014-11-06 22:57:53 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years, 1 month ago (2014-11-06 22:59:55 UTC) #3
commit-bot: I haz the power
6 years, 1 month ago (2014-11-06 23:01:27 UTC) #4
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/42aa48819ba501bca236a5951570b0571c2242e3
Cr-Commit-Position: refs/heads/master@{#303112}

Powered by Google App Engine
This is Rietveld 408576698