Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Side by Side Diff: chrome/browser/ui/cocoa/create_native_web_modal_manager_cocoa.mm

Issue 1053463002: MacViews: Use native certificate viewer in MacViews browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@translate
Patch Set: Fix for tapted and rebase Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sh eet.h"
6 #import "chrome/browser/ui/cocoa/single_web_contents_dialog_manager_cocoa.h"
7 #include "components/web_modal/web_contents_modal_dialog_manager.h"
8
9 namespace web_modal {
10
11 SingleWebContentsDialogManager*
12 WebContentsModalDialogManager::CreateNativeWebModalManager(
13 gfx::NativeWindow dialog,
14 web_modal::SingleWebContentsDialogManagerDelegate* delegate) {
15 base::scoped_nsobject<CustomConstrainedWindowSheet> sheet(
16 [[CustomConstrainedWindowSheet alloc] initWithCustomWindow:dialog]);
17 return new SingleWebContentsDialogManagerCocoa(nullptr, sheet, delegate);
18 }
19
20 } // namespace web_modal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698