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

Side by Side Diff: chrome/browser/android/compositor/layer/tab_layer.h

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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_ 5 #ifndef CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_
6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_ 6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 float static_to_view_blend, 80 float static_to_view_blend,
81 float content_width, 81 float content_width,
82 float content_height, 82 float content_height,
83 float view_width, 83 float view_width,
84 float view_height, 84 float view_height,
85 bool show_toolbar, 85 bool show_toolbar,
86 int default_theme_color, 86 int default_theme_color,
87 int toolbar_background_color, 87 int toolbar_background_color,
88 int close_button_color, 88 int close_button_color,
89 bool anonymize_toolbar, 89 bool anonymize_toolbar,
90 bool show_tab_title,
90 int toolbar_textbox_resource_id, 91 int toolbar_textbox_resource_id,
91 int toolbar_textbox_background_color, 92 int toolbar_textbox_background_color,
92 float toolbar_textbox_alpha, 93 float toolbar_textbox_alpha,
93 float toolbar_alpha, 94 float toolbar_alpha,
94 float toolbar_y_offset, 95 float toolbar_y_offset,
95 float side_border_scale, 96 float side_border_scale,
96 bool inset_border); 97 bool inset_border);
97 98
98 bool is_incognito() const { return incognito_; } 99 bool is_incognito() const { return incognito_; }
99 100
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 scoped_refptr<cc::NinePatchLayer> shadow_; 143 scoped_refptr<cc::NinePatchLayer> shadow_;
143 scoped_refptr<cc::UIResourceLayer> back_logo_; 144 scoped_refptr<cc::UIResourceLayer> back_logo_;
144 float brightness_; 145 float brightness_;
145 146
146 DISALLOW_COPY_AND_ASSIGN(TabLayer); 147 DISALLOW_COPY_AND_ASSIGN(TabLayer);
147 }; 148 };
148 149
149 } // namespace android 150 } // namespace android
150 151
151 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_ 152 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698