Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / create_native_web_modal_manager_cocoa.mm
blobdcd5d83b13d1c7030d172bbfed439e922b556537
1 // Copyright 2015 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 #import "chrome/browser/ui/cocoa/web_contents_modal_dialog_manager_views_mac.h"
6 #include "components/web_modal/web_contents_modal_dialog_manager.h"
8 namespace web_modal {
10 SingleWebContentsDialogManager*
11 WebContentsModalDialogManager::CreateNativeWebModalManager(
12     gfx::NativeWindow dialog,
13     web_modal::SingleWebContentsDialogManagerDelegate* delegate) {
14   return new SingleWebContentsDialogManagerViewsMac(dialog, delegate);
17 }  // namespace web_modal