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 <windows.h> | 5 #include <windows.h> |
6 #include <shlobj.h> | 6 #include <shlobj.h> |
7 #include <vsstyle.h> | 7 #include <vsstyle.h> |
8 #include <vssym32.h> | 8 #include <vssym32.h> |
9 | 9 |
10 #include "chrome/browser/views/options/content_page_view.h" | 10 #include "chrome/browser/views/options/content_page_view.h" |
11 | 11 |
| 12 #include "app/l10n_util.h" |
12 #include "app/resource_bundle.h" | 13 #include "app/resource_bundle.h" |
13 #include "base/file_util.h" | 14 #include "base/file_util.h" |
14 #include "base/gfx/native_theme.h" | 15 #include "base/gfx/native_theme.h" |
15 #include "chrome/browser/browser_process.h" | 16 #include "chrome/browser/browser_process.h" |
16 #include "chrome/browser/shell_dialogs.h" | 17 #include "chrome/browser/shell_dialogs.h" |
17 #include "chrome/browser/views/options/fonts_languages_window_view.h" | 18 #include "chrome/browser/views/options/fonts_languages_window_view.h" |
18 #include "chrome/browser/views/options/options_group_view.h" | 19 #include "chrome/browser/views/options/options_group_view.h" |
19 #include "chrome/browser/views/options/passwords_exceptions_window_view.h" | 20 #include "chrome/browser/views/options/passwords_exceptions_window_view.h" |
20 #include "chrome/browser/views/standard_layout.h" | 21 #include "chrome/browser/views/standard_layout.h" |
21 #include "chrome/common/gfx/chrome_canvas.h" | 22 #include "chrome/common/gfx/chrome_canvas.h" |
22 #include "chrome/common/l10n_util.h" | |
23 #include "chrome/common/pref_names.h" | 23 #include "chrome/common/pref_names.h" |
24 #include "chrome/common/pref_service.h" | 24 #include "chrome/common/pref_service.h" |
25 #include "chrome/views/controls/button/radio_button.h" | 25 #include "chrome/views/controls/button/radio_button.h" |
26 #include "chrome/views/controls/text_field.h" | 26 #include "chrome/views/controls/text_field.h" |
27 #include "chrome/views/grid_layout.h" | 27 #include "chrome/views/grid_layout.h" |
28 #include "chrome/views/widget/widget.h" | 28 #include "chrome/views/widget/widget.h" |
29 #include "grit/generated_resources.h" | 29 #include "grit/generated_resources.h" |
30 #include "grit/theme_resources.h" | 30 #include "grit/theme_resources.h" |
31 #include "skia/ext/skia_utils_win.h" | 31 #include "skia/ext/skia_utils_win.h" |
32 #include "skia/include/SkBitmap.h" | 32 #include "skia/include/SkBitmap.h" |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 fonts_lang_group_ = new OptionsGroupView( | 501 fonts_lang_group_ = new OptionsGroupView( |
502 contents, | 502 contents, |
503 l10n_util::GetString(IDS_OPTIONS_FONTSANDLANGUAGES_GROUP_NAME), | 503 l10n_util::GetString(IDS_OPTIONS_FONTSANDLANGUAGES_GROUP_NAME), |
504 L"", true); | 504 L"", true); |
505 } | 505 } |
506 | 506 |
507 void ContentPageView::UpdateDownloadDirectoryDisplay() { | 507 void ContentPageView::UpdateDownloadDirectoryDisplay() { |
508 download_default_download_location_display_->SetFile( | 508 download_default_download_location_display_->SetFile( |
509 FilePath::FromWStringHack(default_download_location_.GetValue())); | 509 FilePath::FromWStringHack(default_download_location_.GetValue())); |
510 } | 510 } |
OLD | NEW |