OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/prefs/per_tab_user_pref_store.h" | 5 #include "chrome/browser/prefs/per_tab_user_pref_store.h" |
| 6 #include "chrome/common/pref_names.h" |
6 | 7 |
7 PerTabUserPrefStore::PerTabUserPrefStore(PersistentPrefStore* underlay) | 8 PerTabUserPrefStore::PerTabUserPrefStore(PersistentPrefStore* underlay) |
8 : OverlayUserPrefStore(underlay) { | 9 : OverlayUserPrefStore(underlay) { |
| 10 RegisterOverlayProperty( |
| 11 prefs::kWebKitJavascriptEnabled, prefs::kWebKitGlobalJavascriptEnabled); |
9 } | 12 } |
OLD | NEW |