| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "android_webview/native/aw_contents_lifecycle_notifier.h" | |
| 6 | |
| 7 #include "jni/AwContentsLifecycleNotifier_jni.h" | |
| 8 | |
| 9 using base::android::AttachCurrentThread; | |
| 10 | |
| 11 namespace android_webview { | |
| 12 | |
| 13 // static | |
| 14 void AwContentsLifecycleNotifier::OnWebViewCreated() { | |
| 15 Java_AwContentsLifecycleNotifier_onWebViewCreated(AttachCurrentThread()); | |
| 16 } | |
| 17 | |
| 18 // static | |
| 19 void AwContentsLifecycleNotifier::OnWebViewDestroyed() { | |
| 20 Java_AwContentsLifecycleNotifier_onWebViewDestroyed(AttachCurrentThread()); | |
| 21 } | |
| 22 | |
| 23 } // namespace android_webview | |
| OLD | NEW |