1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_WEB_MODAL_NATIVE_WEB_CONTENTS_MODAL_DIALOG_H_
6 #define COMPONENTS_WEB_MODAL_NATIVE_WEB_CONTENTS_MODAL_DIALOG_H_
8 #include "ui/gfx/native_widget_types.h"
12 // TODO(gbillock): rename this file
14 #if defined(OS_MACOSX)
15 // Use a void* since none of the gfx::Native* types are suitable for
16 // representing the web contents modal dialog under Cocoa.
17 typedef void* NativeWebContentsModalDialog
;
19 typedef gfx::NativeView NativeWebContentsModalDialog
;
22 #if defined(OS_MACOSX)
23 // Use a void* since none of the gfx::Native* types are suitable for
24 // representing a popup window under Cocoa.
25 typedef void* NativePopup
;
27 typedef gfx::NativeView NativePopup
;
30 } // namespace web_modal
32 #endif // COMPONENTS_WEB_MODAL_NATIVE_WEB_CONTENTS_MODAL_DIALOG_H_