Fix infinite recursion on hiding panel when created during fullscreen mode.
[chromium-blink-merge.git] / components / navigation_interception / navigation_params_android.h
blob004d4927384fe5f44cf9cd7a1309490e867f4187
1 // Copyright (c) 2013 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 COMPONENTS_NAVIGATION_INTERCEPTION_NAVIGATION_PARAMS_ANDROID_H_
6 #define COMPONENTS_NAVIGATION_INTERCEPTION_NAVIGATION_PARAMS_ANDROID_H_
8 #include "base/android/jni_android.h"
9 #include "base/android/scoped_java_ref.h"
10 #include "components/navigation_interception/navigation_params.h"
12 namespace navigation_interception {
14 base::android::ScopedJavaLocalRef<jobject> CreateJavaNavigationParams(
15 JNIEnv* env,
16 const NavigationParams& params);
18 bool RegisterNavigationParams(JNIEnv* env);
20 } // namespace navigation_interception
22 #endif // COMPONENTS_NAVIGATION_INTERCEPTION_NAVIGATION_PARAMS_ANDROID_H_