OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/views/options/fonts_languages_window_view.h" | 5 #include "chrome/browser/views/options/fonts_languages_window_view.h" |
6 | 6 |
| 7 #include "app/l10n_util.h" |
7 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
8 #include "chrome/browser/profile.h" | 9 #include "chrome/browser/profile.h" |
9 #include "chrome/browser/views/options/fonts_page_view.h" | 10 #include "chrome/browser/views/options/fonts_page_view.h" |
10 #include "chrome/browser/views/options/languages_page_view.h" | 11 #include "chrome/browser/views/options/languages_page_view.h" |
11 #include "chrome/common/chrome_constants.h" | 12 #include "chrome/common/chrome_constants.h" |
12 #include "chrome/common/l10n_util.h" | |
13 #include "chrome/common/pref_names.h" | 13 #include "chrome/common/pref_names.h" |
14 #include "chrome/common/pref_service.h" | 14 #include "chrome/common/pref_service.h" |
15 #include "chrome/views/window/window.h" | 15 #include "chrome/views/window/window.h" |
16 #include "grit/chromium_strings.h" | 16 #include "grit/chromium_strings.h" |
17 #include "grit/generated_resources.h" | 17 #include "grit/generated_resources.h" |
18 #include "grit/locale_settings.h" | 18 #include "grit/locale_settings.h" |
19 | 19 |
20 // static | 20 // static |
21 static FontsLanguagesWindowView* instance_ = NULL; | 21 static FontsLanguagesWindowView* instance_ = NULL; |
22 static const int kDialogPadding = 7; | 22 static const int kDialogPadding = 7; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 AddChildView(tabs_); | 92 AddChildView(tabs_); |
93 | 93 |
94 fonts_page_ = new FontsPageView(profile_); | 94 fonts_page_ = new FontsPageView(profile_); |
95 tabs_->AddTab(l10n_util::GetString( | 95 tabs_->AddTab(l10n_util::GetString( |
96 IDS_FONT_LANGUAGE_SETTING_FONT_TAB_TITLE), fonts_page_); | 96 IDS_FONT_LANGUAGE_SETTING_FONT_TAB_TITLE), fonts_page_); |
97 | 97 |
98 languages_page_ = new LanguagesPageView(profile_); | 98 languages_page_ = new LanguagesPageView(profile_); |
99 tabs_->AddTab(l10n_util::GetString( | 99 tabs_->AddTab(l10n_util::GetString( |
100 IDS_FONT_LANGUAGE_SETTING_LANGUAGES_TAB_TITLE), languages_page_); | 100 IDS_FONT_LANGUAGE_SETTING_LANGUAGES_TAB_TITLE), languages_page_); |
101 } | 101 } |
OLD | NEW |