// 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_TWO_ORIGINS_VIEW_H_ #define CHROME_BROWSER_UI_VIEWS_PERMISSIONS_PERMISSION_PROMPT_BUBBLE_TWO_ORIGINS_VIEW_H_ #include "base/task/cancelable_task_tracker.h" #include "base/timer/timer.h" #include "chrome/browser/ui/views/permissions/permission_prompt_bubble_base_view.h" #include "components/favicon_base/favicon_types.h" #include "ui/views/controls/styled_label.h" #include "ui/views/layout/flex_layout_view.h" #include "ui/views/view_observer.h" // Bubble that prompts the user to grant or deny a permission request from from // a pair of origins. // // ------------------------------------------------- // | [ X ]| // | Favicons from the two origins | // | --------------------------------------------- | // | Prompt title mentioning the requesting origin | // | --------------------------------------------- | // | Optional description | // | Optional link | // | --------------------------------------------- | // | [ Block ] [ Allow ] | // ------------------------------------------------- class PermissionPromptBubbleTwoOriginsView : public PermissionPromptBubbleBaseView, public views::ViewObserver { … }; #endif // CHROME_BROWSER_UI_VIEWS_PERMISSIONS_PERMISSION_PROMPT_BUBBLE_TWO_ORIGINS_VIEW_H_