| OLD | NEW |
| 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/prefs/prefs_tab_helper.h" | 5 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 #include "components/prefs/overlay_user_pref_store.h" | 35 #include "components/prefs/overlay_user_pref_store.h" |
| 36 #include "components/prefs/pref_change_registrar.h" | 36 #include "components/prefs/pref_change_registrar.h" |
| 37 #include "components/prefs/pref_service.h" | 37 #include "components/prefs/pref_service.h" |
| 38 #include "components/proxy_config/proxy_config_pref_names.h" | 38 #include "components/proxy_config/proxy_config_pref_names.h" |
| 39 #include "content/public/browser/notification_details.h" | 39 #include "content/public/browser/notification_details.h" |
| 40 #include "content/public/browser/notification_service.h" | 40 #include "content/public/browser/notification_service.h" |
| 41 #include "content/public/browser/render_view_host.h" | 41 #include "content/public/browser/render_view_host.h" |
| 42 #include "content/public/browser/web_contents.h" | 42 #include "content/public/browser/web_contents.h" |
| 43 #include "content/public/common/renderer_preferences.h" | 43 #include "content/public/common/renderer_preferences.h" |
| 44 #include "content/public/common/web_preferences.h" | 44 #include "content/public/common/web_preferences.h" |
| 45 #include "grit/components_locale_settings.h" |
| 45 #include "grit/platform_locale_settings.h" | 46 #include "grit/platform_locale_settings.h" |
| 46 #include "third_party/icu/source/common/unicode/uchar.h" | 47 #include "third_party/icu/source/common/unicode/uchar.h" |
| 47 #include "third_party/icu/source/common/unicode/uscript.h" | 48 #include "third_party/icu/source/common/unicode/uscript.h" |
| 48 #include "ui/base/l10n/l10n_util.h" | 49 #include "ui/base/l10n/l10n_util.h" |
| 49 | 50 |
| 50 #if defined(OS_POSIX) && !defined(OS_MACOSX) && defined(ENABLE_THEMES) | 51 #if defined(OS_POSIX) && !defined(OS_MACOSX) && defined(ENABLE_THEMES) |
| 51 #include "chrome/browser/themes/theme_service.h" | 52 #include "chrome/browser/themes/theme_service.h" |
| 52 #include "chrome/browser/themes/theme_service_factory.h" | 53 #include "chrome/browser/themes/theme_service_factory.h" |
| 53 #endif | 54 #endif |
| 54 | 55 |
| (...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 674 } | 675 } |
| 675 } | 676 } |
| 676 | 677 |
| 677 void PrefsTabHelper::OnWebPrefChanged(const std::string& pref_name) { | 678 void PrefsTabHelper::OnWebPrefChanged(const std::string& pref_name) { |
| 678 #if !defined(OS_ANDROID) | 679 #if !defined(OS_ANDROID) |
| 679 OnFontFamilyPrefChanged(pref_name); | 680 OnFontFamilyPrefChanged(pref_name); |
| 680 #endif | 681 #endif |
| 681 | 682 |
| 682 web_contents_->GetRenderViewHost()->OnWebkitPreferencesChanged(); | 683 web_contents_->GetRenderViewHost()->OnWebkitPreferencesChanged(); |
| 683 } | 684 } |
| OLD | NEW |