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

Unified Diff: chrome/browser/android/compositor/scene_layer/contextual_search_scene_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/scene_layer/contextual_search_scene_layer.cc
diff --git a/chrome/browser/android/compositor/scene_layer/contextual_search_scene_layer.cc b/chrome/browser/android/compositor/scene_layer/contextual_search_scene_layer.cc
index 65e1880f79fe9601b8cbf83afe5e36e17ed3bb77..2c51567e7db2f76b9b5c27fc09f86352e5a11757 100644
--- a/chrome/browser/android/compositor/scene_layer/contextual_search_scene_layer.cc
+++ b/chrome/browser/android/compositor/scene_layer/contextual_search_scene_layer.cc
@@ -122,6 +122,9 @@ void ContextualSearchSceneLayer::UpdateContextualSearchLayer(
jboolean touch_highlight_visible,
jfloat touch_highlight_x_offset,
jfloat touch_highlight_width,
+ jint bar_handle_resource_id,
+ jfloat bar_handle_offset_y,
+ jfloat bar_padding_bottom,
jobject j_profile) {
// Load the thumbnail if necessary.
std::string thumbnail_url =
@@ -178,7 +181,8 @@ void ContextualSearchSceneLayer::UpdateContextualSearchLayer(
progress_bar_height, progress_bar_opacity, progress_bar_completion,
divider_line_visibility_percentage, divider_line_width,
divider_line_height, divider_line_color, divider_line_x_offset,
- touch_highlight_visible, touch_highlight_x_offset, touch_highlight_width);
+ touch_highlight_visible, touch_highlight_x_offset, touch_highlight_width,
+ bar_handle_resource_id, bar_handle_offset_y, bar_padding_bottom);
// Make the layer visible if it is not already.
contextual_search_layer_->layer()->SetHideLayerAndSubtree(false);

Powered by Google App Engine
This is Rietveld 408576698