cc: Added inline to Tile::IsReadyToDraw
[chromium-blink-merge.git] / components / web_modal / native_web_contents_modal_dialog.h
blob266e073ab9c0bfd6dcb57cdfce9071dd579458ac
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"
10 namespace web_modal {
12 #if defined(OS_MACOSX)
13 // Use a void* since none of the gfx::Native* types are suitable for
14 // representing the web contents modal dialog under Cocoa.
15 typedef void* NativeWebContentsModalDialog;
16 #else
17 typedef gfx::NativeView NativeWebContentsModalDialog;
18 #endif
20 } // namespace web_modal
22 #endif // COMPONENTS_WEB_MODAL_NATIVE_WEB_CONTENTS_MODAL_DIALOG_H_