Index: components/web_modal/native_web_contents_modal_dialog.h |
diff --git a/components/web_modal/native_web_contents_modal_dialog.h b/components/web_modal/native_web_contents_modal_dialog.h |
index 4bb956a8ef09010a78bb25d41b177dfa53f72c86..c0dfdb0ee7c2ca3ad12b8ddc9541a4ece2603b66 100644 |
--- a/components/web_modal/native_web_contents_modal_dialog.h |
+++ b/components/web_modal/native_web_contents_modal_dialog.h |
@@ -11,21 +11,8 @@ namespace web_modal { |
// TODO(gbillock): rename this file |
-#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. |
-typedef void* NativeWebContentsModalDialog; |
-#else |
-typedef gfx::NativeView NativeWebContentsModalDialog; |
-#endif |
- |
-#if defined(OS_MACOSX) |
-// Use a void* since none of the gfx::Native* types are suitable for |
-// representing a popup window under Cocoa. |
-typedef void* NativePopup; |
-#else |
-typedef gfx::NativeView NativePopup; |
-#endif |
+typedef gfx::NativeWindow NativeWebContentsModalDialog; |
+typedef gfx::NativeWindow NativePopup; |
} // namespace web_modal |