OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_COCOA_HTML_DIALOG_WINDOW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_HTML_DIALOG_WINDOW_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_HTML_DIALOG_WINDOW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_HTML_DIALOG_WINDOW_CONTROLLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
13 #include "chrome/browser/dom_ui/html_dialog_ui.h" | 13 #include "chrome/browser/webui/html_dialog_ui.h" |
14 | 14 |
15 class HtmlDialogWindowDelegateBridge; | 15 class HtmlDialogWindowDelegateBridge; |
16 class Profile; | 16 class Profile; |
17 class TabContents; | 17 class TabContents; |
18 | 18 |
19 // This controller manages a dialog box with properties and HTML content taken | 19 // This controller manages a dialog box with properties and HTML content taken |
20 // from a HTMLDialogUIDelegate object. | 20 // from a HTMLDialogUIDelegate object. |
21 @interface HtmlDialogWindowController : NSWindowController { | 21 @interface HtmlDialogWindowController : NSWindowController { |
22 @private | 22 @private |
23 // Order here is important, as tab_contents_ may send messages to | 23 // Order here is important, as tab_contents_ may send messages to |
(...skipping 22 matching lines...) Expand all Loading... |
46 | 46 |
47 // Loads the HTML content from the delegate; this is not a lightweight | 47 // Loads the HTML content from the delegate; this is not a lightweight |
48 // process which is why it is not part of the constructor. Must be | 48 // process which is why it is not part of the constructor. Must be |
49 // called before showWindow. | 49 // called before showWindow. |
50 - (void)loadDialogContents; | 50 - (void)loadDialogContents; |
51 | 51 |
52 @end | 52 @end |
53 | 53 |
54 #endif // CHROME_BROWSER_UI_COCOA_HTML_DIALOG_WINDOW_CONTROLLER_H_ | 54 #endif // CHROME_BROWSER_UI_COCOA_HTML_DIALOG_WINDOW_CONTROLLER_H_ |
55 | 55 |
OLD | NEW |