| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/gtk/sad_tab_gtk.h" | 5 #include "chrome/browser/gtk/sad_tab_gtk.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "app/resource_bundle.h" | 10 #include "app/resource_bundle.h" |
| 11 #include "chrome/browser/google/google_util.h" | 11 #include "chrome/browser/google/google_util.h" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 event_box_.Destroy(); | 112 event_box_.Destroy(); |
| 113 } | 113 } |
| 114 | 114 |
| 115 void SadTabGtk::OnLinkButtonClick(GtkWidget* sender) { | 115 void SadTabGtk::OnLinkButtonClick(GtkWidget* sender) { |
| 116 if (tab_contents_ != NULL) { | 116 if (tab_contents_ != NULL) { |
| 117 GURL help_url = | 117 GURL help_url = |
| 118 google_util::AppendGoogleLocaleParam(GURL(chrome::kCrashReasonURL)); | 118 google_util::AppendGoogleLocaleParam(GURL(chrome::kCrashReasonURL)); |
| 119 tab_contents_->OpenURL(help_url, GURL(), CURRENT_TAB, PageTransition::LINK); | 119 tab_contents_->OpenURL(help_url, GURL(), CURRENT_TAB, PageTransition::LINK); |
| 120 } | 120 } |
| 121 } | 121 } |
| OLD | NEW |