blob: 011b15300d57bac148f77b9e2275600bfba9475a [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 COMPONENTS_PAGE_INFO_PAGE_INFO_UI_DELEGATE_H_
#define COMPONENTS_PAGE_INFO_PAGE_INFO_UI_DELEGATE_H_
#include "build/build_config.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/permissions/permission_result.h"
#include "url/gurl.h"
class PageInfoUiDelegate {
public:
virtual ~PageInfoUiDelegate() = default;
#if !defined(OS_ANDROID)
virtual bool IsBlockAutoPlayEnabled() = 0;
#endif
virtual permissions::PermissionResult GetPermissionStatus(
ContentSettingsType type) = 0;
virtual bool ShouldShowAllow(ContentSettingsType type) = 0;
virtual bool ShouldShowAsk(ContentSettingsType type) = 0;
};
#endif // COMPONENTS_PAGE_INFO_PAGE_INFO_UI_DELEGATE_H_