OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/browser/ui/web_contents_modal_dialog_manager_delegate.h" | 5 #include "components/web_modal/web_contents_modal_dialog_manager_delegate.h" |
6 | 6 |
7 #include <string.h> | 7 #include <string.h> |
8 | 8 |
| 9 namespace web_modal { |
| 10 |
9 void WebContentsModalDialogManagerDelegate::SetWebContentsBlocked( | 11 void WebContentsModalDialogManagerDelegate::SetWebContentsBlocked( |
10 content::WebContents* web_contents, bool blocked) { | 12 content::WebContents* web_contents, bool blocked) { |
11 } | 13 } |
12 | 14 |
13 WebContentsModalDialogHost* | 15 WebContentsModalDialogHost* |
14 WebContentsModalDialogManagerDelegate::GetWebContentsModalDialogHost() { | 16 WebContentsModalDialogManagerDelegate::GetWebContentsModalDialogHost() { |
15 return NULL; | 17 return NULL; |
16 } | 18 } |
17 | 19 |
| 20 bool WebContentsModalDialogManagerDelegate::IsWebContentsVisible( |
| 21 content::WebContents* web_contents) { |
| 22 return true; |
| 23 } |
| 24 |
18 WebContentsModalDialogManagerDelegate::~WebContentsModalDialogManagerDelegate( | 25 WebContentsModalDialogManagerDelegate::~WebContentsModalDialogManagerDelegate( |
19 ) {} | 26 ) {} |
| 27 |
| 28 } // namespace web_modal |
OLD | NEW |