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

Side by Side Diff: chrome/browser/android/compositor/scene_layer/contextual_search_scene_layer.cc

Issue 2363843002: [Contextual Search] Animate thumbnail appearance (Closed)
Patch Set: Changes from donnd@ review Created 4 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/android/compositor/scene_layer/contextual_search_scene_ layer.h" 5 #include "chrome/browser/android/compositor/scene_layer/contextual_search_scene_ layer.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_array.h" 8 #include "base/android/jni_array.h"
9 #include "base/android/jni_string.h" 9 #include "base/android/jni_string.h"
10 #include "cc/layers/solid_color_layer.h" 10 #include "cc/layers/solid_color_layer.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 jfloat search_term_opacity, 95 jfloat search_term_opacity,
96 jfloat search_caption_animation_percentage, 96 jfloat search_caption_animation_percentage,
97 jboolean search_caption_visible, 97 jboolean search_caption_visible,
98 jboolean search_bar_border_visible, 98 jboolean search_bar_border_visible,
99 jfloat search_bar_border_height, 99 jfloat search_bar_border_height,
100 jboolean search_bar_shadow_visible, 100 jboolean search_bar_shadow_visible,
101 jfloat search_bar_shadow_opacity, 101 jfloat search_bar_shadow_opacity,
102 jboolean search_provider_icon_sprite_visible, 102 jboolean search_provider_icon_sprite_visible,
103 jfloat search_provider_icon_sprite_completion_percentage, 103 jfloat search_provider_icon_sprite_completion_percentage,
104 jboolean thumbnail_visible, 104 jboolean thumbnail_visible,
105 jfloat thumbnail_visibility_percentage,
105 jint thumbnail_size, 106 jint thumbnail_size,
106 jstring j_thumbnail_url, 107 jstring j_thumbnail_url,
107 jfloat arrow_icon_opacity, 108 jfloat arrow_icon_opacity,
108 jfloat arrow_icon_rotation, 109 jfloat arrow_icon_rotation,
109 jfloat close_icon_opacity, 110 jfloat close_icon_opacity,
110 jboolean progress_bar_visible, 111 jboolean progress_bar_visible,
111 jfloat progress_bar_height, 112 jfloat progress_bar_height,
112 jfloat progress_bar_opacity, 113 jfloat progress_bar_opacity,
113 jint progress_bar_completion, 114 jint progress_bar_completion,
114 jobject j_profile) { 115 jobject j_profile) {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 search_term_opacity, 181 search_term_opacity,
181 search_caption_animation_percentage, 182 search_caption_animation_percentage,
182 search_caption_visible, 183 search_caption_visible,
183 search_bar_border_visible, 184 search_bar_border_visible,
184 search_bar_border_height, 185 search_bar_border_height,
185 search_bar_shadow_visible, 186 search_bar_shadow_visible,
186 search_bar_shadow_opacity, 187 search_bar_shadow_opacity,
187 search_provider_icon_sprite_visible, 188 search_provider_icon_sprite_visible,
188 search_provider_icon_sprite_completion_percentage, 189 search_provider_icon_sprite_completion_percentage,
189 thumbnail_visible, 190 thumbnail_visible,
191 thumbnail_visibility_percentage,
190 thumbnail_size, 192 thumbnail_size,
191 arrow_icon_opacity, 193 arrow_icon_opacity,
192 arrow_icon_rotation, 194 arrow_icon_rotation,
193 close_icon_opacity, 195 close_icon_opacity,
194 progress_bar_visible, 196 progress_bar_visible,
195 progress_bar_height, 197 progress_bar_height,
196 progress_bar_opacity, 198 progress_bar_opacity,
197 progress_bar_completion); 199 progress_bar_completion);
198 200
199 // Make the layer visible if it is not already. 201 // Make the layer visible if it is not already.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 new ContextualSearchSceneLayer(env, jobj); 261 new ContextualSearchSceneLayer(env, jobj);
260 return reinterpret_cast<intptr_t>(tree_provider); 262 return reinterpret_cast<intptr_t>(tree_provider);
261 } 263 }
262 264
263 bool RegisterContextualSearchSceneLayer(JNIEnv* env) { 265 bool RegisterContextualSearchSceneLayer(JNIEnv* env) {
264 return RegisterNativesImpl(env); 266 return RegisterNativesImpl(env);
265 } 267 }
266 268
267 } // namespace android 269 } // namespace android
268 } // namespace chrome 270 } // namespace chrome
OLDNEW
« 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