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

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

Issue 1540613002: Center static icon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2564
Patch Set: Created 5 years 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 23 matching lines...) Expand all
34 jint panel_icon_resource_id, 34 jint panel_icon_resource_id,
35 jint arrow_up_resource_id, 35 jint arrow_up_resource_id,
36 jint close_icon_resource_id, 36 jint close_icon_resource_id,
37 jint progress_bar_background_resource_id, 37 jint progress_bar_background_resource_id,
38 jint progress_bar_resource_id, 38 jint progress_bar_resource_id,
39 jint search_promo_resource_id, 39 jint search_promo_resource_id,
40 jint peek_promo_ripple_resource_id, 40 jint peek_promo_ripple_resource_id,
41 jint peek_promo_text_resource_id, 41 jint peek_promo_text_resource_id,
42 jint search_provider_icon_sprite_bitmap_resource_id, 42 jint search_provider_icon_sprite_bitmap_resource_id,
43 jint search_provider_icon_sprite_metadata_resource_id, 43 jint search_provider_icon_sprite_metadata_resource_id,
44 jfloat dp_to_px,
44 jobject jcontent_view_core, 45 jobject jcontent_view_core,
45 jboolean search_promo_visible, 46 jboolean search_promo_visible,
46 jfloat search_promo_height, 47 jfloat search_promo_height,
47 jfloat search_promo_opacity, 48 jfloat search_promo_opacity,
48 jboolean search_peek_promo_visible, 49 jboolean search_peek_promo_visible,
49 jfloat search_peek_promo_height, 50 jfloat search_peek_promo_height,
50 jfloat search_peek_promo_padding, 51 jfloat search_peek_promo_padding,
51 jfloat search_peek_promo_ripple_width, 52 jfloat search_peek_promo_ripple_width,
52 jfloat search_peek_promo_ripple_opacity, 53 jfloat search_peek_promo_ripple_opacity,
53 jfloat search_peek_promo_text_opacity, 54 jfloat search_peek_promo_text_opacity,
(...skipping 25 matching lines...) Expand all
79 80
80 DISALLOW_COPY_AND_ASSIGN(ContextualSearchSceneLayer); 81 DISALLOW_COPY_AND_ASSIGN(ContextualSearchSceneLayer);
81 }; 82 };
82 83
83 bool RegisterContextualSearchSceneLayer(JNIEnv* env); 84 bool RegisterContextualSearchSceneLayer(JNIEnv* env);
84 85
85 } // namespace android 86 } // namespace android
86 } // namespace chrome 87 } // namespace chrome
87 88
88 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE _LAYER_H_ 89 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE _LAYER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698