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

Side by Side Diff: chrome/browser/ui/webui/options2/content_settings_handler.h

Issue 10857071: Options: Rename options2 namespace to options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix. Created 8 years, 4 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_WEBUI_OPTIONS2_CONTENT_SETTINGS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_CONTENT_SETTINGS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CONTENT_SETTINGS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CONTENT_SETTINGS_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "chrome/browser/pepper_flash_settings_manager.h" 12 #include "chrome/browser/pepper_flash_settings_manager.h"
13 #include "chrome/browser/prefs/pref_change_registrar.h" 13 #include "chrome/browser/prefs/pref_change_registrar.h"
14 #include "chrome/browser/ui/webui/options2/options_ui.h" 14 #include "chrome/browser/ui/webui/options2/options_ui.h"
15 #include "chrome/common/content_settings_types.h" 15 #include "chrome/common/content_settings_types.h"
16 #include "chrome/common/content_settings.h" 16 #include "chrome/common/content_settings.h"
17 #include "content/public/browser/notification_observer.h" 17 #include "content/public/browser/notification_observer.h"
18 #include "content/public/browser/notification_registrar.h" 18 #include "content/public/browser/notification_registrar.h"
19 19
20 class HostContentSettingsMap; 20 class HostContentSettingsMap;
21 class ProtocolHandlerRegistry; 21 class ProtocolHandlerRegistry;
22 22
23 namespace options2 { 23 namespace options {
24 24
25 class ContentSettingsHandler : public OptionsPageUIHandler, 25 class ContentSettingsHandler : public OptionsPageUIHandler,
26 public PepperFlashSettingsManager::Client { 26 public PepperFlashSettingsManager::Client {
27 public: 27 public:
28 ContentSettingsHandler(); 28 ContentSettingsHandler();
29 virtual ~ContentSettingsHandler(); 29 virtual ~ContentSettingsHandler();
30 30
31 // OptionsPageUIHandler implementation. 31 // OptionsPageUIHandler implementation.
32 virtual void GetLocalizedValues( 32 virtual void GetLocalizedValues(
33 base::DictionaryValue* localized_strings) OVERRIDE; 33 base::DictionaryValue* localized_strings) OVERRIDE;
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 PrefChangeRegistrar pref_change_registrar_; 174 PrefChangeRegistrar pref_change_registrar_;
175 scoped_ptr<PepperFlashSettingsManager> flash_settings_manager_; 175 scoped_ptr<PepperFlashSettingsManager> flash_settings_manager_;
176 CachedPepperFlashSettings flash_cameramic_settings_; 176 CachedPepperFlashSettings flash_cameramic_settings_;
177 177
178 static const ExContentSettingsTypeNameEntry 178 static const ExContentSettingsTypeNameEntry
179 kExContentSettingsTypeGroupNames[]; 179 kExContentSettingsTypeGroupNames[];
180 180
181 DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler); 181 DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler);
182 }; 182 };
183 183
184 } // namespace options2 184 } // namespace options
185 185
186 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CONTENT_SETTINGS_HANDLER_H_ 186 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CONTENT_SETTINGS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698