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

Side by Side Diff: chrome/browser/ui/webui/hung_renderer_dialog.h

Issue 8568008: Compile fix; missed an override. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/hung_renderer_dialog.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_WEBUI_HUNG_RENDERER_DIALOG_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_HUNG_RENDERER_DIALOG_H_
6 #define CHROME_BROWSER_UI_WEBUI_HUNG_RENDERER_DIALOG_H_ 6 #define CHROME_BROWSER_UI_WEBUI_HUNG_RENDERER_DIALOG_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 16 matching lines...) Expand all
27 // Hides a hung renderer dialog. 27 // Hides a hung renderer dialog.
28 static void HideHungRendererDialog(TabContents* contents); 28 static void HideHungRendererDialog(TabContents* contents);
29 29
30 private: 30 private:
31 class TabContentsObserverImpl : public TabContentsObserver { 31 class TabContentsObserverImpl : public TabContentsObserver {
32 public: 32 public:
33 TabContentsObserverImpl(HungRendererDialog* dialog, 33 TabContentsObserverImpl(HungRendererDialog* dialog,
34 TabContents* contents); 34 TabContents* contents);
35 35
36 // TabContentsObserver overrides: 36 // TabContentsObserver overrides:
37 virtual void RenderViewGone() OVERRIDE; 37 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE;
38 virtual void TabContentsDestroyed(TabContents* tab) OVERRIDE; 38 virtual void TabContentsDestroyed(TabContents* tab) OVERRIDE;
39 39
40 private: 40 private:
41 TabContents* contents_; // weak 41 TabContents* contents_; // weak
42 HungRendererDialog* dialog_; // weak 42 HungRendererDialog* dialog_; // weak
43 43
44 DISALLOW_COPY_AND_ASSIGN(TabContentsObserverImpl); 44 DISALLOW_COPY_AND_ASSIGN(TabContentsObserverImpl);
45 }; 45 };
46 46
47 friend class HungRendererDialogUITest; 47 friend class HungRendererDialogUITest;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 // The tab contents. 110 // The tab contents.
111 TabContents* contents_; 111 TabContents* contents_;
112 112
113 DISALLOW_COPY_AND_ASSIGN(HungRendererDialogHandler); 113 DISALLOW_COPY_AND_ASSIGN(HungRendererDialogHandler);
114 }; 114 };
115 115
116 116
117 #endif // CHROME_BROWSER_UI_WEBUI_HUNG_RENDERER_DIALOG_H_ 117 #endif // CHROME_BROWSER_UI_WEBUI_HUNG_RENDERER_DIALOG_H_
118 118
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/hung_renderer_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698