1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_CHROME_WEB_MODAL_DIALOG_MANAGER_DELEGATE_H_
6 #define CHROME_BROWSER_UI_CHROME_WEB_MODAL_DIALOG_MANAGER_DELEGATE_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "components/web_modal/web_contents_modal_dialog_manager_delegate.h"
12 class ChromeWebModalDialogManagerDelegate
13 : public web_modal::WebContentsModalDialogManagerDelegate
{
15 ChromeWebModalDialogManagerDelegate();
16 ~ChromeWebModalDialogManagerDelegate() override
;
19 // Overridden from web_modal::WebContentsModalDialogManagerDelegate:
20 bool IsWebContentsVisible(content::WebContents
* web_contents
) override
;
23 DISALLOW_COPY_AND_ASSIGN(ChromeWebModalDialogManagerDelegate
);
26 #endif // CHROME_BROWSER_UI_CHROME_WEB_MODAL_DIALOG_MANAGER_DELEGATE_H_