| Index: chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.mm b/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.mm
|
| index 1fb3213cbbc9fbc63ffd96c53ba081f5a66845cb..747dfe23d8d0c9698334b120141cab037e39c88b 100644
|
| --- a/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/tab_contents/sad_tab_controller.mm
|
| @@ -6,8 +6,12 @@
|
|
|
| #include "base/mac/bundle_locations.h"
|
| #import "chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.h"
|
| +#include "chrome/common/url_constants.h"
|
| #include "content/public/browser/web_contents.h"
|
|
|
| +using content::OpenURLParams;
|
| +using content::Referrer;
|
| +
|
| namespace chrome {
|
|
|
| SadTab* SadTab::Create(content::WebContents* web_contents, SadTabKind kind) {
|
| @@ -71,4 +75,10 @@ void SadTabCocoa::Close() {
|
| webContents_->GetController().Reload(true);
|
| }
|
|
|
| +- (void)openLearnMoreAboutCrashLink:(id)sender {
|
| + OpenURLParams params(GURL(chrome::kCrashReasonURL), Referrer(), CURRENT_TAB,
|
| + ui::PAGE_TRANSITION_LINK, false);
|
| + webContents_->OpenURL(params);
|
| +}
|
| +
|
| @end
|
|
|