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

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

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/contextual_search_layer.h
diff --git a/chrome/browser/android/compositor/layer/contextual_search_layer.h b/chrome/browser/android/compositor/layer/contextual_search_layer.h
index 1c0f1b782f7c3462c4da45026d2e2e280dd48ce3..83fc74ace0dbe3ae72cf6b5791d54dd0602fdda4 100644
--- a/chrome/browser/android/compositor/layer/contextual_search_layer.h
+++ b/chrome/browser/android/compositor/layer/contextual_search_layer.h
@@ -90,7 +90,10 @@ class ContextualSearchLayer : public OverlayPanelLayer {
float divider_line_x_offset,
bool touch_highlight_visible,
float touch_highlight_x_offset,
- float touch_highlight_width);
+ float touch_highlight_width,
+ int bar_handle_resource_id,
+ float bar_handle_offset_y,
+ float bar_padding_bottom);
void SetThumbnail(const SkBitmap* thumbnail);
@@ -116,8 +119,7 @@ class ContextualSearchLayer : public OverlayPanelLayer {
// Sets up |text_layer_|, which contains |bar_text_|, |search_context_| and
// |search_caption_|.
- void SetupTextLayer(float search_bar_top,
- float search_bar_height,
+ void SetupTextLayer(float search_bar_height,
float search_text_layer_min_height,
int search_caption_resource_id,
bool search_caption_visible,

Powered by Google App Engine
This is Rietveld 408576698