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

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

Issue 1911433002: Refactor BrowserViewRenderer-RenderThreadManager relationship. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address most comments Created 4 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 (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 9
10 #include <list> 10 #include <list>
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 const GURL& origin) override; 231 const GURL& origin) override;
232 void RequestGeolocationPermission( 232 void RequestGeolocationPermission(
233 const GURL& origin, 233 const GURL& origin,
234 const base::Callback<void(bool)>& callback) override; 234 const base::Callback<void(bool)>& callback) override;
235 void CancelGeolocationPermissionRequests(const GURL& origin) override; 235 void CancelGeolocationPermissionRequests(const GURL& origin) override;
236 void RequestMIDISysexPermission( 236 void RequestMIDISysexPermission(
237 const GURL& origin, 237 const GURL& origin,
238 const base::Callback<void(bool)>& callback) override; 238 const base::Callback<void(bool)>& callback) override;
239 void CancelMIDISysexPermissionRequests(const GURL& origin) override; 239 void CancelMIDISysexPermissionRequests(const GURL& origin) override;
240 240
241 // ex-SharedRendererStateClient implementation.
242 void OnParentDrawConstraintsUpdated();
243
244 // Find-in-page API and related methods. 241 // Find-in-page API and related methods.
245 void FindAllAsync(JNIEnv* env, 242 void FindAllAsync(JNIEnv* env,
246 const base::android::JavaParamRef<jobject>& obj, 243 const base::android::JavaParamRef<jobject>& obj,
247 const base::android::JavaParamRef<jstring>& search_string); 244 const base::android::JavaParamRef<jstring>& search_string);
248 void FindNext(JNIEnv* env, 245 void FindNext(JNIEnv* env,
249 const base::android::JavaParamRef<jobject>& obj, 246 const base::android::JavaParamRef<jobject>& obj,
250 jboolean forward); 247 jboolean forward);
251 void ClearMatches(JNIEnv* env, 248 void ClearMatches(JNIEnv* env,
252 const base::android::JavaParamRef<jobject>& obj); 249 const base::android::JavaParamRef<jobject>& obj);
253 FindHelper* GetFindHelper(); 250 FindHelper* GetFindHelper();
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 GLViewRendererManager::Key renderer_manager_key_; 368 GLViewRendererManager::Key renderer_manager_key_;
372 369
373 DISALLOW_COPY_AND_ASSIGN(AwContents); 370 DISALLOW_COPY_AND_ASSIGN(AwContents);
374 }; 371 };
375 372
376 bool RegisterAwContents(JNIEnv* env); 373 bool RegisterAwContents(JNIEnv* env);
377 374
378 } // namespace android_webview 375 } // namespace android_webview
379 376
380 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 377 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698