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

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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 | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698