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

Unified Diff: chrome/browser/android/compositor/layer/tab_layer.h

Issue 2293573002: Add tinted static UI resource cache (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix text color when cache is full 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/compositor/layer/tab_layer.h
diff --git a/chrome/browser/android/compositor/layer/tab_layer.h b/chrome/browser/android/compositor/layer/tab_layer.h
index 00d5995e4d630f1030d60fc15adb7b4dc98dea2b..61972008b6543e99244f38a8264f0b42a99251b3 100644
--- a/chrome/browser/android/compositor/layer/tab_layer.h
+++ b/chrome/browser/android/compositor/layer/tab_layer.h
@@ -88,6 +88,7 @@ class TabLayer : public Layer {
bool show_toolbar,
int default_theme_color,
int toolbar_background_color,
+ int default_close_button_color,
int close_button_color,
bool anonymize_toolbar,
int toolbar_textbox_resource_id,
@@ -97,7 +98,8 @@ class TabLayer : public Layer {
float toolbar_y_offset,
float side_border_scale,
bool attach_content,
- bool inset_border);
+ bool inset_border,
+ bool title_layer_needs_update);
bool is_incognito() const { return incognito_; }
@@ -117,11 +119,8 @@ class TabLayer : public Layer {
private:
void SetTitle(DecorationTitle* title);
- std::unique_ptr<cc::FilterOperations> createSolidColorFilter(int color);
const bool incognito_;
- bool toolbar_background_color_;
- bool close_button_color_;
ui::ResourceManager* resource_manager_;
LayerTitleCache* layer_title_cache_;

Powered by Google App Engine
This is Rietveld 408576698