Index: components/constrained_window/native_web_contents_modal_dialog_manager_views.h |
diff --git a/chrome/browser/ui/views/native_web_contents_modal_dialog_manager_views.h b/components/constrained_window/native_web_contents_modal_dialog_manager_views.h |
similarity index 88% |
rename from chrome/browser/ui/views/native_web_contents_modal_dialog_manager_views.h |
rename to components/constrained_window/native_web_contents_modal_dialog_manager_views.h |
index 21b2b9b3bf31f661d43accca3ac819642146bcde..12954e97f890ff768424d6528985a3778a46334c 100644 |
--- a/chrome/browser/ui/views/native_web_contents_modal_dialog_manager_views.h |
+++ b/components/constrained_window/native_web_contents_modal_dialog_manager_views.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_UI_VIEWS_NATIVE_WEB_CONTENTS_MODAL_DIALOG_MANAGER_VIEWS_H_ |
-#define CHROME_BROWSER_UI_VIEWS_NATIVE_WEB_CONTENTS_MODAL_DIALOG_MANAGER_VIEWS_H_ |
+#ifndef COMPONENTS_CONSTRAINED_WINDOW_NATIVE_WEB_CONTENTS_MODAL_DIALOG_MANAGER_VIEWS_H_ |
+#define COMPONENTS_CONSTRAINED_WINDOW_NATIVE_WEB_CONTENTS_MODAL_DIALOG_MANAGER_VIEWS_H_ |
#include <set> |
@@ -17,6 +17,8 @@ namespace views { |
class Widget; |
} |
+namespace constrained_window { |
+ |
// Class for parenting a tab-modal views dialog off of a views browser. |
class NativeWebContentsModalDialogManagerViews |
: public web_modal::SingleWebContentsDialogManager, |
@@ -73,4 +75,6 @@ class NativeWebContentsModalDialogManagerViews |
DISALLOW_COPY_AND_ASSIGN(NativeWebContentsModalDialogManagerViews); |
}; |
-#endif // CHROME_BROWSER_UI_VIEWS_NATIVE_WEB_CONTENTS_MODAL_DIALOG_MANAGER_VIEWS_H_ |
+} // namespace constrained_window |
+ |
+#endif // COMPONENTS_CONSTRAINED_WINDOW_NATIVE_WEB_CONTENTS_MODAL_DIALOG_MANAGER_VIEWS_H_ |