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

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

Issue 8498007: ContentSettingsObserver (+ related classes) cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing struct ContentSettings, too. Created 9 years, 1 month 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 #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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 bool load_plugins_link_enabled() { return load_plugins_link_enabled_; } 156 bool load_plugins_link_enabled() { return load_plugins_link_enabled_; }
157 void set_load_plugins_link_enabled(bool enabled) { 157 void set_load_plugins_link_enabled(bool enabled) {
158 load_plugins_link_enabled_ = enabled; 158 load_plugins_link_enabled_ = enabled;
159 } 159 }
160 160
161 // TabContentsObserver overrides. 161 // TabContentsObserver overrides.
162 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 162 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
163 virtual void DidNavigateMainFramePostCommit( 163 virtual void DidNavigateMainFramePostCommit(
164 const content::LoadCommittedDetails& details, 164 const content::LoadCommittedDetails& details,
165 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; 165 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE;
166 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE;
167 virtual void DidStartProvisionalLoadForFrame( 166 virtual void DidStartProvisionalLoadForFrame(
168 int64 frame_id, 167 int64 frame_id,
169 bool is_main_frame, 168 bool is_main_frame,
170 const GURL& validated_url, 169 const GURL& validated_url,
171 bool is_error_page, 170 bool is_error_page,
172 RenderViewHost* render_view_host) OVERRIDE; 171 RenderViewHost* render_view_host) OVERRIDE;
173 virtual void AppCacheAccessed(const GURL& manifest_url, 172 virtual void AppCacheAccessed(const GURL& manifest_url,
174 bool blocked_by_policy) OVERRIDE; 173 bool blocked_by_policy) OVERRIDE;
175 174
176 // Message handlers. Public for testing. 175 // Message handlers. Public for testing.
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 283
285 // Stores whether the user can load blocked plugins on this page. 284 // Stores whether the user can load blocked plugins on this page.
286 bool load_plugins_link_enabled_; 285 bool load_plugins_link_enabled_;
287 286
288 content::NotificationRegistrar registrar_; 287 content::NotificationRegistrar registrar_;
289 288
290 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); 289 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings);
291 }; 290 };
292 291
293 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ 292 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698