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

Issue 2453213003: Have WebContentsViewAndroid own ViewAndroid (Closed)

Created:
4 years, 1 month ago by Jinsuk Kim
Modified:
4 years, 1 month ago
Reviewers:
Theresa, boliu
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, nona+watch_chromium.org, darin-cc_chromium.org, James Su
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Have WebContentsViewAndroid own ViewAndroid This CL transfers the ownership of ViewAndroid associated with Java content view from CVC to WebContentsViewAndroid, as proposed in the design https://goo.gl/tQqbZS This is also a step toward removing references to CVC in RWHVA. Also simplified an access method to WindowAndroid using the view hierarchy. BUG=598880, 626765 Committed: https://crrev.com/4101e961ba3d80e91683f1c7e28e178831595bcc Cr-Commit-Position: refs/heads/master@{#428960}

Patch Set 1 #

Total comments: 2

Patch Set 2 : SetDelegate #

Total comments: 7

Patch Set 3 : ViewAndroid #

Patch Set 4 : fixed builds & rebased #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -54 lines) Patch
M content/browser/android/content_view_core_impl.h View 1 2 3 3 chunks +1 line, -5 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 10 chunks +35 lines, -33 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 13 chunks +15 lines, -15 lines 0 comments Download
M content/browser/web_contents/web_contents_view_android.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_android.cc View 1 3 chunks +4 lines, -1 line 0 comments Download
M ui/android/view_android.h View 1 3 1 chunk +2 lines, -0 lines 1 comment Download
M ui/android/view_android.cc View 1 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (13 generated)
Jinsuk Kim
4 years, 1 month ago (2016-10-28 06:35:39 UTC) #8
boliu
https://codereview.chromium.org/2453213003/diff/40001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/2453213003/diff/40001/content/browser/android/content_view_core_impl.cc#newcode1546 content/browser/android/content_view_core_impl.cc:1546: web_contents->GetView()->CreateView( it's not ok to just reuse this call ...
4 years, 1 month ago (2016-10-28 15:58:58 UTC) #9
Jinsuk Kim
https://codereview.chromium.org/2453213003/diff/40001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/2453213003/diff/40001/content/browser/android/content_view_core_impl.cc#newcode1546 content/browser/android/content_view_core_impl.cc:1546: web_contents->GetView()->CreateView( On 2016/10/28 15:58:58, boliu wrote: > it's not ...
4 years, 1 month ago (2016-10-31 01:17:00 UTC) #10
boliu
https://codereview.chromium.org/2453213003/diff/60001/content/browser/android/content_view_core_impl.h File content/browser/android/content_view_core_impl.h (right): https://codereview.chromium.org/2453213003/diff/60001/content/browser/android/content_view_core_impl.h#newcode390 content/browser/android/content_view_core_impl.h:390: ui::ViewAndroid* GetViewAndroid() const; maybe not in this CL, but ...
4 years, 1 month ago (2016-10-31 01:45:52 UTC) #11
Jinsuk Kim
https://codereview.chromium.org/2453213003/diff/60001/content/browser/android/content_view_core_impl.h File content/browser/android/content_view_core_impl.h (right): https://codereview.chromium.org/2453213003/diff/60001/content/browser/android/content_view_core_impl.h#newcode390 content/browser/android/content_view_core_impl.h:390: ui::ViewAndroid* GetViewAndroid() const; On 2016/10/31 01:45:52, boliu wrote: > ...
4 years, 1 month ago (2016-10-31 02:01:17 UTC) #12
boliu
lgtm https://codereview.chromium.org/2453213003/diff/60001/content/browser/android/content_view_core_impl.h File content/browser/android/content_view_core_impl.h (right): https://codereview.chromium.org/2453213003/diff/60001/content/browser/android/content_view_core_impl.h#newcode390 content/browser/android/content_view_core_impl.h:390: ui::ViewAndroid* GetViewAndroid() const; On 2016/10/31 02:01:16, Jinsuk Kim ...
4 years, 1 month ago (2016-10-31 02:05:45 UTC) #13
Jinsuk Kim
twellington@chromium.org: Please review changes in ui/android.
4 years, 1 month ago (2016-10-31 02:07:12 UTC) #15
Theresa
lgtm
4 years, 1 month ago (2016-10-31 18:10:25 UTC) #16
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/2453213003/80001
4 years, 1 month ago (2016-11-01 00:09:56 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/59197) linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 1 month ago (2016-11-01 00:30:32 UTC) #20
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/2453213003/100001
4 years, 1 month ago (2016-11-01 07:14:01 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 1 month ago (2016-11-01 07:44:08 UTC) #24
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/4101e961ba3d80e91683f1c7e28e178831595bcc Cr-Commit-Position: refs/heads/master@{#428960}
4 years, 1 month ago (2016-11-01 07:46:19 UTC) #26
boliu
https://codereview.chromium.org/2453213003/diff/100001/ui/android/view_android.h File ui/android/view_android.h (right): https://codereview.chromium.org/2453213003/diff/100001/ui/android/view_android.h#newcode59 ui/android/view_android.h:59: ViewAndroid(const base::android::JavaRef<jobject>& delegate); fix blimp rather than adding this ...
4 years, 1 month ago (2016-11-01 15:11:12 UTC) #27
Jinsuk Kim
4 years, 1 month ago (2016-11-02 04:22:01 UTC) #28
Message was sent while issue was closed.
On 2016/11/01 15:11:12, boliu wrote:
>
https://codereview.chromium.org/2453213003/diff/100001/ui/android/view_android.h
> File ui/android/view_android.h (right):
> 
>
https://codereview.chromium.org/2453213003/diff/100001/ui/android/view_androi...
> ui/android/view_android.h:59: ViewAndroid(const
base::android::JavaRef<jobject>&
> delegate);
> fix blimp rather than adding this back

Will do that in a follow-up CL.

Powered by Google App Engine
This is Rietveld 408576698