chrome/browser/ui/views/chrome_web_dialog_view.cc
// Declared in browser_dialogs.h so that others don't need to depend on our .h.
Declared in browser_dialogs.h so that others don't need to depend on our .h.
Declared in browser_dialogs . h so that others don ' t need to depend on our . h .
gfx::NativeWindow ShowWebDialog(gfx::NativeWindow parent,
                                content::BrowserContext* context,
                                ui::WebDialogDelegate* delegate) {
  views::Widget* widget = views::Widget::CreateWindowWithParent(
      new views::WebDialogView(context, delegate, new ChromeWebContentsHandler),
      parent);
  widget->Show();
  return widget->GetNativeWindow();
}
gfx :: NativeWindow ShowWebDialog ( gfx :: NativeWindow parent , content :: BrowserContext * context , ui :: WebDialogDelegate * delegate ) { views :: Widget * widget = views :: Widget :: CreateWindowWithParent ( new views :: WebDialogView ( context , delegate , new ChromeWebContentsHandler ) , parent ) ; widget -> Show ( ) ; return widget -> GetNativeWindow ( ) ; }
Declared in browser_dialogs.h so that others don't need to depend on our .h.
Declared in browser_dialogs . h so that others don ' t need to depend on our . h .