Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / chrome_web_modal_dialog_manager_delegate.h
blob749debc81d8b41735ca1165088c979c488402c8f
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 {
14 public:
15 ChromeWebModalDialogManagerDelegate();
16 virtual ~ChromeWebModalDialogManagerDelegate();
18 protected:
19 // Overridden from web_modal::WebContentsModalDialogManagerDelegate:
20 virtual bool IsWebContentsVisible(
21 content::WebContents* web_contents) OVERRIDE;
23 private:
24 DISALLOW_COPY_AND_ASSIGN(ChromeWebModalDialogManagerDelegate);
27 #endif // CHROME_BROWSER_UI_CHROME_WEB_MODAL_DIALOG_MANAGER_DELEGATE_H_