| OLD | NEW |
| 1 // Copyright (c) 2011 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_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" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 Browser* browser, | 44 Browser* browser, |
| 45 const SkBitmap& icon, | 45 const SkBitmap& icon, |
| 46 Profile* profile); | 46 Profile* profile); |
| 47 | 47 |
| 48 // Shows or hide the hung renderer dialog for the given TabContents. | 48 // Shows or hide the hung renderer dialog for the given TabContents. |
| 49 // We need to pass the TabContents to the dialog, because multiple tabs can hang | 49 // We need to pass the TabContents to the dialog, because multiple tabs can hang |
| 50 // and it needs to keep track of which tabs are currently hung. | 50 // and it needs to keep track of which tabs are currently hung. |
| 51 void ShowHungRendererDialog(TabContents* contents); | 51 void ShowHungRendererDialog(TabContents* contents); |
| 52 void HideHungRendererDialog(TabContents* contents); | 52 void HideHungRendererDialog(TabContents* contents); |
| 53 | 53 |
| 54 // Native implementations of hung renderer dialogs. |
| 55 void ShowNativeHungRendererDialog(TabContents* contents); |
| 56 void HideNativeHungRendererDialog(TabContents* contents); |
| 57 |
| 54 } // namespace browser | 58 } // namespace browser |
| 55 | 59 |
| 56 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ | 60 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ |
| OLD | NEW |