| Index: components/web_modal/web_contents_modal_dialog_manager.h
|
| diff --git a/chrome/browser/ui/web_contents_modal_dialog_manager.h b/components/web_modal/web_contents_modal_dialog_manager.h
|
| similarity index 93%
|
| rename from chrome/browser/ui/web_contents_modal_dialog_manager.h
|
| rename to components/web_modal/web_contents_modal_dialog_manager.h
|
| index 8f77e21c7c69e6d26e15b55251a50a1abcf51917..87b1bee39e562e71347734ec3f73804451bedcc9 100644
|
| --- a/chrome/browser/ui/web_contents_modal_dialog_manager.h
|
| +++ b/components/web_modal/web_contents_modal_dialog_manager.h
|
| @@ -2,19 +2,21 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_UI_WEB_CONTENTS_MODAL_DIALOG_MANAGER_H_
|
| -#define CHROME_BROWSER_UI_WEB_CONTENTS_MODAL_DIALOG_MANAGER_H_
|
| +#ifndef COMPONENTS_WEB_MODAL_WEB_CONTENTS_MODAL_DIALOG_MANAGER_H_
|
| +#define COMPONENTS_WEB_MODAL_WEB_CONTENTS_MODAL_DIALOG_MANAGER_H_
|
|
|
| #include <deque>
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| -#include "chrome/browser/ui/native_web_contents_modal_dialog_manager.h"
|
| +#include "components/web_modal/native_web_contents_modal_dialog_manager.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
| #include "content/public/browser/web_contents_user_data.h"
|
| #include "ui/gfx/native_widget_types.h"
|
|
|
| +namespace web_modal {
|
| +
|
| class WebContentsModalDialogManagerDelegate;
|
|
|
| // Per-WebContents class to manage WebContents-modal dialogs.
|
| @@ -120,4 +122,6 @@ class WebContentsModalDialogManager
|
| DISALLOW_COPY_AND_ASSIGN(WebContentsModalDialogManager);
|
| };
|
|
|
| -#endif // CHROME_BROWSER_UI_WEB_CONTENTS_MODAL_DIALOG_MANAGER_H_
|
| +} // namespace web_modal
|
| +
|
| +#endif // COMPONENTS_WEB_MODAL_WEB_CONTENTS_MODAL_DIALOG_MANAGER_H_
|
|
|