Commit 0c205241 authored by Colin Blundell's avatar Colin Blundell Committed by Commit Bot

[InfoBars] Make InfoBarWrapper package-private (again)

This is possible now that WebLayer is using the componentized
InfoBarContainerLayout.java. I forgot to add it in to that CL itself.

Bug: 1099169
Change-Id: Ie836ae88a07975e17dcc33873d33175a9a763258
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2276254
Commit-Queue: Colin Blundell <blundell@chromium.org>
Reviewed-by: default avatarMatthew Jones <mdjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784403}
parent a42752aa
...@@ -13,13 +13,13 @@ import android.widget.FrameLayout; ...@@ -13,13 +13,13 @@ import android.widget.FrameLayout;
/** /**
* Layout that holds an infobar's contents and provides a background color and a top shadow. * Layout that holds an infobar's contents and provides a background color and a top shadow.
*/ */
public class InfoBarWrapper extends FrameLayout { class InfoBarWrapper extends FrameLayout {
private final InfoBarUiItem mItem; private final InfoBarUiItem mItem;
/** /**
* Constructor for inflating from Java. * Constructor for inflating from Java.
*/ */
public InfoBarWrapper(Context context, InfoBarUiItem item) { InfoBarWrapper(Context context, InfoBarUiItem item) {
super(context); super(context);
mItem = item; mItem = item;
Resources res = context.getResources(); Resources res = context.getResources();
...@@ -32,7 +32,7 @@ public class InfoBarWrapper extends FrameLayout { ...@@ -32,7 +32,7 @@ public class InfoBarWrapper extends FrameLayout {
setPadding(0, shadowHeight, 0, 0); setPadding(0, shadowHeight, 0, 0);
} }
public InfoBarUiItem getItem() { InfoBarUiItem getItem() {
return mItem; return mItem;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment