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

Unified Diff: chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.cc

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 | « chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.cc
diff --git a/chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.cc b/chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.cc
index 7f19d2f56161615d8d072826a3d6e4da2082b1f7..cc6b906bf08d524a9bce97599271197fab65b026 100644
--- a/chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.cc
+++ b/chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.cc
@@ -134,6 +134,7 @@ void TabListSceneLayer::PutTabLayer(
jint toolbar_background_color,
jint close_button_color,
jboolean anonymize_toolbar,
+ jboolean show_tab_title,
jint toolbar_textbox_resource_id,
jint toolbar_textbox_background_color,
jfloat toolbar_textbox_alpha,
@@ -172,9 +173,10 @@ void TabListSceneLayer::PutTabLayer(
brightness, close_btn_width, static_to_view_blend, content_width,
content_height, content_width, visible_content_height, show_toolbar,
default_theme_color, toolbar_background_color,
- close_button_color, anonymize_toolbar, toolbar_textbox_resource_id,
- toolbar_textbox_background_color, toolbar_textbox_alpha, toolbar_alpha,
- toolbar_y_offset, side_border_scale, inset_border);
+ close_button_color, anonymize_toolbar, show_tab_title,
+ toolbar_textbox_resource_id, toolbar_textbox_background_color,
+ toolbar_textbox_alpha, toolbar_alpha, toolbar_y_offset,
+ side_border_scale, inset_border);
}
gfx::RectF self(own_tree_->position(), gfx::SizeF(own_tree_->bounds()));
« no previous file with comments | « chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698