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

Side by Side Diff: chrome/browser/prefs/per_tab_user_pref_store.cc

Issue 8716004: Add per-tab "JavaScript enabled" preference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments and fixed fwd declaration Created 9 years 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 | Annotate | Revision Log
OLDNEW
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 }
OLDNEW
« no previous file with comments | « chrome/browser/prefs/overlay_user_pref_store_unittest.cc ('k') | chrome/browser/tab_contents/render_view_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698