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

Side by Side Diff: chrome/browser/android/compositor/layer/contextual_search_layer.h

Issue 1237913002: [Contextual Search] Adds basic support for narrow Search Panel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 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 28 matching lines...) Expand all
39 int search_icon_resource_id, 39 int search_icon_resource_id,
40 int arrow_up_resource_id, 40 int arrow_up_resource_id,
41 int close_icon_resource_id, 41 int close_icon_resource_id,
42 int progress_bar_background_resource_id, 42 int progress_bar_background_resource_id,
43 int progress_bar_resource_id, 43 int progress_bar_resource_id,
44 int search_promo_resource_id, 44 int search_promo_resource_id,
45 content::ContentViewCore* content_view_core, 45 content::ContentViewCore* content_view_core,
46 bool search_promo_visible, 46 bool search_promo_visible,
47 float search_promo_height, 47 float search_promo_height,
48 float search_promo_opacity, 48 float search_promo_opacity,
49 float search_panel_x,
49 float search_panel_y, 50 float search_panel_y,
50 float search_panel_width, 51 float search_panel_width,
52 float search_panel_height,
51 float search_bar_margin_top, 53 float search_bar_margin_top,
52 float search_bar_margin_side, 54 float search_bar_margin_side,
53 float search_bar_height, 55 float search_bar_height,
54 float search_bar_text_opacity, 56 float search_bar_text_opacity,
55 bool search_bar_border_visible, 57 bool search_bar_border_visible,
56 float search_bar_border_y, 58 float search_bar_border_y,
57 float search_bar_border_height, 59 float search_bar_border_height,
58 bool search_bar_shadow_visible, 60 bool search_bar_shadow_visible,
59 float search_bar_shadow_opacity, 61 float search_bar_shadow_opacity,
60 bool side_search_provider_icon_visible, 62 bool side_search_provider_icon_visible,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 scoped_refptr<cc::NinePatchLayer> progress_bar_; 96 scoped_refptr<cc::NinePatchLayer> progress_bar_;
95 scoped_refptr<cc::NinePatchLayer> progress_bar_background_; 97 scoped_refptr<cc::NinePatchLayer> progress_bar_background_;
96 scoped_refptr<cc::UIResourceLayer> search_promo_; 98 scoped_refptr<cc::UIResourceLayer> search_promo_;
97 scoped_refptr<cc::SolidColorLayer> search_promo_container_; 99 scoped_refptr<cc::SolidColorLayer> search_promo_container_;
98 }; 100 };
99 101
100 } // namespace android 102 } // namespace android
101 } // namespace chrome 103 } // namespace chrome
102 104
103 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_CONTEXTUAL_SEARCH_LAYER_H_ 105 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_CONTEXTUAL_SEARCH_LAYER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698