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

Unified Diff: chrome/browser/ui/cocoa/tab_contents/sad_tab_view.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
Index: chrome/browser/ui/cocoa/tab_contents/sad_tab_view.h
diff --git a/chrome/browser/ui/cocoa/tab_contents/sad_tab_view.h b/chrome/browser/ui/cocoa/tab_contents/sad_tab_view.h
deleted file mode 100644
index 5219b997191f907bf087b44f783b76705f514780..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/tab_contents/sad_tab_view.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 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_COCOA_TAB_CONTENTS_SAD_TAB_VIEW_H_
-#define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_VIEW_H_
-
-#include "base/mac/scoped_nsobject.h"
-#include "ui/base/cocoa/base_view.h"
-
-#import <Cocoa/Cocoa.h>
-
-@class SadTabController;
-@class HyperlinkTextView;
-
-// A view that displays the "sad tab" (aka crash page).
-@interface SadTabView : BaseView<NSTextViewDelegate> {
- @private
- IBOutlet NSImageView* image_;
- base::scoped_nsobject<NSTextField> title_;
- base::scoped_nsobject<NSTextField> message_;
- base::scoped_nsobject<HyperlinkTextView> help_;
-
- base::scoped_nsobject<NSColor> backgroundColor_;
- NSSize messageSize_;
-
- // A weak reference to the parent controller.
- IBOutlet SadTabController* controller_;
-}
-
-// Designated initializer is -initWithFrame: .
-
-// Called by SadTabController to remove the help text and link.
-- (void)removeHelpText;
-
-// Sets |help_| based on |helpPlaceholder_|, sets |helpPlaceholder_| to nil.
-- (void)initializeHelpText;
-
-@end
-
-#endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_SAD_TAB_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698