| 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 <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 TabContentManager* tab_content_manager); | 115 TabContentManager* tab_content_manager); |
| 116 ~TabLayer() override; | 116 ~TabLayer() override; |
| 117 | 117 |
| 118 private: | 118 private: |
| 119 void SetTitle(DecorationTitle* title); | 119 void SetTitle(DecorationTitle* title); |
| 120 std::unique_ptr<cc::FilterOperations> createSolidColorFilter(int color); | 120 std::unique_ptr<cc::FilterOperations> createSolidColorFilter(int color); |
| 121 | 121 |
| 122 const bool incognito_; | 122 const bool incognito_; |
| 123 bool toolbar_background_color_; | 123 bool toolbar_background_color_; |
| 124 bool close_button_color_; | 124 bool close_button_color_; |
| 125 bool tab_switcher_themes_enabled_; | |
| 126 ui::ResourceManager* resource_manager_; | 125 ui::ResourceManager* resource_manager_; |
| 127 LayerTitleCache* layer_title_cache_; | 126 LayerTitleCache* layer_title_cache_; |
| 128 | 127 |
| 129 // [layer]-+-[toolbar] | 128 // [layer]-+-[toolbar] |
| 130 // +-[close button] | 129 // +-[close button] |
| 131 // +-[title] | 130 // +-[title] |
| 132 // +-[front border] | 131 // +-[front border] |
| 133 // +-[content] | 132 // +-[content] |
| 134 // +-[back_logo] | 133 // +-[back_logo] |
| 135 // +-[padding] | 134 // +-[padding] |
| (...skipping 15 matching lines...) Expand all Loading... |
| 151 scoped_refptr<cc::UIResourceLayer> back_logo_; | 150 scoped_refptr<cc::UIResourceLayer> back_logo_; |
| 152 float brightness_; | 151 float brightness_; |
| 153 | 152 |
| 154 DISALLOW_COPY_AND_ASSIGN(TabLayer); | 153 DISALLOW_COPY_AND_ASSIGN(TabLayer); |
| 155 }; | 154 }; |
| 156 | 155 |
| 157 } // namespace android | 156 } // namespace android |
| 158 } // namespace chrome | 157 } // namespace chrome |
| 159 | 158 |
| 160 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_ | 159 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_ |
| OLD | NEW |