| OLD | NEW | 
|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "chrome/browser/dom_ui/constrained_html_ui.h" | 5 #include "chrome/browser/dom_ui/constrained_html_ui.h" | 
| 6 | 6 | 
| 7 #include "base/scoped_nsobject.h" | 7 #include "base/scoped_nsobject.h" | 
| 8 #include "chrome/browser/dom_ui/html_dialog_ui.h" | 8 #include "chrome/browser/dom_ui/html_dialog_ui.h" | 
| 9 #include "chrome/browser/dom_ui/html_dialog_tab_contents_delegate.h" | 9 #include "chrome/browser/dom_ui/html_dialog_tab_contents_delegate.h" | 
| 10 #include "chrome/browser/profile.h" | 10 #include "chrome/browser/profiles/profile.h" | 
| 11 #include "chrome/browser/tab_contents/tab_contents.h" | 11 #include "chrome/browser/tab_contents/tab_contents.h" | 
| 12 #include "chrome/browser/ui/cocoa/constrained_window_mac.h" | 12 #include "chrome/browser/ui/cocoa/constrained_window_mac.h" | 
| 13 #import <Cocoa/Cocoa.h> | 13 #import <Cocoa/Cocoa.h> | 
| 14 #include "ipc/ipc_message.h" | 14 #include "ipc/ipc_message.h" | 
| 15 | 15 | 
| 16 class ConstrainedHtmlDelegateMac : | 16 class ConstrainedHtmlDelegateMac : | 
| 17     public ConstrainedWindowMacDelegateCustomSheet, | 17     public ConstrainedWindowMacDelegateCustomSheet, | 
| 18     public HtmlDialogTabContentsDelegate, | 18     public HtmlDialogTabContentsDelegate, | 
| 19     public ConstrainedHtmlUIDelegate { | 19     public ConstrainedHtmlUIDelegate { | 
| 20 | 20 | 
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 144   return self; | 144   return self; | 
| 145 } | 145 } | 
| 146 | 146 | 
| 147 - (void)sheetDidEnd:(NSWindow*)sheet | 147 - (void)sheetDidEnd:(NSWindow*)sheet | 
| 148          returnCode:(int)returnCode | 148          returnCode:(int)returnCode | 
| 149         contextInfo:(void *)contextInfo { | 149         contextInfo:(void *)contextInfo { | 
| 150   [sheet orderOut:self]; | 150   [sheet orderOut:self]; | 
| 151 } | 151 } | 
| 152 | 152 | 
| 153 @end | 153 @end | 
| OLD | NEW | 
|---|