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

Unified Diff: chrome/browser/ui/sad_tab.h

Issue 543663002: Componentize sad_tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix url_constants.cc Created 6 years, 3 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/cocoa/tab_contents/sad_tab_view_unittest.mm ('k') | chrome/browser/ui/sad_tab.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/sad_tab.h
diff --git a/chrome/browser/ui/sad_tab.h b/chrome/browser/ui/sad_tab.h
deleted file mode 100644
index e22b14948072cf051583412bce85faf415b8bf81..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/sad_tab.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 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_SAD_TAB_H_
-#define CHROME_BROWSER_UI_SAD_TAB_H_
-
-#include "base/process/kill.h"
-#include "chrome/browser/ui/sad_tab_types.h"
-
-namespace content {
-class WebContents;
-}
-
-namespace chrome {
-
-// Cross-platform interface to show the Sad tab UI.
-class SadTab {
- public:
- // Factory function to create the platform specific implementations.
- static SadTab* Create(content::WebContents* web_contents, SadTabKind kind);
-
- // Returns true if the sad tab should be shown.
- static bool ShouldShow(base::TerminationStatus status);
-
- virtual ~SadTab() {}
-
- // Shows the Sad tab.
- virtual void Show() = 0;
-
- // Closes the Sad tab.
- virtual void Close() = 0;
-};
-
-} // namespace chrome
-
-#endif // CHROME_BROWSER_UI_SAD_TAB_H_
« no previous file with comments | « chrome/browser/ui/cocoa/tab_contents/sad_tab_view_unittest.mm ('k') | chrome/browser/ui/sad_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698