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

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

Issue 2158853004: Do not include toolbar shadow for UIResourceLayer snapshot (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update comment Created 4 years, 5 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 bc112b93fe5877b6816eab6af903535cd77cffbd..58268983bc3d44fa9dc2a1e372d85194b180c662 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,
@@ -96,7 +97,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