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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/compositor/scene_layer/TabListSceneLayer.java

Issue 2569893002: Do not show tab title when it is not needed (Closed)
Patch Set: remove extra new line Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/android/compositor/layer/tab_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/compositor/scene_layer/TabListSceneLayer.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/scene_layer/TabListSceneLayer.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/scene_layer/TabListSceneLayer.java
index 148f19dcf8a1c23bf36e1feeb58c856bf80cb6cf..e31a4955028f58783934f9c6a1ee7d6d76443da8 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/scene_layer/TabListSceneLayer.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/scene_layer/TabListSceneLayer.java
@@ -97,9 +97,10 @@ public class TabListSceneLayer extends SceneLayer {
LayoutTab.CLOSE_BUTTON_WIDTH_DP * dpToPx, t.getStaticToViewBlend(),
t.getBorderScale(), t.getSaturation(), t.getBrightness(), t.showToolbar(),
defaultThemeColor, t.getToolbarBackgroundColor(), closeButtonColor,
- t.anonymizeToolbar(), R.drawable.textbox, t.getTextBoxBackgroundColor(),
- t.getTextBoxAlpha(), t.getToolbarAlpha(), t.getToolbarYOffset() * dpToPx,
- t.getSideBorderScale(), t.insetBorderVertical());
+ t.anonymizeToolbar(), t.isTitleNeeded(), R.drawable.textbox,
+ t.getTextBoxBackgroundColor(), t.getTextBoxAlpha(), t.getToolbarAlpha(),
+ t.getToolbarYOffset() * dpToPx, t.getSideBorderScale(),
+ t.insetBorderVertical());
}
nativeFinishBuildingFrame(mNativePtr);
}
@@ -149,7 +150,7 @@ public class TabListSceneLayer extends SceneLayer {
float closeBtnWidth, float staticToViewBlend, float borderScale, float saturation,
float brightness, boolean showToolbar, int defaultThemeColor,
int toolbarBackgroundColor, int closeButtonColor, boolean anonymizeToolbar,
- int toolbarTextBoxResource, int toolbarTextBoxBackgroundColor,
+ boolean showTabTitle, int toolbarTextBoxResource, int toolbarTextBoxBackgroundColor,
float toolbarTextBoxAlpha, float toolbarAlpha, float toolbarYOffset,
float sideBorderScale, boolean insetVerticalBorder);
}
« no previous file with comments | « no previous file | chrome/browser/android/compositor/layer/tab_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698