chromium/chrome/browser/ui/views/javascript_app_modal_event_blocker_aura.h

// Copyright 2014 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_JAVASCRIPT_APP_MODAL_EVENT_BLOCKER_AURA_H_
#define CHROME_BROWSER_UI_VIEWS_JAVASCRIPT_APP_MODAL_EVENT_BLOCKER_AURA_H_

#include "base/memory/raw_ptr.h"
#include "ui/aura/window.h"
#include "ui/events/event_handler.h"

class BrowserView;

namespace ui {
class EventTarget;
}

// JavascriptAppModalEventBlockerAura blocks events to all browser windows
// except the browser window which hosts |app_modal_window| for the duration of
// its lifetime. JavascriptAppModalEventBlockerAura should not outlive
// |app_modal_window|.
// TODO(pkotwicz): Merge this class into WindowModalityController.
class JavascriptAppModalEventBlockerAura : public ui::EventHandler {};

#endif  // CHROME_BROWSER_UI_VIEWS_JAVASCRIPT_APP_MODAL_EVENT_BLOCKER_AURA_H_