blob: 32f7f64e3cce9058bfee8e6243b760e258fdcd48 [file] [log] [blame]
timvolodine08ac6e22015-12-02 15:05:211// 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
ctzsm0baa01d2017-05-09 04:27:375#include "android_webview/browser/aw_contents_lifecycle_notifier.h"
timvolodine08ac6e22015-12-02 15:05:216
7#include "jni/AwContentsLifecycleNotifier_jni.h"
8
9using base::android::AttachCurrentThread;
10
11namespace android_webview {
12
timvolodine08ac6e22015-12-02 15:05:2113// static
14void AwContentsLifecycleNotifier::OnWebViewCreated() {
15 Java_AwContentsLifecycleNotifier_onWebViewCreated(AttachCurrentThread());
16}
17
18// static
19void AwContentsLifecycleNotifier::OnWebViewDestroyed() {
20 Java_AwContentsLifecycleNotifier_onWebViewDestroyed(AttachCurrentThread());
21}
22
23} // namespace android_webview