#include "chrome/browser/ui/views/apps/app_info_dialog/app_info_dialog_container.h"
#include <utility>
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "chrome/common/buildflags.h"
#include "ui/base/accelerators/accelerator.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/mojom/dialog_button.mojom.h"
#include "ui/base/mojom/ui_base_types.mojom-shared.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/ui_base_types.h"
#include "ui/events/event_constants.h"
#include "ui/events/keycodes/keyboard_codes.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/color_palette.h"
#include "ui/views/border.h"
#include "ui/views/bubble/bubble_border.h"
#include "ui/views/bubble/bubble_frame_view.h"
#include "ui/views/layout/fill_layout.h"
#include "ui/views/widget/widget.h"
#include "ui/views/window/client_view.h"
#include "ui/views/window/dialog_delegate.h"
#include "ui/views/window/native_frame_view.h"
#include "ui/views/window/non_client_view.h"
namespace {
#if BUILDFLAG(IS_MAC)
const ui::mojom::ModalType kModalType = ui::mojom::ModalType::kChild;
const views::BubbleBorder::Shadow kShadowType = views::BubbleBorder::NO_SHADOW;
#else
const ui::mojom::ModalType kModalType = …;
const views::BubbleBorder::Shadow kShadowType = …;
#endif
class FullSizeBubbleFrameView : public views::BubbleFrameView { … };
BEGIN_METADATA(…)
class NativeDialogContainer : public views::DialogDelegateView { … };
BEGIN_METADATA(…)
}
views::DialogDelegateView* CreateDialogContainerForView(
std::unique_ptr<views::View> view,
const gfx::Size& size,
base::OnceClosure close_callback) { … }