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

Unified Diff: chrome/browser/ui/views/hung_renderer_view_win.h

Issue 243703003: Removes win8_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar Created 6 years, 8 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
« no previous file with comments | « chrome/browser/ui/views/hung_renderer_view.cc ('k') | chrome/browser/ui/views/hung_renderer_view_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/hung_renderer_view_win.h
diff --git a/chrome/browser/ui/views/hung_renderer_view_win.h b/chrome/browser/ui/views/hung_renderer_view_win.h
deleted file mode 100644
index 3920c4039302c04926ab61467401febfdcc01064..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/hung_renderer_view_win.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_VIEWS_HUNG_RENDERER_VIEW_WIN_H_
-#define CHROME_BROWSER_UI_VIEWS_HUNG_RENDERER_VIEW_WIN_H_
-
-#include "base/basictypes.h"
-#include "content/public/browser/web_contents.h"
-
-// This class provides functionality to display a Windows 8 metro style hung
-// renderer dialog.
-class HungRendererDialogMetro {
- public:
- // Creates or returns the global instance of the HungRendererDialogMetro
- // class
- static HungRendererDialogMetro* Create();
- static HungRendererDialogMetro* GetInstance();
-
- void Show(content::WebContents* contents);
- void Hide(content::WebContents* contents);
-
- private:
- HungRendererDialogMetro();
- ~HungRendererDialogMetro();
-
- // Handlers for the hang monitor dialog displayed in Windows 8 metro.
- static void OnMetroKillProcess();
- static void OnMetroWait();
-
- // Resets Windows 8 metro specific state like whether the dialog was
- // displayed, etc.
- void ResetMetroState();
-
- content::WebContents* contents_;
-
- // Set to true if the metro version of the hang dialog is displayed.
- // Helps ensure that only one instance of the dialog is displayed at any
- // given time.
- bool metro_dialog_displayed_;
-
- // Pointer to the global instance of the HungRendererDialogMetro class.
- static HungRendererDialogMetro* g_instance_;
-
- DISALLOW_COPY_AND_ASSIGN(HungRendererDialogMetro);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_HUNG_RENDERER_VIEW_WIN_H_
-
« no previous file with comments | « chrome/browser/ui/views/hung_renderer_view.cc ('k') | chrome/browser/ui/views/hung_renderer_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698