// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_VIEWS_PERMISSIONS_PERMISSION_PROMPT_BUBBLE_ONE_ORIGIN_VIEW_H_ #define CHROME_BROWSER_UI_VIEWS_PERMISSIONS_PERMISSION_PROMPT_BUBBLE_ONE_ORIGIN_VIEW_H_ #include "base/scoped_observation.h" #include "chrome/browser/ui/views/permissions/permission_prompt_bubble_base_view.h" #if !BUILDFLAG(IS_CHROMEOS) #include "chrome/browser/ui/views/media_preview/permission_prompt_previews_coordinator.h" #include "components/media_effects/media_device_info.h" #endif // Bubble that prompts the user to grant or deny a permission request from one // origin. // // ---------------------------------------------- // | [ X ]| // | Prompt title | // | ------------------------------------------ | // | 1+ rows with requests | // | e.g. [LocationIcon] Know your location | // | ------------------------------------------ | // | Extra text | // | ------------------------------------------ | // | [ Block ] [ Allow ] | // ---------------------------------------------- class PermissionPromptBubbleOneOriginView : #if !BUILDFLAG(IS_CHROMEOS) public media_effects::MediaDeviceInfo::Observer, #endif public PermissionPromptBubbleBaseView { … }; #endif // CHROME_BROWSER_UI_VIEWS_PERMISSIONS_PERMISSION_PROMPT_BUBBLE_ONE_ORIGIN_VIEW_H_