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

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

Issue 1347023004: [Contextual Search] Add close button in maximized state (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup rebase Created 5 years, 2 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 float search_bar_height, 54 float search_bar_height,
55 float search_context_opacity, 55 float search_context_opacity,
56 float search_term_opacity, 56 float search_term_opacity,
57 bool search_bar_border_visible, 57 bool search_bar_border_visible,
58 float search_bar_border_y, 58 float search_bar_border_y,
59 float search_bar_border_height, 59 float search_bar_border_height,
60 bool search_bar_shadow_visible, 60 bool search_bar_shadow_visible,
61 float search_bar_shadow_opacity, 61 float search_bar_shadow_opacity,
62 float arrow_icon_opacity, 62 float arrow_icon_opacity,
63 float arrow_icon_rotation, 63 float arrow_icon_rotation,
64 bool close_icon_visible,
65 float close_icon_opacity, 64 float close_icon_opacity,
66 bool progress_bar_visible, 65 bool progress_bar_visible,
67 float progress_bar_y, 66 float progress_bar_y,
68 float progress_bar_height, 67 float progress_bar_height,
69 float progress_bar_opacity, 68 float progress_bar_opacity,
70 int progress_bar_completion); 69 int progress_bar_completion);
71 70
72 scoped_refptr<cc::Layer> layer() override; 71 scoped_refptr<cc::Layer> layer() override;
73 72
74 protected: 73 protected:
(...skipping 17 matching lines...) Expand all
92 scoped_refptr<cc::NinePatchLayer> progress_bar_; 91 scoped_refptr<cc::NinePatchLayer> progress_bar_;
93 scoped_refptr<cc::NinePatchLayer> progress_bar_background_; 92 scoped_refptr<cc::NinePatchLayer> progress_bar_background_;
94 scoped_refptr<cc::UIResourceLayer> search_promo_; 93 scoped_refptr<cc::UIResourceLayer> search_promo_;
95 scoped_refptr<cc::SolidColorLayer> search_promo_container_; 94 scoped_refptr<cc::SolidColorLayer> search_promo_container_;
96 }; 95 };
97 96
98 } // namespace android 97 } // namespace android
99 } // namespace chrome 98 } // namespace chrome
100 99
101 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_CONTEXTUAL_SEARCH_LAYER_H_ 100 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_LAYER_CONTEXTUAL_SEARCH_LAYER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698