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

Issue 2842693005: Store physical backing size in ViewAndroid (Closed)

Created:
3 years, 8 months ago by Jinsuk Kim
Modified:
3 years, 7 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, shuchen+watch_chromium.org, jam, nona+watch_chromium.org, darin-cc_chromium.org, agrieve+watch_chromium.org, James Su
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Store physical backing size in ViewAndroid Stores physical backing size info in ViewAndroid tree nodes. It rids CVC of methods related to physical backing size, and help eliminate the access from RWHVA to CVC done against layering hierarchy. BUG=626765, 622847 Review-Url: https://codereview.chromium.org/2842693005 Cr-Commit-Position: refs/heads/master@{#471227} Committed: https://chromium.googlesource.com/chromium/src/+/fb293a5d27d9f233a801653e4983bef0a92e43e9

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : fix tests #

Total comments: 1

Patch Set 4 : no cvc/eventf #

Total comments: 10

Patch Set 5 : comments #

Patch Set 6 : no client #

Total comments: 8

Patch Set 7 : rebase #

Patch Set 8 : update rwhva size #

Patch Set 9 : rebase #

Patch Set 10 : no UpdateLayerBounds #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -84 lines) Patch
M android_webview/browser/aw_contents.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwContents.java View 1 2 3 4 5 6 1 chunk +1 line, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/compositor/CompositorView.java View 1 2 3 4 chunks +8 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/compositor/CompositorViewHolder.java View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanel.java View 1 2 3 1 chunk +4 lines, -6 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanelContent.java View 1 2 3 6 chunks +20 lines, -6 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/LayoutRenderHost.java View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java View 1 2 3 4 5 6 2 chunks +4 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/compositor/CompositorVisibilityTest.java View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/compositor/layouts/MockLayoutHost.java View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/bottombar/overlay_panel_content.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/android/bottombar/overlay_panel_content.cc View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/android/compositor/compositor_view.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/android/compositor/compositor_view.cc View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/android/tab_android.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/android/tab_android.cc View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.h View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell.cc View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 4 5 6 7 8 9 3 chunks +0 lines, -19 lines 2 comments Download
M content/browser/android/content_view_render_view.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/android/content_view_render_view.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_android.h View 1 2 3 4 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_view_android.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -33 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java View 1 2 3 3 chunks +9 lines, -8 lines 0 comments Download
M ui/android/view_android.h View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M ui/android/view_android.cc View 1 2 3 4 5 6 7 8 9 2 chunks +15 lines, -0 lines 0 comments Download
M ui/android/view_client.h View 1 2 3 4 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ui/android/view_client.cc View 1 2 3 4 6 7 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 49 (20 generated)
Jinsuk Kim
This has been tried but held off before. I'd like to give it another try ...
3 years, 7 months ago (2017-04-27 05:12:36 UTC) #3
boliu
On 2017/04/27 05:12:36, Jinsuk Kim wrote: > This has been tried but held off before. ...
3 years, 7 months ago (2017-04-27 17:16:23 UTC) #5
Jinsuk Kim
On 2017/04/27 17:16:23, boliu wrote: > On 2017/04/27 05:12:36, Jinsuk Kim wrote: > > This ...
3 years, 7 months ago (2017-04-27 22:12:22 UTC) #6
boliu
err, just noticed this unsent comment.. https://codereview.chromium.org/2842693005/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/2842693005/diff/40001/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java#newcode1141 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java:1141: public void onPhysicalBackingSizeChanged(int ...
3 years, 7 months ago (2017-04-27 22:12:42 UTC) #7
boliu
On 2017/04/27 22:12:22, Jinsuk Kim wrote: > On 2017/04/27 17:16:23, boliu wrote: > > On ...
3 years, 7 months ago (2017-04-27 22:14:35 UTC) #8
Jinsuk Kim
On 2017/04/27 22:14:35, boliu wrote: > On 2017/04/27 22:12:22, Jinsuk Kim wrote: > > On ...
3 years, 7 months ago (2017-04-27 22:30:37 UTC) #9
boliu
On 2017/04/27 22:30:37, Jinsuk Kim wrote: > On 2017/04/27 22:14:35, boliu wrote: > > On ...
3 years, 7 months ago (2017-04-27 22:36:54 UTC) #11
Jinsuk Kim
dtrainor@chromium.org: Please review changes in chrome/ Reflecting boliu's feedback - embedders are now left to ...
3 years, 7 months ago (2017-04-28 11:57:11 UTC) #15
boliu
https://codereview.chromium.org/2842693005/diff/80001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/2842693005/diff/80001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode3342 android_webview/java/src/org/chromium/android_webview/AwContents.java:3342: nativeOnPhysicalBackingSizeChanged(mNativeAwContents, w, h); merge this with nativeOnSizeChanged (move nativeOnSizeChanged ...
3 years, 7 months ago (2017-04-29 00:18:40 UTC) #16
Jinsuk Kim
https://codereview.chromium.org/2842693005/diff/80001/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/2842693005/diff/80001/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode3342 android_webview/java/src/org/chromium/android_webview/AwContents.java:3342: nativeOnPhysicalBackingSizeChanged(mNativeAwContents, w, h); On 2017/04/29 00:18:40, boliu wrote: > ...
3 years, 7 months ago (2017-04-30 00:23:50 UTC) #17
Jinsuk Kim
I'm separating physical/view size change handling. Please take another look after I fix all the ...
3 years, 7 months ago (2017-05-01 02:34:23 UTC) #18
boliu
looks like there are test failures, but lg2m otherwise
3 years, 7 months ago (2017-05-01 14:23:19 UTC) #19
Khushal
https://codereview.chromium.org/2842693005/diff/120001/android_webview/native/aw_contents.h File android_webview/native/aw_contents.h (right): https://codereview.chromium.org/2842693005/diff/120001/android_webview/native/aw_contents.h#newcode144 android_webview/native/aw_contents.h:144: void OnPhysicalBackingSizeChanged( Not used anymore? https://codereview.chromium.org/2842693005/diff/120001/ui/android/view_android.cc File ui/android/view_android.cc (right): ...
3 years, 7 months ago (2017-05-04 00:01:22 UTC) #21
Jinsuk Kim
https://codereview.chromium.org/2842693005/diff/120001/android_webview/native/aw_contents.h File android_webview/native/aw_contents.h (right): https://codereview.chromium.org/2842693005/diff/120001/android_webview/native/aw_contents.h#newcode144 android_webview/native/aw_contents.h:144: void OnPhysicalBackingSizeChanged( On 2017/05/04 00:01:22, Khushal wrote: > Not ...
3 years, 7 months ago (2017-05-08 07:40:44 UTC) #22
Khushal
https://codereview.chromium.org/2842693005/diff/120001/ui/android/view_android.cc File ui/android/view_android.cc (right): https://codereview.chromium.org/2842693005/diff/120001/ui/android/view_android.cc#newcode234 ui/android/view_android.cc:234: void ViewAndroid::UpdateLayerBounds() { On 2017/05/08 07:40:44, Jinsuk Kim wrote: ...
3 years, 7 months ago (2017-05-08 17:55:37 UTC) #23
head06902
3 years, 7 months ago (2017-05-10 04:42:21 UTC) #26
head06902
lgtm
3 years, 7 months ago (2017-05-10 04:42:22 UTC) #27
head06902
lgtm lgtm
3 years, 7 months ago (2017-05-10 04:42:22 UTC) #28
Jinsuk Kim
PTAL https://codereview.chromium.org/2842693005/diff/120001/ui/android/view_android.cc File ui/android/view_android.cc (right): https://codereview.chromium.org/2842693005/diff/120001/ui/android/view_android.cc#newcode234 ui/android/view_android.cc:234: void ViewAndroid::UpdateLayerBounds() { On 2017/05/08 17:55:37, Khushal wrote: ...
3 years, 7 months ago (2017-05-10 06:05:28 UTC) #31
boliu
https://codereview.chromium.org/2842693005/diff/250001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (left): https://codereview.chromium.org/2842693005/diff/250001/content/browser/android/content_view_core_impl.cc#oldcode228 content/browser/android/content_view_core_impl.cc:228: GetViewAndroid()->GetLayer()->SetBounds(physical_size); does that mean you need to bring these ...
3 years, 7 months ago (2017-05-10 17:09:54 UTC) #32
Khushal
https://codereview.chromium.org/2842693005/diff/250001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (left): https://codereview.chromium.org/2842693005/diff/250001/content/browser/android/content_view_core_impl.cc#oldcode228 content/browser/android/content_view_core_impl.cc:228: GetViewAndroid()->GetLayer()->SetBounds(physical_size); On 2017/05/10 17:09:53, boliu wrote: > does that ...
3 years, 7 months ago (2017-05-10 18:13:59 UTC) #34
boliu
lgtm
3 years, 7 months ago (2017-05-10 18:17:24 UTC) #35
Jinsuk Kim
mthiesse@chromium.org: Please review changes in Please review changes in chrome/.../vr_shell*
3 years, 7 months ago (2017-05-11 00:26:17 UTC) #37
mthiesse
lgtm
3 years, 7 months ago (2017-05-11 00:42:38 UTC) #38
David Trainor- moved to gerrit
lgtm lgtm thanks! :)
3 years, 7 months ago (2017-05-11 20:07:59 UTC) #39
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/2842693005/250001
3 years, 7 months ago (2017-05-11 23:03:57 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/291940)
3 years, 7 months ago (2017-05-12 03:23:08 UTC) #44
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/2842693005/250001
3 years, 7 months ago (2017-05-12 03:30:52 UTC) #46
commit-bot: I haz the power
3 years, 7 months ago (2017-05-12 05:30:59 UTC) #49
Message was sent while issue was closed.
Committed patchset #10 (id:250001) as
https://chromium.googlesource.com/chromium/src/+/fb293a5d27d9f233a801653e4983...

Powered by Google App Engine
This is Rietveld 408576698