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

Side by Side Diff: chrome/browser/content_settings/tab_specific_content_settings.h

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_
6 #define CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ 6 #define CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 10 matching lines...) Expand all
21 21
22 class CannedBrowsingDataAppCacheHelper; 22 class CannedBrowsingDataAppCacheHelper;
23 class CannedBrowsingDataCookieHelper; 23 class CannedBrowsingDataCookieHelper;
24 class CannedBrowsingDataDatabaseHelper; 24 class CannedBrowsingDataDatabaseHelper;
25 class CannedBrowsingDataFileSystemHelper; 25 class CannedBrowsingDataFileSystemHelper;
26 class CannedBrowsingDataIndexedDBHelper; 26 class CannedBrowsingDataIndexedDBHelper;
27 class CannedBrowsingDataLocalStorageHelper; 27 class CannedBrowsingDataLocalStorageHelper;
28 class CookiesTreeModel; 28 class CookiesTreeModel;
29 class Profile; 29 class Profile;
30 30
31 namespace content {
32 class RenderViewHost;
33 }
34
31 namespace net { 35 namespace net {
32 class CookieList; 36 class CookieList;
33 class CookieOptions; 37 class CookieOptions;
34 } 38 }
35 39
36 class TabSpecificContentSettings : public content::WebContentsObserver, 40 class TabSpecificContentSettings : public content::WebContentsObserver,
37 public content::NotificationObserver { 41 public content::NotificationObserver {
38 public: 42 public:
39 class LocalSharedObjectsContainer { 43 class LocalSharedObjectsContainer {
40 public: 44 public:
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // content::WebContentsObserver overrides. 213 // content::WebContentsObserver overrides.
210 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 214 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
211 virtual void DidNavigateMainFrame( 215 virtual void DidNavigateMainFrame(
212 const content::LoadCommittedDetails& details, 216 const content::LoadCommittedDetails& details,
213 const content::FrameNavigateParams& params) OVERRIDE; 217 const content::FrameNavigateParams& params) OVERRIDE;
214 virtual void DidStartProvisionalLoadForFrame( 218 virtual void DidStartProvisionalLoadForFrame(
215 int64 frame_id, 219 int64 frame_id,
216 bool is_main_frame, 220 bool is_main_frame,
217 const GURL& validated_url, 221 const GURL& validated_url,
218 bool is_error_page, 222 bool is_error_page,
219 RenderViewHost* render_view_host) OVERRIDE; 223 content::RenderViewHost* render_view_host) OVERRIDE;
220 virtual void AppCacheAccessed(const GURL& manifest_url, 224 virtual void AppCacheAccessed(const GURL& manifest_url,
221 bool blocked_by_policy) OVERRIDE; 225 bool blocked_by_policy) OVERRIDE;
222 226
223 // Message handlers. Public for testing. 227 // Message handlers. Public for testing.
224 void OnContentBlocked(ContentSettingsType type, 228 void OnContentBlocked(ContentSettingsType type,
225 const std::string& resource_identifier); 229 const std::string& resource_identifier);
226 230
227 // These methods are invoked on the UI thread by the static functions above. 231 // These methods are invoked on the UI thread by the static functions above.
228 // Public for testing. 232 // Public for testing.
229 void OnCookiesRead(const GURL& url, 233 void OnCookiesRead(const GURL& url,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 289
286 // Stores whether the user can load blocked plugins on this page. 290 // Stores whether the user can load blocked plugins on this page.
287 bool load_plugins_link_enabled_; 291 bool load_plugins_link_enabled_;
288 292
289 content::NotificationRegistrar registrar_; 293 content::NotificationRegistrar registrar_;
290 294
291 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); 295 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings);
292 }; 296 };
293 297
294 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ 298 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_view.cc ('k') | chrome/browser/content_settings/tab_specific_content_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698