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

Unified Diff: chrome/browser/android/compositor/layer/reader_mode_layer.cc

Issue 2801153003: [Contextual Search] Add a handle to the bar when Chrome Home is enabled (Closed)
Patch Set: Revert changes to OverlayPanelBase#initializeUiState() Created 3 years, 8 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/reader_mode_layer.cc
diff --git a/chrome/browser/android/compositor/layer/reader_mode_layer.cc b/chrome/browser/android/compositor/layer/reader_mode_layer.cc
index 504986fc927ac04f96aba62d09d673d97ba9f9b1..f4492916162fca158d944da768c83cd876af4888 100644
--- a/chrome/browser/android/compositor/layer/reader_mode_layer.cc
+++ b/chrome/browser/android/compositor/layer/reader_mode_layer.cc
@@ -35,22 +35,10 @@ void ReaderModeLayer::SetProperties(
bar_height = floor(bar_height);
OverlayPanelLayer::SetProperties(
- dp_to_px,
- content_layer,
- bar_height,
- panel_x,
- panel_y,
- panel_width,
- panel_height,
- bar_margin_side,
- bar_height,
- 0.0f,
- text_opacity,
- bar_border_visible,
- bar_border_height,
- bar_shadow_visible,
- bar_shadow_opacity,
- 1.0f);
+ dp_to_px, content_layer, bar_height, panel_x, panel_y, panel_width,
+ panel_height, bar_margin_side, bar_height, 0.0f, text_opacity,
+ bar_border_visible, bar_border_height, bar_shadow_visible,
+ bar_shadow_opacity, 1.0f, 0, 0);
}
ReaderModeLayer::ReaderModeLayer(

Powered by Google App Engine
This is Rietveld 408576698