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

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

Issue 831903004: [WebView] Add a new flushVisualState API to AwContents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 5 years, 11 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 (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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 jboolean is_hardware_accelerated, 120 jboolean is_hardware_accelerated,
121 jint scroll_x, 121 jint scroll_x,
122 jint scroll_y, 122 jint scroll_y,
123 jint visible_left, 123 jint visible_left,
124 jint visible_top, 124 jint visible_top,
125 jint visible_right, 125 jint visible_right,
126 jint visible_bottom); 126 jint visible_bottom);
127 jlong GetAwDrawGLViewContext(JNIEnv* env, jobject obj); 127 jlong GetAwDrawGLViewContext(JNIEnv* env, jobject obj);
128 jlong CapturePicture(JNIEnv* env, jobject obj, int width, int height); 128 jlong CapturePicture(JNIEnv* env, jobject obj, int width, int height);
129 void EnableOnNewPicture(JNIEnv* env, jobject obj, jboolean enabled); 129 void EnableOnNewPicture(JNIEnv* env, jobject obj, jboolean enabled);
130 void FlushVisualState(JNIEnv* env, jobject obj, jobject callback);
130 void ClearView(JNIEnv* env, jobject obj); 131 void ClearView(JNIEnv* env, jobject obj);
131 void SetExtraHeadersForUrl(JNIEnv* env, jobject obj, 132 void SetExtraHeadersForUrl(JNIEnv* env, jobject obj,
132 jstring url, jstring extra_headers); 133 jstring url, jstring extra_headers);
133 134
134 void InvokeGeolocationCallback(JNIEnv* env, 135 void InvokeGeolocationCallback(JNIEnv* env,
135 jobject obj, 136 jobject obj,
136 jboolean value, 137 jboolean value,
137 jstring origin); 138 jstring origin);
138 139
139 // PermissionRequestHandlerClient implementation. 140 // PermissionRequestHandlerClient implementation.
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 GLViewRendererManager::Key renderer_manager_key_; 256 GLViewRendererManager::Key renderer_manager_key_;
256 257
257 DISALLOW_COPY_AND_ASSIGN(AwContents); 258 DISALLOW_COPY_AND_ASSIGN(AwContents);
258 }; 259 };
259 260
260 bool RegisterAwContents(JNIEnv* env); 261 bool RegisterAwContents(JNIEnv* env);
261 262
262 } // namespace android_webview 263 } // namespace android_webview
263 264
264 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 265 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698