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

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

Issue 2798123002: Remove crushed sprite resource and layer (Closed)
Patch Set: Rebase and fix my nits 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 unified diff | Download patch
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 #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 24 matching lines...) Expand all
35 const base::android::JavaParamRef<jobject>& jresource_manager); 35 const base::android::JavaParamRef<jobject>& jresource_manager);
36 36
37 void UpdateContextualSearchLayer( 37 void UpdateContextualSearchLayer(
38 JNIEnv* env, 38 JNIEnv* env,
39 const base::android::JavaParamRef<jobject>& object, 39 const base::android::JavaParamRef<jobject>& object,
40 jint search_bar_background_resource_id, 40 jint search_bar_background_resource_id,
41 jint search_context_resource_id, 41 jint search_context_resource_id,
42 jint search_term_resource_id, 42 jint search_term_resource_id,
43 jint search_caption_resource_id, 43 jint search_caption_resource_id,
44 jint search_bar_shadow_resource_id, 44 jint search_bar_shadow_resource_id,
45 jint sprite_resource_id, 45 jint search_provider_icon_resource_id,
46 jint search_provider_icon_sprite_metadata_resource_id,
47 jint quick_action_icon_resource_id, 46 jint quick_action_icon_resource_id,
48 jint arrow_up_resource_id, 47 jint arrow_up_resource_id,
49 jint close_icon_resource_id, 48 jint close_icon_resource_id,
50 jint progress_bar_background_resource_id, 49 jint progress_bar_background_resource_id,
51 jint progress_bar_resource_id, 50 jint progress_bar_resource_id,
52 jint search_promo_resource_id, 51 jint search_promo_resource_id,
53 jint peek_promo_ripple_resource_id, 52 jint peek_promo_ripple_resource_id,
54 jint peek_promo_text_resource_id, 53 jint peek_promo_text_resource_id,
55 jfloat dp_to_px, 54 jfloat dp_to_px,
56 jfloat base_page_brightness, 55 jfloat base_page_brightness,
(...skipping 17 matching lines...) Expand all
74 jfloat search_context_opacity, 73 jfloat search_context_opacity,
75 jfloat search_text_layer_min_height, 74 jfloat search_text_layer_min_height,
76 jfloat search_term_opacity, 75 jfloat search_term_opacity,
77 jfloat search_term_caption_spacing, 76 jfloat search_term_caption_spacing,
78 jfloat search_caption_animation_percentage, 77 jfloat search_caption_animation_percentage,
79 jboolean search_caption_visible, 78 jboolean search_caption_visible,
80 jboolean search_bar_border_visible, 79 jboolean search_bar_border_visible,
81 jfloat search_bar_border_height, 80 jfloat search_bar_border_height,
82 jboolean search_bar_shadow_visible, 81 jboolean search_bar_shadow_visible,
83 jfloat search_bar_shadow_opacity, 82 jfloat search_bar_shadow_opacity,
84 jboolean search_provider_icon_sprite_visible,
85 jfloat search_provider_icon_sprite_completion_percentage,
86 jboolean quick_action_icon_visible, 83 jboolean quick_action_icon_visible,
87 jboolean thumbnail_visible, 84 jboolean thumbnail_visible,
88 jstring j_thumbnail_url, 85 jstring j_thumbnail_url,
89 jfloat static_image_visibility_percentage, 86 jfloat custom_image_visibility_percentage,
90 jint static_image_size, 87 jint bar_image_size,
91 jfloat arrow_icon_opacity, 88 jfloat arrow_icon_opacity,
92 jfloat arrow_icon_rotation, 89 jfloat arrow_icon_rotation,
93 jfloat close_icon_opacity, 90 jfloat close_icon_opacity,
94 jboolean progress_bar_visible, 91 jboolean progress_bar_visible,
95 jfloat progress_bar_height, 92 jfloat progress_bar_height,
96 jfloat progress_bar_opacity, 93 jfloat progress_bar_opacity,
97 jint progress_bar_completion, 94 jint progress_bar_completion,
98 jfloat divider_line_visibility_percentage, 95 jfloat divider_line_visibility_percentage,
99 jfloat divider_line_width, 96 jfloat divider_line_width,
100 jfloat divider_line_height, 97 jfloat divider_line_height,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 scoped_refptr<cc::Layer> content_container_; 129 scoped_refptr<cc::Layer> content_container_;
133 130
134 DISALLOW_COPY_AND_ASSIGN(ContextualSearchSceneLayer); 131 DISALLOW_COPY_AND_ASSIGN(ContextualSearchSceneLayer);
135 }; 132 };
136 133
137 bool RegisterContextualSearchSceneLayer(JNIEnv* env); 134 bool RegisterContextualSearchSceneLayer(JNIEnv* env);
138 135
139 } // namespace android 136 } // namespace android
140 137
141 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE _LAYER_H_ 138 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE _LAYER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698