| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_LAYER_CONTEXTUAL_SEARCH_LAYER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_CONTEXTUAL_SEARCH_LAYER_H_ |
| 6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_CONTEXTUAL_SEARCH_LAYER_H_ | 6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_CONTEXTUAL_SEARCH_LAYER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "chrome/browser/android/compositor/layer/layer.h" | 10 #include "chrome/browser/android/compositor/layer/layer.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 int panel_icon_resource_id, | 41 int panel_icon_resource_id, |
| 42 int arrow_up_resource_id, | 42 int arrow_up_resource_id, |
| 43 int close_icon_resource_id, | 43 int close_icon_resource_id, |
| 44 int progress_bar_background_resource_id, | 44 int progress_bar_background_resource_id, |
| 45 int progress_bar_resource_id, | 45 int progress_bar_resource_id, |
| 46 int search_promo_resource_id, | 46 int search_promo_resource_id, |
| 47 int peek_promo_ripple_resource_id, | 47 int peek_promo_ripple_resource_id, |
| 48 int peek_promo_text_resource_id, | 48 int peek_promo_text_resource_id, |
| 49 int search_provider_icon_sprite_bitmap_resource_id, | 49 int search_provider_icon_sprite_bitmap_resource_id, |
| 50 int search_provider_icon_sprite_metadata_resource_id, | 50 int search_provider_icon_sprite_metadata_resource_id, |
| 51 float dp_to_px, |
| 51 content::ContentViewCore* content_view_core, | 52 content::ContentViewCore* content_view_core, |
| 52 bool search_promo_visible, | 53 bool search_promo_visible, |
| 53 float search_promo_height, | 54 float search_promo_height, |
| 54 float search_promo_opacity, | 55 float search_promo_opacity, |
| 55 bool search_peek_promo_visible, | 56 bool search_peek_promo_visible, |
| 56 float search_peek_promo_height, | 57 float search_peek_promo_height, |
| 57 float search_peek_promo_padding, | 58 float search_peek_promo_padding, |
| 58 float search_peek_promo_ripple_width, | 59 float search_peek_promo_ripple_width, |
| 59 float search_peek_promo_ripple_opacity, | 60 float search_peek_promo_ripple_opacity, |
| 60 float search_peek_promo_text_opacity, | 61 float search_peek_promo_text_opacity, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 | 109 |
| 109 scoped_refptr<cc::SolidColorLayer> peek_promo_container_; | 110 scoped_refptr<cc::SolidColorLayer> peek_promo_container_; |
| 110 scoped_refptr<cc::NinePatchLayer> peek_promo_ripple_; | 111 scoped_refptr<cc::NinePatchLayer> peek_promo_ripple_; |
| 111 scoped_refptr<cc::UIResourceLayer> peek_promo_text_; | 112 scoped_refptr<cc::UIResourceLayer> peek_promo_text_; |
| 112 }; | 113 }; |
| 113 | 114 |
| 114 } // namespace android | 115 } // namespace android |
| 115 } // namespace chrome | 116 } // namespace chrome |
| 116 | 117 |
| 117 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_CONTEXTUAL_SEARCH_LAYER_H_ | 118 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_CONTEXTUAL_SEARCH_LAYER_H_ |
| OLD | NEW |