• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
4 
5 #ifndef CHROME_BROWSER_UI_CHROME_WEB_MODAL_DIALOG_MANAGER_DELEGATE_H_
6 #define CHROME_BROWSER_UI_CHROME_WEB_MODAL_DIALOG_MANAGER_DELEGATE_H_
7 
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "components/web_modal/web_contents_modal_dialog_manager_delegate.h"
11 
12 class ChromeWebModalDialogManagerDelegate
13     : public web_modal::WebContentsModalDialogManagerDelegate {
14  public:
15   ChromeWebModalDialogManagerDelegate();
16   virtual ~ChromeWebModalDialogManagerDelegate();
17 
18  protected:
19   // Overridden from web_modal::WebContentsModalDialogManagerDelegate:
20   virtual bool IsWebContentsVisible(
21       content::WebContents* web_contents) OVERRIDE;
22 
23  private:
24   DISALLOW_COPY_AND_ASSIGN(ChromeWebModalDialogManagerDelegate);
25 };
26 
27 #endif  // CHROME_BROWSER_UI_CHROME_WEB_MODAL_DIALOG_MANAGER_DELEGATE_H_
28