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

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

Issue 1337703002: [Contextual Search] Add support for crushed sprites and animate the search provider icon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 <vector> 8 #include <vector>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 jfloat search_panel_height, 46 jfloat search_panel_height,
47 jfloat search_bar_margin_side, 47 jfloat search_bar_margin_side,
48 jfloat search_bar_height, 48 jfloat search_bar_height,
49 jfloat search_context_opacity, 49 jfloat search_context_opacity,
50 jfloat search_term_opacity, 50 jfloat search_term_opacity,
51 jboolean search_bar_border_visible, 51 jboolean search_bar_border_visible,
52 jfloat search_bar_border_y, 52 jfloat search_bar_border_y,
53 jfloat search_bar_border_height, 53 jfloat search_bar_border_height,
54 jboolean search_bar_shadow_visible, 54 jboolean search_bar_shadow_visible,
55 jfloat search_bar_shadow_opacity, 55 jfloat search_bar_shadow_opacity,
56 jboolean search_provider_icon_visible,
57 jint search_provider_icon_sprites_per_row,
58 jint search_provider_icon_sprite_rows,
59 jint search_provider_icon_sprite_frame,
56 jfloat arrow_icon_opacity, 60 jfloat arrow_icon_opacity,
57 jfloat arrow_icon_rotation, 61 jfloat arrow_icon_rotation,
58 jboolean close_icon_visible, 62 jboolean close_icon_visible,
59 jfloat close_icon_opacity, 63 jfloat close_icon_opacity,
60 jboolean progress_bar_visible, 64 jboolean progress_bar_visible,
61 jfloat progress_bar_y, 65 jfloat progress_bar_y,
62 jfloat progress_bar_height, 66 jfloat progress_bar_height,
63 jfloat progress_bar_opacity, 67 jfloat progress_bar_opacity,
64 jint progress_bar_completion, 68 jint progress_bar_completion,
65 jobject jresource_manager); 69 jobject jresource_manager);
66 70
67 private: 71 private:
68 scoped_refptr<ContextualSearchLayer> contextual_search_layer_; 72 scoped_refptr<ContextualSearchLayer> contextual_search_layer_;
69 73
70 DISALLOW_COPY_AND_ASSIGN(ContextualSearchSceneLayer); 74 DISALLOW_COPY_AND_ASSIGN(ContextualSearchSceneLayer);
71 }; 75 };
72 76
73 bool RegisterContextualSearchSceneLayer(JNIEnv* env); 77 bool RegisterContextualSearchSceneLayer(JNIEnv* env);
74 78
75 } // namespace android 79 } // namespace android
76 } // namespace chrome 80 } // namespace chrome
77 81
78 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE _LAYER_H_ 82 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE _LAYER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698