Index: chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h |
diff --git a/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h b/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h |
deleted file mode 100644 |
index 91fc745c5d191d2def1a684216948cb8fdec96dd..0000000000000000000000000000000000000000 |
--- a/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h |
+++ /dev/null |
@@ -1,58 +0,0 @@ |
-// Copyright (c) 2011 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_COCOA_TAB_CONTENTS_SAD_TAB_CONTROLLER_H_ |
-#define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_CONTROLLER_H_ |
- |
-#include "base/basictypes.h" |
-#include "base/compiler_specific.h" |
-#include "base/mac/scoped_nsobject.h" |
-#include "chrome/browser/ui/sad_tab.h" |
- |
-#import <Cocoa/Cocoa.h> |
- |
-@class SadTabController; |
- |
-namespace chrome { |
- |
-class SadTabCocoa : public SadTab { |
- public: |
- explicit SadTabCocoa(content::WebContents* web_contents); |
- |
- virtual ~SadTabCocoa(); |
- |
- private: |
- // Overridden from SadTab: |
- virtual void Show() OVERRIDE; |
- virtual void Close() OVERRIDE; |
- |
- base::scoped_nsobject<SadTabController> sad_tab_controller_; |
- |
- content::WebContents* web_contents_; |
- |
- DISALLOW_COPY_AND_ASSIGN(SadTabCocoa); |
-}; |
- |
-} // namespace chrome |
- |
-// A controller class that manages the SadTabView (aka "Aw Snap" or crash page). |
-@interface SadTabController : NSViewController { |
- @private |
- content::WebContents* webContents_; // Weak reference. |
-} |
- |
-// Designated initializer. |
-- (id)initWithWebContents:(content::WebContents*)webContents; |
- |
-// This action just calls the NSApp sendAction to get it into the standard |
-// Cocoa action processing. |
-- (IBAction)openLearnMoreAboutCrashLink:(id)sender; |
- |
-// Returns a weak reference to the WebContents whose WebContentsView created |
-// this SadTabController. |
-- (content::WebContents*)webContents; |
- |
-@end |
- |
-#endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_CONTROLLER_H_ |