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

Side by Side Diff: chrome/browser/ui/prefs/prefs_tab_helper.cc

Issue 1679283002: Componentize Chrome terms of service, Accept-Languages & default encoding. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase && use a qualified include for the new file Created 4 years, 10 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
« no previous file with comments | « chrome/browser/first_run/first_run_internal_win.cc ('k') | chrome/browser/ui/webui/about_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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 18 matching lines...) Expand all
29 #include "chrome/common/pref_names_util.h" 29 #include "chrome/common/pref_names_util.h"
30 #include "chrome/grit/locale_settings.h" 30 #include "chrome/grit/locale_settings.h"
31 #include "components/keyed_service/content/browser_context_dependency_manager.h" 31 #include "components/keyed_service/content/browser_context_dependency_manager.h"
32 #include "components/keyed_service/content/browser_context_keyed_service_factory .h" 32 #include "components/keyed_service/content/browser_context_keyed_service_factory .h"
33 #include "components/keyed_service/core/keyed_service.h" 33 #include "components/keyed_service/core/keyed_service.h"
34 #include "components/pref_registry/pref_registry_syncable.h" 34 #include "components/pref_registry/pref_registry_syncable.h"
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 "components/strings/grit/components_locale_settings.h"
39 #include "content/public/browser/notification_details.h" 40 #include "content/public/browser/notification_details.h"
40 #include "content/public/browser/notification_service.h" 41 #include "content/public/browser/notification_service.h"
41 #include "content/public/browser/render_view_host.h" 42 #include "content/public/browser/render_view_host.h"
42 #include "content/public/browser/web_contents.h" 43 #include "content/public/browser/web_contents.h"
43 #include "content/public/common/renderer_preferences.h" 44 #include "content/public/common/renderer_preferences.h"
44 #include "content/public/common/web_preferences.h" 45 #include "content/public/common/web_preferences.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"
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « chrome/browser/first_run/first_run_internal_win.cc ('k') | chrome/browser/ui/webui/about_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698