[TabBottomSheet] Shift inactive placeholder setup to the provider [chromium/src : main]

0 views
Skip to first unread message

Fiaz Muhammad (Gerrit)

unread,
Jun 12, 2026, 3:42:44 PM (2 days ago) Jun 12
to Chromium LUCI CQ, Hailey Wang, Wenyu Fu, android-bu...@system.gserviceaccount.com, devtools...@chromium.org, dewitt...@chromium.org
Attention needed from Fiaz Muhammad, Hailey Wang and Wenyu Fu

Message from Fiaz Muhammad

Set Ready For Review

Open in Gerrit

Related details

Attention is currently required from:
  • Fiaz Muhammad
  • Hailey Wang
  • Wenyu Fu
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ieaeb51be52e832fc88be365b704c2a94db538261
Gerrit-Change-Number: 7926540
Gerrit-PatchSet: 15
Gerrit-Owner: Fiaz Muhammad <mf...@google.com>
Gerrit-Reviewer: Fiaz Muhammad <mf...@google.com>
Gerrit-Reviewer: Hailey Wang <haile...@google.com>
Gerrit-Reviewer: Wenyu Fu <wen...@chromium.org>
Gerrit-Attention: Hailey Wang <haile...@google.com>
Gerrit-Attention: Fiaz Muhammad <mf...@google.com>
Gerrit-Attention: Wenyu Fu <wen...@chromium.org>
Gerrit-Comment-Date: Fri, 12 Jun 2026 19:42:32 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Hailey Wang (Gerrit)

unread,
Jun 12, 2026, 8:09:10 PM (2 days ago) Jun 12
to Fiaz Muhammad, Chromium LUCI CQ, Wenyu Fu, android-bu...@system.gserviceaccount.com, devtools...@chromium.org, dewitt...@chromium.org
Attention needed from Fiaz Muhammad and Wenyu Fu

Hailey Wang voted and added 3 comments

Votes added by Hailey Wang

Code-Review+1

3 comments

Patchset-level comments
File-level comment, Patchset 18 (Latest):
Hailey Wang . resolved

LGTM thanks!

File chrome/browser/context_sharing/tab_bottom_sheet/android/java/src/org/chromium/chrome/browser/tab_bottom_sheet/CoBrowseViews.java
Line 250, Patchset 18 (Latest): assert placeholder instanceof TextViewWithCompoundDrawables;
Hailey Wang . unresolved

Nit: I think this assert suffice and cover the null case above as well.

File chrome/browser/context_sharing/tab_bottom_sheet/public/android/java/src/org/chromium/chrome/browser/tab_bottom_sheet/TabBottomSheetContent.java
Line 66, Patchset 18 (Parent): NullUtil.assertNonNull(mContentView.findViewById(mEmptyPlaceholderContainerId));
Hailey Wang . unresolved

Is mEmptyPlaceholderContainerId still used after this removal?

Open in Gerrit

Related details

Attention is currently required from:
  • Fiaz Muhammad
  • Wenyu Fu
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ieaeb51be52e832fc88be365b704c2a94db538261
Gerrit-Change-Number: 7926540
Gerrit-PatchSet: 18
Gerrit-Owner: Fiaz Muhammad <mf...@google.com>
Gerrit-Reviewer: Fiaz Muhammad <mf...@google.com>
Gerrit-Reviewer: Hailey Wang <haile...@google.com>
Gerrit-Reviewer: Wenyu Fu <wen...@chromium.org>
Gerrit-Attention: Fiaz Muhammad <mf...@google.com>
Gerrit-Attention: Wenyu Fu <wen...@chromium.org>
Gerrit-Comment-Date: Sat, 13 Jun 2026 00:08:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Hailey Wang (Gerrit)

unread,
Jun 12, 2026, 8:13:26 PM (2 days ago) Jun 12
to Fiaz Muhammad, Chromium LUCI CQ, Wenyu Fu, android-bu...@system.gserviceaccount.com, devtools...@chromium.org, dewitt...@chromium.org
Attention needed from Fiaz Muhammad and Wenyu Fu

Hailey Wang added 1 comment

File chrome/browser/context_sharing/tab_bottom_sheet/android/java/src/org/chromium/chrome/browser/tab_bottom_sheet/TabBottomSheetCoordinator.java
Line 729, Patchset 18 (Latest): View placeholder = mContentView.findViewById(R.id.empty_placeholder_container);
Hailey Wang . unresolved

Optional: Altho I wonder if, now that you make the cobrowseViews setup the empty view.... maybe you should also make the CoBrowseViews responsible for updating its visibility?

It's a little weird that the TBSC still need to reach into this view to update the visibility.

Gerrit-Comment-Date: Sat, 13 Jun 2026 00:13:11 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages