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" | |
11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
12 #include "ui/web_dialogs/web_dialog_ui.h" | 11 #include "ui/web_dialogs/web_dialog_ui.h" |
13 | 12 |
14 class WebDialogWindowDelegateBridge; | 13 class WebDialogWindowDelegateBridge; |
15 | 14 |
16 namespace content { | 15 namespace content { |
17 class BrowserContext; | 16 class BrowserContext; |
18 class WebContents; | 17 class WebContents; |
19 } | 18 } |
20 | 19 |
(...skipping 26 matching lines...) Expand all Loading... |
47 context:(content::BrowserContext*)context; | 46 context:(content::BrowserContext*)context; |
48 | 47 |
49 // Loads the HTML content from the delegate; this is not a lightweight | 48 // Loads the HTML content from the delegate; this is not a lightweight |
50 // process which is why it is not part of the constructor. Must be | 49 // process which is why it is not part of the constructor. Must be |
51 // called before -showWebDialog:context:. | 50 // called before -showWebDialog:context:. |
52 - (void)loadDialogContents; | 51 - (void)loadDialogContents; |
53 | 52 |
54 @end | 53 @end |
55 | 54 |
56 #endif // CHROME_BROWSER_UI_COCOA_WEB_DIALOG_WINDOW_CONTROLLER_H_ | 55 #endif // CHROME_BROWSER_UI_COCOA_WEB_DIALOG_WINDOW_CONTROLLER_H_ |
OLD | NEW |