blob: def210efa6c932aa296a685577f47766ff39cb01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright (c) 2006-2008 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_VIEWS_HUNG_RENDERER_VIEW_H__
#define CHROME_BROWSER_VIEWS_HUNG_RENDERER_VIEW_H__
#include "base/basictypes.h"
class HungRendererWarningView;
namespace views {
class Window;
}
class TabContents;
class HungRendererWarning {
public:
static void ShowForTabContents(TabContents* contents);
static void HideForTabContents(TabContents* contents);
private:
friend HungRendererWarningView;
// We only support showing one of these at a time per app.
static HungRendererWarningView* instance_;
DISALLOW_EVIL_CONSTRUCTORS(HungRendererWarning);
};
#endif // CHROME_BROWSER_VIEWS_HUNG_RENDERER_VIEW_H__
|