| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/about_chrome_dialog.h" | 5 #include "chrome/browser/gtk/about_chrome_dialog.h" |
| 6 | 6 |
| 7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
| 8 | 8 |
| 9 #include "app/gfx/gtk_util.h" |
| 9 #include "app/l10n_util.h" | 10 #include "app/l10n_util.h" |
| 10 #include "app/resource_bundle.h" | 11 #include "app/resource_bundle.h" |
| 11 #include "base/file_version_info.h" | 12 #include "base/file_version_info.h" |
| 12 #include "base/gfx/gtk_util.h" | |
| 13 #include "chrome/browser/browser_list.h" | 13 #include "chrome/browser/browser_list.h" |
| 14 #include "chrome/browser/gtk/gtk_chrome_link_button.h" | 14 #include "chrome/browser/gtk/gtk_chrome_link_button.h" |
| 15 #include "chrome/browser/profile.h" | 15 #include "chrome/browser/profile.h" |
| 16 #include "chrome/common/chrome_constants.h" | 16 #include "chrome/common/chrome_constants.h" |
| 17 #include "chrome/common/gtk_util.h" | 17 #include "chrome/common/gtk_util.h" |
| 18 #include "chrome/common/url_constants.h" | 18 #include "chrome/common/url_constants.h" |
| 19 #include "grit/chromium_strings.h" | 19 #include "grit/chromium_strings.h" |
| 20 #include "grit/generated_resources.h" | 20 #include "grit/generated_resources.h" |
| 21 #include "grit/locale_settings.h" | 21 #include "grit/locale_settings.h" |
| 22 #include "grit/theme_resources.h" | 22 #include "grit/theme_resources.h" |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 const_cast<char*>(chrome::kAboutTermsURL)); | 251 const_cast<char*>(chrome::kAboutTermsURL)); |
| 252 gtk_box_pack_start(GTK_BOX(vbox), tos_hbox, TRUE, TRUE, 0); | 252 gtk_box_pack_start(GTK_BOX(vbox), tos_hbox, TRUE, TRUE, 0); |
| 253 #endif | 253 #endif |
| 254 | 254 |
| 255 gtk_box_pack_start(GTK_BOX(content_area), vbox, TRUE, TRUE, 0); | 255 gtk_box_pack_start(GTK_BOX(content_area), vbox, TRUE, TRUE, 0); |
| 256 | 256 |
| 257 g_signal_connect(dialog, "response", G_CALLBACK(OnDialogResponse), NULL); | 257 g_signal_connect(dialog, "response", G_CALLBACK(OnDialogResponse), NULL); |
| 258 gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); | 258 gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); |
| 259 gtk_widget_show_all(dialog); | 259 gtk_widget_show_all(dialog); |
| 260 } | 260 } |
| OLD | NEW |