OLD | NEW |
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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/android/compositor/layer/layer.h" | 10 #include "chrome/browser/android/compositor/layer/layer.h" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 float brightness, | 78 float brightness, |
79 float close_btn_width, | 79 float close_btn_width, |
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 toolbar_background_color, | 86 int toolbar_background_color, |
87 bool anonymize_toolbar, | 87 bool anonymize_toolbar, |
| 88 int toolbar_textbox_resource_id, |
88 int toolbar_textbox_background_color, | 89 int toolbar_textbox_background_color, |
| 90 float toolbar_textbox_alpha, |
89 float toolbar_alpha, | 91 float toolbar_alpha, |
90 float toolbar_y_offset, | 92 float toolbar_y_offset, |
91 float side_border_scale, | 93 float side_border_scale, |
92 bool attach_content, | 94 bool attach_content, |
93 bool inset_border); | 95 bool inset_border); |
94 | 96 |
95 bool is_incognito() const { return incognito_; } | 97 bool is_incognito() const { return incognito_; } |
96 | 98 |
97 scoped_refptr<cc::Layer> layer() override; | 99 scoped_refptr<cc::Layer> layer() override; |
98 | 100 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 scoped_refptr<cc::UIResourceLayer> back_logo_; | 135 scoped_refptr<cc::UIResourceLayer> back_logo_; |
134 float brightness_; | 136 float brightness_; |
135 | 137 |
136 DISALLOW_COPY_AND_ASSIGN(TabLayer); | 138 DISALLOW_COPY_AND_ASSIGN(TabLayer); |
137 }; | 139 }; |
138 | 140 |
139 } // namespace android | 141 } // namespace android |
140 } // namespace chrome | 142 } // namespace chrome |
141 | 143 |
142 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_ | 144 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_ |
OLD | NEW |