blob: 8fe5c798ddac55e9533d3830d9f6c96bfbe7a1be [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ANDROID_CHROME_SESSION_STATE_H_
#define CHROME_BROWSER_ANDROID_CHROME_SESSION_STATE_H_
#include <jni.h>
namespace chrome {
namespace android {
enum CustomTabsVisibilityHistogram {
VISIBLE_CUSTOM_TAB,
VISIBLE_CHROME_TAB,
CUSTOM_TABS_VISIBILITY_MAX
};
// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.flags
enum class ActivityType {
kTabbed,
kCustomTab,
kTrustedWebActivity,
kWebapp,
kWebApk,
kMaxValue = kWebApk,
};
CustomTabsVisibilityHistogram GetCustomTabsVisibleValue();
ActivityType GetActivityType();
bool GetIsInMultiWindowModeValue();
} // namespace android
} // namespace chrome
#endif // CHROME_BROWSER_ANDROID_CHROME_SESSION_STATE_H_