| Index: trunk/src/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.mm
|
| ===================================================================
|
| --- trunk/src/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.mm (revision 214772)
|
| +++ trunk/src/chrome/browser/ui/cocoa/constrained_window/constrained_window_mac.mm (working copy)
|
| @@ -78,14 +78,6 @@
|
| return this;
|
| }
|
|
|
| -void ConstrainedWindowMac::SetPreventCloseOnLoadStart(bool prevent) {
|
| - WebContentsModalDialogManager* web_contents_modal_dialog_manager =
|
| - WebContentsModalDialogManager::FromWebContents(web_contents_);
|
| - web_contents_modal_dialog_manager->SetPreventCloseOnLoadStart(
|
| - GetNativeDialog(),
|
| - prevent);
|
| -}
|
| -
|
| NSWindow* ConstrainedWindowMac::GetParentWindow() const {
|
| // Tab contents in a tabbed browser may not be inside a window. For this
|
| // reason use a browser window if possible.
|
|
|