Index: components/web_modal/native_web_contents_modal_dialog_manager.h |
diff --git a/chrome/browser/ui/native_web_contents_modal_dialog_manager.h b/components/web_modal/native_web_contents_modal_dialog_manager.h |
similarity index 85% |
rename from chrome/browser/ui/native_web_contents_modal_dialog_manager.h |
rename to components/web_modal/native_web_contents_modal_dialog_manager.h |
index fee920da5fc3899ca1ae5dad9a627c08e5bddd48..7145a08c0882731c27525f85b8babf4f84047395 100644 |
--- a/chrome/browser/ui/native_web_contents_modal_dialog_manager.h |
+++ b/components/web_modal/native_web_contents_modal_dialog_manager.h |
@@ -2,15 +2,17 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_UI_NATIVE_WEB_CONTENTS_MODAL_DIALOG_MANAGER_H_ |
-#define CHROME_BROWSER_UI_NATIVE_WEB_CONTENTS_MODAL_DIALOG_MANAGER_H_ |
+#ifndef COMPONENTS_WEB_MODAL_NATIVE_WEB_CONTENTS_MODAL_DIALOG_MANAGER_H_ |
+#define COMPONENTS_WEB_MODAL_NATIVE_WEB_CONTENTS_MODAL_DIALOG_MANAGER_H_ |
-#include "chrome/browser/ui/native_web_contents_modal_dialog.h" |
+#include "components/web_modal/native_web_contents_modal_dialog.h" |
namespace content { |
class WebContents; |
} // namespace content |
+namespace web_modal { |
+ |
// Interface from NativeWebContentsModalDialogManager to |
// WebContentsModalDialogManager. |
class NativeWebContentsModalDialogManagerDelegate { |
@@ -59,4 +61,6 @@ class NativeWebContentsModalDialogManager { |
DISALLOW_COPY_AND_ASSIGN(NativeWebContentsModalDialogManager); |
}; |
-#endif // CHROME_BROWSER_UI_NATIVE_WEB_CONTENTS_MODAL_DIALOG_MANAGER_H_ |
+} // namespace web_modal |
+ |
+#endif // COMPONENTS_WEB_MODAL_NATIVE_WEB_CONTENTS_MODAL_DIALOG_MANAGER_H_ |