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/browser_ui_prefs.h" | 5 #include "chrome/browser/ui/browser_ui_prefs.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 #include "chrome/browser/first_run/first_run.h" | 8 #include "chrome/browser/first_run/first_run.h" |
9 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
10 #include "chrome/common/pref_names.h" | 10 #include "chrome/common/pref_names.h" |
11 #include "components/browsing_data/pref_names.h" | 11 #include "components/browsing_data/core/pref_names.h" |
12 #include "components/pref_registry/pref_registry_syncable.h" | 12 #include "components/pref_registry/pref_registry_syncable.h" |
13 #include "components/prefs/pref_registry_simple.h" | 13 #include "components/prefs/pref_registry_simple.h" |
14 #include "components/prefs/pref_service.h" | 14 #include "components/prefs/pref_service.h" |
15 #include "components/prefs/scoped_user_pref_update.h" | 15 #include "components/prefs/scoped_user_pref_update.h" |
16 #include "components/translate/core/common/translate_pref_names.h" | 16 #include "components/translate/core/common/translate_pref_names.h" |
17 #include "content/public/common/webrtc_ip_handling_policy.h" | 17 #include "content/public/common/webrtc_ip_handling_policy.h" |
18 | 18 |
19 #if defined(OS_WIN) | 19 #if defined(OS_WIN) |
20 #include "base/win/windows_version.h" | 20 #include "base/win/windows_version.h" |
21 #endif | 21 #endif |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 registry->RegisterBooleanPref( | 149 registry->RegisterBooleanPref( |
150 prefs::kHideFullscreenToolbar, | 150 prefs::kHideFullscreenToolbar, |
151 false, | 151 false, |
152 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); | 152 user_prefs::PrefRegistrySyncable::SYNCABLE_PREF); |
153 #else | 153 #else |
154 registry->RegisterBooleanPref(prefs::kFullscreenAllowed, true); | 154 registry->RegisterBooleanPref(prefs::kFullscreenAllowed, true); |
155 #endif | 155 #endif |
156 } | 156 } |
157 | 157 |
158 } // namespace chrome | 158 } // namespace chrome |
OLD | NEW |