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

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

Issue 2801153003: [Contextual Search] Add a handle to the bar when Chrome Home is enabled (Closed)
Patch Set: Revert changes to OverlayPanelBase#initializeUiState() Created 3 years, 8 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 <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 jfloat progress_bar_opacity, 93 jfloat progress_bar_opacity,
94 jint progress_bar_completion, 94 jint progress_bar_completion,
95 jfloat divider_line_visibility_percentage, 95 jfloat divider_line_visibility_percentage,
96 jfloat divider_line_width, 96 jfloat divider_line_width,
97 jfloat divider_line_height, 97 jfloat divider_line_height,
98 jint divider_line_color, 98 jint divider_line_color,
99 jfloat divider_line_x_offset, 99 jfloat divider_line_x_offset,
100 jboolean touch_highlight_visible, 100 jboolean touch_highlight_visible,
101 jfloat touch_highlight_x_offset, 101 jfloat touch_highlight_x_offset,
102 jfloat touch_highlight_width, 102 jfloat touch_highlight_width,
103 jint bar_handle_resource_id,
104 jfloat bar_handle_offset_y,
105 jfloat bar_padding_bottom,
103 jobject j_profile); 106 jobject j_profile);
104 107
105 // Inherited from BitmapFetcherDelegate 108 // Inherited from BitmapFetcherDelegate
106 void OnFetchComplete( 109 void OnFetchComplete(
107 const GURL& url, 110 const GURL& url,
108 const SkBitmap* bitmap) override; 111 const SkBitmap* bitmap) override;
109 112
110 void SetContentTree( 113 void SetContentTree(
111 JNIEnv* env, 114 JNIEnv* env,
112 const base::android::JavaParamRef<jobject>& jobj, 115 const base::android::JavaParamRef<jobject>& jobj,
(...skipping 16 matching lines...) Expand all
129 scoped_refptr<cc::Layer> content_container_; 132 scoped_refptr<cc::Layer> content_container_;
130 133
131 DISALLOW_COPY_AND_ASSIGN(ContextualSearchSceneLayer); 134 DISALLOW_COPY_AND_ASSIGN(ContextualSearchSceneLayer);
132 }; 135 };
133 136
134 bool RegisterContextualSearchSceneLayer(JNIEnv* env); 137 bool RegisterContextualSearchSceneLayer(JNIEnv* env);
135 138
136 } // namespace android 139 } // namespace android
137 140
138 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE _LAYER_H_ 141 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_SCENE_LAYER_CONTEXTUAL_SEARCH_SCENE _LAYER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698