| OLD | NEW |
| 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 #ifndef CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE_LA
YER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE_LA
YER_H_ |
| 6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE_LA
YER_H_ | 6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE_LA
YER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 const base::android::JavaParamRef<jobject>& jresource_manager); | 36 const base::android::JavaParamRef<jobject>& jresource_manager); |
| 37 | 37 |
| 38 void UpdateContextualSearchLayer( | 38 void UpdateContextualSearchLayer( |
| 39 JNIEnv* env, | 39 JNIEnv* env, |
| 40 const base::android::JavaParamRef<jobject>& object, | 40 const base::android::JavaParamRef<jobject>& object, |
| 41 jint search_bar_background_resource_id, | 41 jint search_bar_background_resource_id, |
| 42 jint search_context_resource_id, | 42 jint search_context_resource_id, |
| 43 jint search_term_resource_id, | 43 jint search_term_resource_id, |
| 44 jint search_caption_resource_id, | 44 jint search_caption_resource_id, |
| 45 jint search_bar_shadow_resource_id, | 45 jint search_bar_shadow_resource_id, |
| 46 jint panel_icon_resource_id, | 46 jint sprite_resource_id, |
| 47 jint search_provider_icon_sprite_metadata_resource_id, | 47 jint search_provider_icon_sprite_metadata_resource_id, |
| 48 jint static_icon_resource_id, |
| 48 jint arrow_up_resource_id, | 49 jint arrow_up_resource_id, |
| 49 jint close_icon_resource_id, | 50 jint close_icon_resource_id, |
| 50 jint progress_bar_background_resource_id, | 51 jint progress_bar_background_resource_id, |
| 51 jint progress_bar_resource_id, | 52 jint progress_bar_resource_id, |
| 52 jint search_promo_resource_id, | 53 jint search_promo_resource_id, |
| 53 jint peek_promo_ripple_resource_id, | 54 jint peek_promo_ripple_resource_id, |
| 54 jint peek_promo_text_resource_id, | 55 jint peek_promo_text_resource_id, |
| 55 jfloat dp_to_px, | 56 jfloat dp_to_px, |
| 56 jfloat base_page_brightness, | 57 jfloat base_page_brightness, |
| 57 jfloat base_page_offset, | 58 jfloat base_page_offset, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 76 jfloat search_term_opacity, | 77 jfloat search_term_opacity, |
| 77 jfloat search_term_caption_spacing, | 78 jfloat search_term_caption_spacing, |
| 78 jfloat search_caption_animation_percentage, | 79 jfloat search_caption_animation_percentage, |
| 79 jboolean search_caption_visible, | 80 jboolean search_caption_visible, |
| 80 jboolean search_bar_border_visible, | 81 jboolean search_bar_border_visible, |
| 81 jfloat search_bar_border_height, | 82 jfloat search_bar_border_height, |
| 82 jboolean search_bar_shadow_visible, | 83 jboolean search_bar_shadow_visible, |
| 83 jfloat search_bar_shadow_opacity, | 84 jfloat search_bar_shadow_opacity, |
| 84 jboolean search_provider_icon_sprite_visible, | 85 jboolean search_provider_icon_sprite_visible, |
| 85 jfloat search_provider_icon_sprite_completion_percentage, | 86 jfloat search_provider_icon_sprite_completion_percentage, |
| 87 jboolean static_icon_visible, |
| 86 jboolean thumbnail_visible, | 88 jboolean thumbnail_visible, |
| 87 jfloat thumbnail_visibility_percentage, | |
| 88 jint thumbnail_size, | |
| 89 jstring j_thumbnail_url, | 89 jstring j_thumbnail_url, |
| 90 jfloat static_image_visibility_percentage, |
| 91 jint static_image_size, |
| 90 jfloat arrow_icon_opacity, | 92 jfloat arrow_icon_opacity, |
| 91 jfloat arrow_icon_rotation, | 93 jfloat arrow_icon_rotation, |
| 92 jfloat close_icon_opacity, | 94 jfloat close_icon_opacity, |
| 93 jboolean progress_bar_visible, | 95 jboolean progress_bar_visible, |
| 94 jfloat progress_bar_height, | 96 jfloat progress_bar_height, |
| 95 jfloat progress_bar_opacity, | 97 jfloat progress_bar_opacity, |
| 96 jint progress_bar_completion, | 98 jint progress_bar_completion, |
| 97 jobject j_profile); | 99 jobject j_profile); |
| 98 | 100 |
| 99 // Inherited from BitmapFetcherDelegate | 101 // Inherited from BitmapFetcherDelegate |
| (...skipping 23 matching lines...) Expand all Loading... |
| 123 scoped_refptr<cc::Layer> content_container_; | 125 scoped_refptr<cc::Layer> content_container_; |
| 124 | 126 |
| 125 DISALLOW_COPY_AND_ASSIGN(ContextualSearchSceneLayer); | 127 DISALLOW_COPY_AND_ASSIGN(ContextualSearchSceneLayer); |
| 126 }; | 128 }; |
| 127 | 129 |
| 128 bool RegisterContextualSearchSceneLayer(JNIEnv* env); | 130 bool RegisterContextualSearchSceneLayer(JNIEnv* env); |
| 129 | 131 |
| 130 } // namespace android | 132 } // namespace android |
| 131 | 133 |
| 132 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE
_LAYER_H_ | 134 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE
_LAYER_H_ |
| OLD | NEW |