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

Issue 2218623003: Remove |ContentViewCore.getViewAndroidDelegate()| (Closed)

Created:
4 years, 4 months ago by Jinsuk Kim
Modified:
4 years, 4 months ago
Reviewers:
nyquist, boliu, no sievers
CC:
chromium-reviews, rouslan+autofill_chromium.org, jam, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, darin-cc_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove |ContentViewCore.getViewAndroidDelegate()| Removed the method since it is prone to misuse and now in use for test classes only. The tests now define their own ViewAndroidDelegate instance rather than the one defined internally but inaccessible due to the removal. This does not make difference from the tests' perspective because it is associated with the same container view to acquire/remove anchor views. BUG=617750 Committed: https://crrev.com/5ad16b4b8be2fb8d3890a984f043c843f3f536e8 Cr-Commit-Position: refs/heads/master@{#411257}

Patch Set 1 #

Total comments: 4

Patch Set 2 : comments #

Total comments: 4

Patch Set 3 : comments #

Messages

Total messages: 32 (18 generated)
Jinsuk Kim
Removing one TODO at a time.. nyquist@chromium.org: Please review changes in chrome/ boliu@chromium.org: Please review ...
4 years, 4 months ago (2016-08-05 12:06:07 UTC) #7
boliu
https://codereview.chromium.org/2218623003/diff/1/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java File android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java (left): https://codereview.chromium.org/2218623003/diff/1/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java#oldcode27 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java:27: @UiThreadTest why remove UiThreadTest? a lot of these tests ...
4 years, 4 months ago (2016-08-05 15:51:21 UTC) #8
no sievers
https://codereview.chromium.org/2218623003/diff/1/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java File android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java (left): https://codereview.chromium.org/2218623003/diff/1/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java#oldcode27 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java:27: @UiThreadTest On 2016/08/05 15:51:21, boliu wrote: > why remove ...
4 years, 4 months ago (2016-08-05 18:07:22 UTC) #9
nyquist
chrome/android lgtm
4 years, 4 months ago (2016-08-05 18:23:16 UTC) #10
Jinsuk Kim
https://codereview.chromium.org/2218623003/diff/1/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java File android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java (left): https://codereview.chromium.org/2218623003/diff/1/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java#oldcode27 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java:27: @UiThreadTest On 2016/08/05 15:51:21, boliu wrote: > why remove ...
4 years, 4 months ago (2016-08-08 01:39:30 UTC) #15
boliu
lgtm % comment nits https://codereview.chromium.org/2218623003/diff/20001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java File android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java (right): https://codereview.chromium.org/2218623003/diff/20001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java#newcode80 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java:80: // Verify that no anchor ...
4 years, 4 months ago (2016-08-08 05:36:55 UTC) #16
no sievers
lgtm
4 years, 4 months ago (2016-08-09 23:12:06 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2218623003/40001
4 years, 4 months ago (2016-08-09 23:28:15 UTC) #20
Jinsuk Kim
https://codereview.chromium.org/2218623003/diff/20001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java File android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java (right): https://codereview.chromium.org/2218623003/diff/20001/android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java#newcode80 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsAnchorViewTest.java:80: // Verify that no anchor view is transferred between ...
4 years, 4 months ago (2016-08-10 00:06:39 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2218623003/40001
4 years, 4 months ago (2016-08-10 00:07:22 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/258793)
4 years, 4 months ago (2016-08-10 01:44:03 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2218623003/40001
4 years, 4 months ago (2016-08-11 01:19:28 UTC) #28
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-11 04:03:46 UTC) #30
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 04:05:43 UTC) #32
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5ad16b4b8be2fb8d3890a984f043c843f3f536e8
Cr-Commit-Position: refs/heads/master@{#411257}

Powered by Google App Engine
This is Rietveld 408576698