| Index: chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/components/LayoutTab.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/components/LayoutTab.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/components/LayoutTab.java
|
| index 40af8e1d5d5efc694833dfd204cd553b35144cc6..7969d63bad290a6917175857a80f8311141e66e5 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/components/LayoutTab.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/components/LayoutTab.java
|
| @@ -126,6 +126,8 @@ public class LayoutTab implements ChromeAnimation.Animatable<LayoutTab.Property>
|
|
|
| private int mTextBoxBackgroundColor = Color.WHITE;
|
|
|
| + private float mTextBoxAlpha = 1.0f;
|
| +
|
| // End section --------------
|
|
|
| /**
|
| @@ -208,10 +210,11 @@ public class LayoutTab implements ChromeAnimation.Animatable<LayoutTab.Property>
|
| * @param canUseLiveTexture Whether the tab can use a live texture when being displayed.
|
| */
|
| public void initFromHost(int backgroundColor, boolean shouldStall, boolean canUseLiveTexture,
|
| - int toolbarBackgroundColor, int textBoxBackgroundColor) {
|
| + int toolbarBackgroundColor, int textBoxBackgroundColor, float textBoxAlpha) {
|
| mBackgroundColor = backgroundColor;
|
| mToolbarBackgroundColor = toolbarBackgroundColor;
|
| mTextBoxBackgroundColor = textBoxBackgroundColor;
|
| + mTextBoxAlpha = textBoxAlpha;
|
| mShouldStall = shouldStall;
|
| mCanUseLiveTexture = canUseLiveTexture;
|
| mInitFromHostCalled = true;
|
| @@ -885,6 +888,13 @@ public class LayoutTab implements ChromeAnimation.Animatable<LayoutTab.Property>
|
| }
|
|
|
| /**
|
| + * @return The alpha value of the textbox in the toolbar.
|
| + */
|
| + public float getTextBoxAlpha() {
|
| + return mTextBoxAlpha;
|
| + }
|
| +
|
| + /**
|
| * Callback for
|
| * {@link org.chromium.chrome.browser.compositor.layouts.ChromeAnimation.Animatable}
|
| *
|
|
|