Index: components/web_modal/web_contents_modal_dialog_manager_delegate.cc |
diff --git a/chrome/browser/ui/web_contents_modal_dialog_manager_delegate.cc b/components/web_modal/web_contents_modal_dialog_manager_delegate.cc |
similarity index 67% |
rename from chrome/browser/ui/web_contents_modal_dialog_manager_delegate.cc |
rename to components/web_modal/web_contents_modal_dialog_manager_delegate.cc |
index a3cdc12cd31bffd388f9db5fbf91fcc96c571b71..25a777cf4f56f9e54c1037fd393f7a3ff9823e35 100644 |
--- a/chrome/browser/ui/web_contents_modal_dialog_manager_delegate.cc |
+++ b/components/web_modal/web_contents_modal_dialog_manager_delegate.cc |
@@ -2,10 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/browser/ui/web_contents_modal_dialog_manager_delegate.h" |
+#include "components/web_modal/web_contents_modal_dialog_manager_delegate.h" |
#include <string.h> |
+namespace web_modal { |
+ |
void WebContentsModalDialogManagerDelegate::SetWebContentsBlocked( |
content::WebContents* web_contents, bool blocked) { |
} |
@@ -15,5 +17,12 @@ WebContentsModalDialogHost* |
return NULL; |
} |
+bool WebContentsModalDialogManagerDelegate::IsWebContentsVisible( |
+ content::WebContents* web_contents) { |
+ return true; |
+} |
+ |
WebContentsModalDialogManagerDelegate::~WebContentsModalDialogManagerDelegate( |
) {} |
+ |
+} // namespace web_modal |