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

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

Issue 2172363002: Created min size for print preview dialog and modified to allow the Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Track independent bounds as native window property not member of widget class Created 4 years, 4 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "chrome/browser/ui/cocoa/web_contents_modal_dialog_manager_views_mac.h" 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" 6 #include "components/web_modal/web_contents_modal_dialog_manager.h"
7 7
8 namespace web_modal { 8 namespace web_modal {
9 9
10 SingleWebContentsDialogManager* 10 SingleWebContentsDialogManager*
11 WebContentsModalDialogManager::CreateNativeWebModalManager( 11 WebContentsModalDialogManager::CreateNativeWebModalManager(
12 gfx::NativeWindow dialog, 12 gfx::NativeWindow dialog,
13 web_modal::SingleWebContentsDialogManagerDelegate* delegate) { 13 web_modal::SingleWebContentsDialogManagerDelegate* delegate,
14 bool * independent_bounds,
15 const char * kHasIndependentBoundsKey) {
14 return new SingleWebContentsDialogManagerViewsMac(dialog, delegate); 16 return new SingleWebContentsDialogManagerViewsMac(dialog, delegate);
15 } 17 }
16 18
17 } // namespace web_modal 19 } // namespace web_modal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698