| 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_BROWSER_DIALOGS_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ipc/ipc_message.h" | 9 #include "ipc/ipc_message.h" |
| 10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| 11 | 11 |
| 12 class Browser; | 12 class Browser; |
| 13 class Profile; | 13 class Profile; |
| 14 class SkBitmap; | 14 class SkBitmap; |
| 15 class TabContentsWrapper; | 15 class TabContents; |
| 16 typedef TabContents TabContentsWrapper; |
| 16 class TabModalConfirmDialogDelegate; | 17 class TabModalConfirmDialogDelegate; |
| 17 class TemplateURL; | 18 class TemplateURL; |
| 18 | 19 |
| 19 namespace content { | 20 namespace content { |
| 20 class WebContents; | 21 class WebContents; |
| 21 } | 22 } |
| 22 | 23 |
| 23 namespace extensions { | 24 namespace extensions { |
| 24 class Extension; | 25 class Extension; |
| 25 } | 26 } |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 void ShowHungRendererDialog(content::WebContents* contents); | 72 void ShowHungRendererDialog(content::WebContents* contents); |
| 72 void HideHungRendererDialog(content::WebContents* contents); | 73 void HideHungRendererDialog(content::WebContents* contents); |
| 73 | 74 |
| 74 // Shows a tab-modal dialog box. | 75 // Shows a tab-modal dialog box. |
| 75 void ShowTabModalConfirmDialog(TabModalConfirmDialogDelegate* delegate, | 76 void ShowTabModalConfirmDialog(TabModalConfirmDialogDelegate* delegate, |
| 76 TabContentsWrapper* wrapper); | 77 TabContentsWrapper* wrapper); |
| 77 | 78 |
| 78 } // namespace browser | 79 } // namespace browser |
| 79 | 80 |
| 80 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 81 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| OLD | NEW |