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

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

Issue 2626723003: Revert "Introduce ViewRoot forwarding input/view events to native" (Closed)
Patch Set: Created 3 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 9
10 #include <list> 10 #include <list>
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 const base::android::JavaParamRef<jobjectArray>& ports); 326 const base::android::JavaParamRef<jobjectArray>& ports);
327 327
328 void GrantFileSchemeAccesstoChildProcess( 328 void GrantFileSchemeAccesstoChildProcess(
329 JNIEnv* env, 329 JNIEnv* env,
330 const base::android::JavaParamRef<jobject>& obj); 330 const base::android::JavaParamRef<jobject>& obj);
331 331
332 void ResumeLoadingCreatedPopupWebContents( 332 void ResumeLoadingCreatedPopupWebContents(
333 JNIEnv* env, 333 JNIEnv* env,
334 const base::android::JavaParamRef<jobject>& obj); 334 const base::android::JavaParamRef<jobject>& obj);
335 335
336 base::android::ScopedJavaLocalRef<jobject> GetViewRoot(JNIEnv* env,
337 const base::android::JavaParamRef<jobject>& obj);
338
339 // content::WebContentsObserver overrides 336 // content::WebContentsObserver overrides
340 void RenderViewHostChanged(content::RenderViewHost* old_host, 337 void RenderViewHostChanged(content::RenderViewHost* old_host,
341 content::RenderViewHost* new_host) override; 338 content::RenderViewHost* new_host) override;
342 void DidAttachInterstitialPage() override; 339 void DidAttachInterstitialPage() override;
343 void DidDetachInterstitialPage() override; 340 void DidDetachInterstitialPage() override;
344 341
345 private: 342 private:
346 void InitAutofillIfNecessary(bool enabled); 343 void InitAutofillIfNecessary(bool enabled);
347 344
348 // Geolocation API support 345 // Geolocation API support
(...skipping 27 matching lines...) Expand all
376 GLViewRendererManager::Key renderer_manager_key_; 373 GLViewRendererManager::Key renderer_manager_key_;
377 374
378 DISALLOW_COPY_AND_ASSIGN(AwContents); 375 DISALLOW_COPY_AND_ASSIGN(AwContents);
379 }; 376 };
380 377
381 bool RegisterAwContents(JNIEnv* env); 378 bool RegisterAwContents(JNIEnv* env);
382 379
383 } // namespace android_webview 380 } // namespace android_webview
384 381
385 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_ 382 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_H_
OLDNEW
« no previous file with comments | « android_webview/java/src/org/chromium/android_webview/AwContents.java ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698