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

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

Issue 2228823003: When possible, draw the toolbar shadow with the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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 470c0b1d9c8ecde87ccc3b2f7c734c707da9fdde..8d7fca98d68e4174db348678b63bdf01d952c673 100644
--- a/chrome/browser/android/compositor/layer/tab_layer.h
+++ b/chrome/browser/android/compositor/layer/tab_layer.h
@@ -49,6 +49,7 @@ class TabLayer : public Layer {
void SetProperties(int id,
bool can_use_live_layer,
int toolbar_resource_id,
+ int toolbar_shadow_resource_id,
int close_button_resource_id,
int shadow_resource_id,
int contour_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 needs_toolbar_shadow);
bool is_incognito() const { return incognito_; }

Powered by Google App Engine
This is Rietveld 408576698