OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_CHROME_WEB_MODAL_DIALOG_MANAGER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_CHROME_WEB_MODAL_DIALOG_MANAGER_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_CHROME_WEB_MODAL_DIALOG_MANAGER_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_CHROME_WEB_MODAL_DIALOG_MANAGER_DELEGATE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "components/web_modal/web_contents_modal_dialog_manager_delegate.h" | 10 #include "components/web_modal/web_contents_modal_dialog_manager_delegate.h" |
11 | 11 |
12 class ChromeWebModalDialogManagerDelegate | 12 class ChromeWebModalDialogManagerDelegate |
13 : public web_modal::WebContentsModalDialogManagerDelegate { | 13 : public web_modal::WebContentsModalDialogManagerDelegate { |
14 public: | 14 public: |
15 ChromeWebModalDialogManagerDelegate(); | 15 ChromeWebModalDialogManagerDelegate(); |
16 virtual ~ChromeWebModalDialogManagerDelegate(); | 16 virtual ~ChromeWebModalDialogManagerDelegate(); |
17 | 17 |
18 protected: | 18 protected: |
19 // Overridden from web_modal::WebContentsModalDialogManagerDelegate: | 19 // Overridden from web_modal::WebContentsModalDialogManagerDelegate: |
20 virtual bool IsWebContentsVisible( | 20 virtual bool IsWebContentsVisible( |
21 content::WebContents* web_contents) OVERRIDE; | 21 content::WebContents* web_contents) OVERRIDE; |
22 | 22 |
23 private: | 23 private: |
24 DISALLOW_COPY_AND_ASSIGN(ChromeWebModalDialogManagerDelegate); | 24 DISALLOW_COPY_AND_ASSIGN(ChromeWebModalDialogManagerDelegate); |
25 }; | 25 }; |
26 | 26 |
27 #endif // CHROME_BROWSER_UI_CHROME_WEB_MODAL_DIALOG_MANAGER_DELEGATE_H_ | 27 #endif // CHROME_BROWSER_UI_CHROME_WEB_MODAL_DIALOG_MANAGER_DELEGATE_H_ |
OLD | NEW |