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

Unified Diff: components/web_modal/web_contents_modal_dialog_host.cc

Issue 14969012: components: Create web_modal component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-before-land 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_host.cc
diff --git a/chrome/browser/ui/web_contents_modal_dialog_host.cc b/components/web_modal/web_contents_modal_dialog_host.cc
similarity index 79%
rename from chrome/browser/ui/web_contents_modal_dialog_host.cc
rename to components/web_modal/web_contents_modal_dialog_host.cc
index dfbeb2729c429d9b4c467ffc0d68675ac88fc53a..1dcaa00508e4b7727ba784dccf86fd87f147509e 100644
--- a/chrome/browser/ui/web_contents_modal_dialog_host.cc
+++ b/components/web_modal/web_contents_modal_dialog_host.cc
@@ -2,7 +2,9 @@
// 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_host.h"
+#include "components/web_modal/web_contents_modal_dialog_host.h"
+
+namespace web_modal {
WebContentsModalDialogHostObserver::~WebContentsModalDialogHostObserver() {
}
@@ -15,3 +17,5 @@ WebContentsModalDialogHost::~WebContentsModalDialogHost() {
WebContentsModalDialogHost::WebContentsModalDialogHost() {
}
+
+} // namespace web_modal
« no previous file with comments | « components/web_modal/web_contents_modal_dialog_host.h ('k') | components/web_modal/web_contents_modal_dialog_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698