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

Unified Diff: chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h

Issue 2261793002: Bring the feedback button to the Mac sad tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Address second wave of comments, turn off feedback in non-Chrome builds Created 4 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/BUILD.gn ('k') | chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 20acf9ffb87c1f3f41558cbcf14c808887c5aaad..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.h
+++ /dev/null
@@ -1,52 +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/compiler_specific.h"
-#include "base/mac/scoped_nsobject.h"
-#include "base/macros.h"
-#include "chrome/browser/ui/sad_tab.h"
-
-#import <Cocoa/Cocoa.h>
-
-@class SadTabController;
-@class SadTabView;
-
-namespace chrome {
-
-class SadTabCocoa : public SadTab {
- public:
- explicit SadTabCocoa(content::WebContents* web_contents);
-
- ~SadTabCocoa() override;
-
- private:
- // Overridden from SadTab:
- void Show() override;
- 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
-
-// Designated initializer.
-- (id)initWithWebContents:(content::WebContents*)webContents;
-
-// 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_
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698