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

Side by Side Diff: chrome/browser/ui/gtk/sad_tab_gtk.cc

Issue 10756018: Merge grd files in ui/resources and chrome/app/theme (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/gtk/sad_tab_gtk.h" 5 #include "chrome/browser/ui/gtk/sad_tab_gtk.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/ui/gtk/gtk_chrome_link_button.h" 8 #include "chrome/browser/ui/gtk/gtk_chrome_link_button.h"
9 #include "chrome/common/url_constants.h" 9 #include "chrome/common/url_constants.h"
10 #include "content/public/browser/web_contents.h" 10 #include "content/public/browser/web_contents.h"
11 #include "grit/generated_resources.h" 11 #include "grit/generated_resources.h"
12 #include "grit/locale_settings.h" 12 #include "grit/locale_settings.h"
13 #include "grit/theme_resources.h" 13 #include "grit/theme_resources.h"
14 #include "grit/theme_resources_standard.h"
15 #include "ui/base/gtk/gtk_hig_constants.h" 14 #include "ui/base/gtk/gtk_hig_constants.h"
16 #include "ui/base/l10n/l10n_util.h" 15 #include "ui/base/l10n/l10n_util.h"
17 #include "ui/base/resource/resource_bundle.h" 16 #include "ui/base/resource/resource_bundle.h"
18 #include "ui/gfx/image/image.h" 17 #include "ui/gfx/image/image.h"
19 18
20 using content::OpenURLParams; 19 using content::OpenURLParams;
21 using content::WebContents; 20 using content::WebContents;
22 21
23 namespace { 22 namespace {
24 23
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 void SadTabGtk::OnLinkButtonClick(GtkWidget* sender) { 158 void SadTabGtk::OnLinkButtonClick(GtkWidget* sender) {
160 if (web_contents_ != NULL) { 159 if (web_contents_ != NULL) {
161 GURL help_url( 160 GURL help_url(
162 kind_ == CRASHED ? chrome::kCrashReasonURL : chrome::kKillReasonURL); 161 kind_ == CRASHED ? chrome::kCrashReasonURL : chrome::kKillReasonURL);
163 OpenURLParams params( 162 OpenURLParams params(
164 help_url, content::Referrer(), CURRENT_TAB, 163 help_url, content::Referrer(), CURRENT_TAB,
165 content::PAGE_TRANSITION_LINK, false); 164 content::PAGE_TRANSITION_LINK, false);
166 web_contents_->OpenURL(params); 165 web_contents_->OpenURL(params);
167 } 166 }
168 } 167 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698