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

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

Issue 10384128: Quote WebPreferences in namespace webkit_glue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright 2012 Created 8 years, 7 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 | Annotate | Revision Log
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 #ifndef CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_
6 #define CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_ 6 #define CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/prefs/pref_change_registrar.h" 10 #include "chrome/browser/prefs/pref_change_registrar.h"
11 #include "content/public/browser/notification_observer.h" 11 #include "content/public/browser/notification_observer.h"
12 #include "content/public/browser/notification_registrar.h" 12 #include "content/public/browser/notification_registrar.h"
13 13
14 class OverlayUserPrefStore; 14 class OverlayUserPrefStore;
15 class PrefService; 15 class PrefService;
16 class Profile; 16 class Profile;
17 struct WebPreferences;
18 17
19 namespace content { 18 namespace content {
20 class WebContents; 19 class WebContents;
21 } 20 }
22 21
23 // Per-tab class to handle user preferences. 22 // Per-tab class to handle user preferences.
24 class PrefsTabHelper : public content::NotificationObserver { 23 class PrefsTabHelper : public content::NotificationObserver {
25 public: 24 public:
26 explicit PrefsTabHelper(content::WebContents* contents); 25 explicit PrefsTabHelper(content::WebContents* contents);
27 virtual ~PrefsTabHelper(); 26 virtual ~PrefsTabHelper();
(...skipping 17 matching lines...) Expand all
45 Profile* GetProfile(); 44 Profile* GetProfile();
46 45
47 content::WebContents* web_contents_; 46 content::WebContents* web_contents_;
48 content::NotificationRegistrar registrar_; 47 content::NotificationRegistrar registrar_;
49 PrefChangeRegistrar pref_change_registrar_; 48 PrefChangeRegistrar pref_change_registrar_;
50 49
51 DISALLOW_COPY_AND_ASSIGN(PrefsTabHelper); 50 DISALLOW_COPY_AND_ASSIGN(PrefsTabHelper);
52 }; 51 };
53 52
54 #endif // CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_ 53 #endif // CHROME_BROWSER_UI_PREFS_PREFS_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud.cc ('k') | chrome/browser/ui/prefs/prefs_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698