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

Side by Side Diff: chrome/browser/views/hung_renderer_view.h

Issue 43148: Remove unneeded uses of logging.h in header files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_VIEWS_HUNG_RENDERER_VIEW_H__ 5 #ifndef CHROME_BROWSER_VIEWS_HUNG_RENDERER_VIEW_H__
6 #define CHROME_BROWSER_VIEWS_HUNG_RENDERER_VIEW_H__ 6 #define CHROME_BROWSER_VIEWS_HUNG_RENDERER_VIEW_H__
7 7
8 #include "base/logging.h" 8 #include "base/basictypes.h"
9 9
10 class HungRendererWarningView; 10 class HungRendererWarningView;
11 namespace views { 11 namespace views {
12 class Window; 12 class Window;
13 } 13 }
14 class WebContents; 14 class WebContents;
15 15
16 class HungRendererWarning { 16 class HungRendererWarning {
17 public: 17 public:
18 static void ShowForWebContents(WebContents* contents); 18 static void ShowForWebContents(WebContents* contents);
19 static void HideForWebContents(WebContents* contents); 19 static void HideForWebContents(WebContents* contents);
20 20
21 private: 21 private:
22 friend HungRendererWarningView; 22 friend HungRendererWarningView;
23 23
24 // We only support showing one of these at a time per app. 24 // We only support showing one of these at a time per app.
25 static HungRendererWarningView* instance_; 25 static HungRendererWarningView* instance_;
26 26
27 DISALLOW_EVIL_CONSTRUCTORS(HungRendererWarning); 27 DISALLOW_EVIL_CONSTRUCTORS(HungRendererWarning);
28 }; 28 };
29 29
30 30
31 #endif // CHROME_BROWSER_VIEWS_HUNG_RENDERER_VIEW_H__ 31 #endif // CHROME_BROWSER_VIEWS_HUNG_RENDERER_VIEW_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698