#include "components/permissions/contexts/window_management_permission_context.h"
#include "base/feature_list.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/permissions/features.h"
#include "components/permissions/permission_request_id.h"
#include "content/public/browser/render_frame_host.h"
#include "third_party/blink/public/mojom/frame/user_activation_notification_type.mojom.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy.mojom.h"
namespace permissions {
WindowManagementPermissionContext::WindowManagementPermissionContext(
content::BrowserContext* browser_context)
: … { … }
WindowManagementPermissionContext::~WindowManagementPermissionContext() =
default;
#if BUILDFLAG(IS_ANDROID)
ContentSetting WindowManagementPermissionContext::GetPermissionStatusInternal(
content::RenderFrameHost* render_frame_host,
const GURL& requesting_origin,
const GURL& embedding_origin) const {
NOTIMPLEMENTED_LOG_ONCE();
return CONTENT_SETTING_BLOCK;
}
#endif
void WindowManagementPermissionContext::UserMadePermissionDecision(
const PermissionRequestID& id,
const GURL& requesting_origin,
const GURL& embedding_origin,
ContentSetting content_setting) { … }
}