| Index: components/web_modal/native_web_contents_modal_dialog.h
|
| diff --git a/chrome/browser/ui/native_web_contents_modal_dialog.h b/components/web_modal/native_web_contents_modal_dialog.h
|
| similarity index 65%
|
| rename from chrome/browser/ui/native_web_contents_modal_dialog.h
|
| rename to components/web_modal/native_web_contents_modal_dialog.h
|
| index 3fb6445609022ba7c6de828edc44de6a745d30cf..266e073ab9c0bfd6dcb57cdfce9071dd579458ac 100644
|
| --- a/chrome/browser/ui/native_web_contents_modal_dialog.h
|
| +++ b/components/web_modal/native_web_contents_modal_dialog.h
|
| @@ -2,11 +2,13 @@
|
| // 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_H_
|
| -#define CHROME_BROWSER_UI_NATIVE_WEB_CONTENTS_MODAL_DIALOG_H_
|
| +#ifndef COMPONENTS_WEB_MODAL_NATIVE_WEB_CONTENTS_MODAL_DIALOG_H_
|
| +#define COMPONENTS_WEB_MODAL_NATIVE_WEB_CONTENTS_MODAL_DIALOG_H_
|
|
|
| #include "ui/gfx/native_widget_types.h"
|
|
|
| +namespace web_modal {
|
| +
|
| #if defined(OS_MACOSX)
|
| // Use a void* since none of the gfx::Native* types are suitable for
|
| // representing the web contents modal dialog under Cocoa.
|
| @@ -15,4 +17,6 @@ typedef void* NativeWebContentsModalDialog;
|
| typedef gfx::NativeView NativeWebContentsModalDialog;
|
| #endif
|
|
|
| -#endif // CHROME_BROWSER_UI_NATIVE_WEB_CONTENTS_MODAL_DIALOG_H_
|
| +} // namespace web_modal
|
| +
|
| +#endif // COMPONENTS_WEB_MODAL_NATIVE_WEB_CONTENTS_MODAL_DIALOG_H_
|
|
|