OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WEB_DIALOG_WINDOW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_WEB_DIALOG_WINDOW_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_WEB_DIALOG_WINDOW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_WEB_DIALOG_WINDOW_CONTROLLER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #import "base/mac/cocoa_protocols.h" | |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "ui/web_dialogs/web_dialog_ui.h" | 12 #include "ui/web_dialogs/web_dialog_ui.h" |
14 | 13 |
15 class TabContents; | 14 class TabContents; |
16 class WebDialogWindowDelegateBridge; | 15 class WebDialogWindowDelegateBridge; |
17 | 16 |
18 namespace content { | 17 namespace content { |
19 class BrowserContext; | 18 class BrowserContext; |
20 } | 19 } |
21 | 20 |
(...skipping 26 matching lines...) Expand all Loading... |
48 context:(content::BrowserContext*)context; | 47 context:(content::BrowserContext*)context; |
49 | 48 |
50 // Loads the HTML content from the delegate; this is not a lightweight | 49 // Loads the HTML content from the delegate; this is not a lightweight |
51 // process which is why it is not part of the constructor. Must be | 50 // process which is why it is not part of the constructor. Must be |
52 // called before showWindow. | 51 // called before showWindow. |
53 - (void)loadDialogContents; | 52 - (void)loadDialogContents; |
54 | 53 |
55 @end | 54 @end |
56 | 55 |
57 #endif // CHROME_BROWSER_UI_COCOA_WEB_DIALOG_WINDOW_CONTROLLER_H_ | 56 #endif // CHROME_BROWSER_UI_COCOA_WEB_DIALOG_WINDOW_CONTROLLER_H_ |
OLD | NEW |