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

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

Issue 944053004: OffscreenPreRaster and its plumbings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 AwRenderViewHostExt* render_view_host_ext() { 74 AwRenderViewHostExt* render_view_host_ext() {
75 return render_view_host_ext_.get(); 75 return render_view_host_ext_.get();
76 } 76 }
77 77
78 // |handler| is an instance of 78 // |handler| is an instance of
79 // org.chromium.android_webview.AwHttpAuthHandler. 79 // org.chromium.android_webview.AwHttpAuthHandler.
80 bool OnReceivedHttpAuthRequest(const base::android::JavaRef<jobject>& handler, 80 bool OnReceivedHttpAuthRequest(const base::android::JavaRef<jobject>& handler,
81 const std::string& host, 81 const std::string& host,
82 const std::string& realm); 82 const std::string& realm);
83 83
84 void SetOffscreenPreRaster(bool enabled);
85
84 // Methods called from Java. 86 // Methods called from Java.
85 void SetJavaPeers(JNIEnv* env, 87 void SetJavaPeers(JNIEnv* env,
86 jobject obj, 88 jobject obj,
87 jobject aw_contents, 89 jobject aw_contents,
88 jobject web_contents_delegate, 90 jobject web_contents_delegate,
89 jobject contents_client_bridge, 91 jobject contents_client_bridge,
90 jobject io_thread_client, 92 jobject io_thread_client,
91 jobject intercept_navigation_delegate); 93 jobject intercept_navigation_delegate);
92 base::android::ScopedJavaLocalRef<jobject> GetWebContents(JNIEnv* env, 94 base::android::ScopedJavaLocalRef<jobject> GetWebContents(JNIEnv* env,
93 jobject obj); 95 jobject obj);
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 GLViewRendererManager::Key renderer_manager_key_; 258 GLViewRendererManager::Key renderer_manager_key_;
257 259
258 DISALLOW_COPY_AND_ASSIGN(AwContents); 260 DISALLOW_COPY_AND_ASSIGN(AwContents);
259 }; 261 };
260 262
261 bool RegisterAwContents(JNIEnv* env); 263 bool RegisterAwContents(JNIEnv* env);
262 264
263 } // namespace android_webview 265 } // namespace android_webview
264 266
265 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 267 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
OLDNEW
« no previous file with comments | « android_webview/java/src/org/chromium/android_webview/AwSettings.java ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698