Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Unified Diff: components/web_modal/web_contents_modal_dialog_manager_delegate.cc

Issue 14969012: components: Create web_modal component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix-gtk-build Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 80%
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..61fdf8e10a6495da93638f33a34fcf8ff5b60860 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) {
}
@@ -17,3 +19,5 @@ WebContentsModalDialogHost*
WebContentsModalDialogManagerDelegate::~WebContentsModalDialogManagerDelegate(
) {}
+
+} // namespace web_modal

Powered by Google App Engine
This is Rietveld 408576698