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

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

Issue 1268483004: Plumb the anonymize rect color to toolbar_layer from Tab#getThemeColor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tabHasThemeColor
Patch Set: Renamed BrandColorUtils in implementation Created 5 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
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 "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
78 float saturation, 78 float saturation,
79 float brightness, 79 float brightness,
80 float close_btn_width, 80 float close_btn_width,
81 float static_to_view_blend, 81 float static_to_view_blend,
82 float content_width, 82 float content_width,
83 float content_height, 83 float content_height,
84 float view_width, 84 float view_width,
85 float view_height, 85 float view_height,
86 bool show_toolbar, 86 bool show_toolbar,
87 bool anonymize_toolbar, 87 bool anonymize_toolbar,
88 int toolbar_textbox_background_color,
88 float toolbar_alpha, 89 float toolbar_alpha,
89 float toolbar_y_offset, 90 float toolbar_y_offset,
90 float side_border_scale, 91 float side_border_scale,
91 bool attach_content, 92 bool attach_content,
92 bool inset_border); 93 bool inset_border);
93 94
94 bool is_incognito() const { return incognito_; } 95 bool is_incognito() const { return incognito_; }
95 96
96 scoped_refptr<cc::Layer> layer() override; 97 scoped_refptr<cc::Layer> layer() override;
97 98
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 scoped_refptr<cc::UIResourceLayer> back_logo_; 133 scoped_refptr<cc::UIResourceLayer> back_logo_;
133 float brightness_; 134 float brightness_;
134 135
135 DISALLOW_COPY_AND_ASSIGN(TabLayer); 136 DISALLOW_COPY_AND_ASSIGN(TabLayer);
136 }; 137 };
137 138
138 } // namespace android 139 } // namespace android
139 } // namespace chrome 140 } // namespace chrome
140 141
141 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_ 142 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_TAB_LAYER_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/compositor/compositor_view.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