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

Side by Side Diff: android_webview/native/aw_contents.h

Issue 19693016: Hooking up setBackgroundColor from AwContents to render process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ity. Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <list> 9 #include <list>
10 #include <string> 10 #include <string>
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 void RequestNewHitTestDataAt(JNIEnv* env, jobject obj, jint x, jint y); 92 void RequestNewHitTestDataAt(JNIEnv* env, jobject obj, jint x, jint y);
93 void UpdateLastHitTestData(JNIEnv* env, jobject obj); 93 void UpdateLastHitTestData(JNIEnv* env, jobject obj);
94 void OnSizeChanged(JNIEnv* env, jobject obj, int w, int h, int ow, int oh); 94 void OnSizeChanged(JNIEnv* env, jobject obj, int w, int h, int ow, int oh);
95 void SetVisibility(JNIEnv* env, jobject obj, bool visible); 95 void SetVisibility(JNIEnv* env, jobject obj, bool visible);
96 void OnAttachedToWindow(JNIEnv* env, jobject obj, int w, int h); 96 void OnAttachedToWindow(JNIEnv* env, jobject obj, int w, int h);
97 void OnDetachedFromWindow(JNIEnv* env, jobject obj); 97 void OnDetachedFromWindow(JNIEnv* env, jobject obj);
98 base::android::ScopedJavaLocalRef<jbyteArray> GetOpaqueState( 98 base::android::ScopedJavaLocalRef<jbyteArray> GetOpaqueState(
99 JNIEnv* env, jobject obj); 99 JNIEnv* env, jobject obj);
100 jboolean RestoreFromOpaqueState(JNIEnv* env, jobject obj, jbyteArray state); 100 jboolean RestoreFromOpaqueState(JNIEnv* env, jobject obj, jbyteArray state);
101 void FocusFirstNode(JNIEnv* env, jobject obj); 101 void FocusFirstNode(JNIEnv* env, jobject obj);
102 void SetBackgroundColor(JNIEnv* env, jobject obj, jint color);
102 bool OnDraw(JNIEnv* env, 103 bool OnDraw(JNIEnv* env,
103 jobject obj, 104 jobject obj,
104 jobject canvas, 105 jobject canvas,
105 jboolean is_hardware_accelerated, 106 jboolean is_hardware_accelerated,
106 jint scroll_x, 107 jint scroll_x,
107 jint scroll_y, 108 jint scroll_y,
108 jint clip_left, 109 jint clip_left,
109 jint clip_top, 110 jint clip_top,
110 jint clip_right, 111 jint clip_right,
111 jint clip_bottom); 112 jint clip_bottom);
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 std::list<OriginCallback> pending_geolocation_prompts_; 188 std::list<OriginCallback> pending_geolocation_prompts_;
188 189
189 DISALLOW_COPY_AND_ASSIGN(AwContents); 190 DISALLOW_COPY_AND_ASSIGN(AwContents);
190 }; 191 };
191 192
192 bool RegisterAwContents(JNIEnv* env); 193 bool RegisterAwContents(JNIEnv* env);
193 194
194 } // namespace android_webview 195 } // namespace android_webview
195 196
196 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 197 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698