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

Unified Diff: chrome/browser/android/compositor/scene_layer/contextual_search_scene_layer.cc

Issue 1379183003: [ContextualSearch] Adds long press promo for Contextual Search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing more comments Created 5 years, 2 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
« no previous file with comments | « chrome/browser/android/compositor/scene_layer/contextual_search_scene_layer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8b885b970f1dcf9065b9fe83d5aa5601f494ff57..4cf9b6e321ceb4d7be84e1d967d652bf98425723 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
@@ -34,10 +34,18 @@ void ContextualSearchSceneLayer::UpdateContextualSearchLayer(
jint progress_bar_background_resource_id,
jint progress_bar_resource_id,
jint search_promo_resource_id,
+ jint peek_promo_ripple_resource_id,
+ jint peek_promo_text_resource_id,
jobject jcontent_view_core,
jboolean search_promo_visible,
jfloat search_promo_height,
jfloat search_promo_opacity,
+ jboolean search_peek_promo_visible,
+ jfloat search_peek_promo_height,
+ jfloat search_peek_promo_padding,
+ jfloat search_peek_promo_ripple_width,
+ jfloat search_peek_promo_ripple_opacity,
+ jfloat search_peek_promo_text_opacity,
jfloat search_panel_X,
jfloat search_panel_y,
jfloat search_panel_width,
@@ -47,7 +55,6 @@ void ContextualSearchSceneLayer::UpdateContextualSearchLayer(
jfloat search_context_opacity,
jfloat search_term_opacity,
jboolean search_bar_border_visible,
- jfloat search_bar_border_y,
jfloat search_bar_border_height,
jboolean search_bar_shadow_visible,
jfloat search_bar_shadow_opacity,
@@ -55,7 +62,6 @@ void ContextualSearchSceneLayer::UpdateContextualSearchLayer(
jfloat arrow_icon_rotation,
jfloat close_icon_opacity,
jboolean progress_bar_visible,
- jfloat progress_bar_y,
jfloat progress_bar_height,
jfloat progress_bar_opacity,
jint progress_bar_completion,
@@ -90,10 +96,18 @@ void ContextualSearchSceneLayer::UpdateContextualSearchLayer(
progress_bar_background_resource_id,
progress_bar_resource_id,
search_promo_resource_id,
+ peek_promo_ripple_resource_id,
+ peek_promo_text_resource_id,
content_view_core,
search_promo_visible,
search_promo_height,
search_promo_opacity,
+ search_peek_promo_visible,
+ search_peek_promo_height,
+ search_peek_promo_padding,
+ search_peek_promo_ripple_width,
+ search_peek_promo_ripple_opacity,
+ search_peek_promo_text_opacity,
search_panel_X,
search_panel_y,
search_panel_width,
@@ -103,7 +117,6 @@ void ContextualSearchSceneLayer::UpdateContextualSearchLayer(
search_context_opacity,
search_term_opacity,
search_bar_border_visible,
- search_bar_border_y,
search_bar_border_height,
search_bar_shadow_visible,
search_bar_shadow_opacity,
@@ -111,7 +124,6 @@ void ContextualSearchSceneLayer::UpdateContextualSearchLayer(
arrow_icon_rotation,
close_icon_opacity,
progress_bar_visible,
- progress_bar_y,
progress_bar_height,
progress_bar_opacity,
progress_bar_completion);
« no previous file with comments | « chrome/browser/android/compositor/scene_layer/contextual_search_scene_layer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698