Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7686)

Unified Diff: chrome/browser/ui/webui/hung_renderer_dialog.h

Issue 7824039: Implement function that hides the WebUI Hung Renderer Dialog. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed timeout behaviour. Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/hung_renderer_dialog.h
diff --git a/chrome/browser/ui/webui/hung_renderer_dialog.h b/chrome/browser/ui/webui/hung_renderer_dialog.h
index 29145a52657c4a1212cdfb1841ba06a712bbdb55..ca38279683150273f6b6ba646e69860e70e2de98 100644
--- a/chrome/browser/ui/webui/hung_renderer_dialog.h
+++ b/chrome/browser/ui/webui/hung_renderer_dialog.h
@@ -23,6 +23,9 @@ class HungRendererDialog : private HtmlDialogUIDelegate {
// Shows the hung renderer dialog.
void ShowDialog(gfx::NativeWindow owning_window, TabContents* contents);
+ // Hides the hung renderer dialog.
+ void HideDialog(TabContents* contents);
+
private:
// HtmlDialogUIDelegate methods
virtual bool IsDialogModal() const OVERRIDE;
@@ -40,6 +43,9 @@ class HungRendererDialog : private HtmlDialogUIDelegate {
// The tab contents.
TabContents* contents_;
+ // The dialog window.
+ gfx::NativeWindow window_;
+
DISALLOW_COPY_AND_ASSIGN(HungRendererDialog);
};
@@ -63,3 +69,4 @@ class HungRendererDialogHandler : public WebUIMessageHandler {
#endif // CHROME_BROWSER_UI_WEBUI_HUNG_RENDERER_DIALOG_H_
+
« no previous file with comments | « no previous file | chrome/browser/ui/webui/hung_renderer_dialog.cc » ('j') | chrome/browser/ui/webui/hung_renderer_dialog.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698