OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 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 void SetWebContentsBlocked(content::WebContents* web_contents, |
| 21 bool blocked) OVERRIDE; |
| 22 virtual bool IsWebContentsVisible( |
| 23 content::WebContents* web_contents) OVERRIDE; |
| 24 |
| 25 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(ChromeWebModalDialogManagerDelegate); |
| 27 }; |
| 28 |
| 29 #endif // CHROME_BROWSER_UI_CHROME_WEB_MODAL_DIALOG_MANAGER_DELEGATE_H_ |
OLD | NEW |