Update V8 to version 4.7.19.
[chromium-blink-merge.git] / android_webview / native / aw_webview_lifecycle_observer.h
blobeda8d055d7c4cb539367b19df81974f4c8ae7e27
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.
5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_WEBVIEW_LIFECYCLE_OBSERVER_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_WEBVIEW_LIFECYCLE_OBSERVER_H_
8 #include "base/android/jni_android.h"
10 namespace android_webview {
12 class AwWebViewLifecycleObserver {
13 public:
14 static void OnFirstWebViewCreated();
15 static void OnLastWebViewDestroyed();
17 private:
18 DISALLOW_COPY_AND_ASSIGN(AwWebViewLifecycleObserver);
21 bool RegisterAwWebViewLifecycleObserver(JNIEnv* env);
23 } // namespace android_webview
25 #endif