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

Side by Side Diff: chrome/browser/android/compositor/compositor_view.h

Issue 1417353003: Move UrlBar background drawing to CC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests compile issue Created 5 years, 1 month 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_COMPOSITOR_VIEW_H_ 5 #ifndef CHROME_BROWSER_ANDROID_COMPOSITOR_COMPOSITOR_VIEW_H_
6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_COMPOSITOR_VIEW_H_ 6 #define CHROME_BROWSER_ANDROID_COMPOSITOR_COMPOSITOR_VIEW_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 jfloat width, 76 jfloat width,
77 jfloat height, 77 jfloat height,
78 jfloat visible_x_offset, 78 jfloat visible_x_offset,
79 jfloat visible_y_offset, 79 jfloat visible_y_offset,
80 jfloat overdraw_bottom_height, 80 jfloat overdraw_bottom_height,
81 jfloat dp_to_pixel); 81 jfloat dp_to_pixel);
82 void UpdateToolbarLayer(JNIEnv* env, 82 void UpdateToolbarLayer(JNIEnv* env,
83 jobject object, 83 jobject object,
84 jint toolbar_resource_id, 84 jint toolbar_resource_id,
85 jint toolbar_background_color, 85 jint toolbar_background_color,
86 jint url_bar_resource_id,
87 jfloat url_bar_alpha,
86 jfloat top_offset, 88 jfloat top_offset,
87 jfloat brightness, 89 jfloat brightness,
88 bool visible, 90 bool visible,
89 bool show_shadow); 91 bool show_shadow);
90 void UpdateProgressBar(JNIEnv* env, 92 void UpdateProgressBar(JNIEnv* env,
91 jobject object, 93 jobject object,
92 jint progress_bar_x, 94 jint progress_bar_x,
93 jint progress_bar_y, 95 jint progress_bar_y,
94 jint progress_bar_width, 96 jint progress_bar_width,
95 jint progress_bar_height, 97 jint progress_bar_height,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 153
152 DISALLOW_COPY_AND_ASSIGN(CompositorView); 154 DISALLOW_COPY_AND_ASSIGN(CompositorView);
153 }; 155 };
154 156
155 bool RegisterCompositorView(JNIEnv* env); 157 bool RegisterCompositorView(JNIEnv* env);
156 158
157 } // namespace android 159 } // namespace android
158 } // namespace chrome 160 } // namespace chrome
159 161
160 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_COMPOSITOR_VIEW_H_ 162 #endif // CHROME_BROWSER_ANDROID_COMPOSITOR_COMPOSITOR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698