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

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

Issue 2163393003: Tab switcher theme colors no longer behind flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Littering flags Created 4 years, 3 months 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/android/compositor/layer/tab_layer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/android/compositor/layer/tab_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698