#include "chrome/browser/ui/views/extensions/security_dialog_tracker.h"
#include <memory>
#include "base/no_destructor.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_window.h"
#include "ui/base/class_property.h"
#include "ui/base/interaction/element_identifier.h"
#include "ui/views/interaction/element_tracker_views.h"
#include "ui/views/view.h"
#include "ui/views/view_class_properties.h"
#include "ui/views/widget/widget.h"
namespace {
DEFINE_UI_CLASS_PROPERTY_KEY(…)
DECLARE_ELEMENT_IDENTIFIER_VALUE(…);
DEFINE_ELEMENT_IDENTIFIER_VALUE(kSecuritySensitiveDialogIdentifier);
IdentifierView;
std::unique_ptr<IdentifierView> MakeIdentifierView() { … }
}
namespace extensions {
SecurityDialogTracker* SecurityDialogTracker::GetInstance() { … }
void SecurityDialogTracker::AddSecurityDialog(views::Widget* widget) { … }
void SecurityDialogTracker::RemoveSecurityDialog(views::Widget* widget) { … }
bool SecurityDialogTracker::BrowserHasVisibleSecurityDialogs(
Browser* browser) const { … }
SecurityDialogTracker::SecurityDialogTracker() = default;
SecurityDialogTracker::~SecurityDialogTracker() = default;
}