| OLD | NEW |
| 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 // Returns a CookiesTreeModel object for the recoreded blocked cookies. | 153 // Returns a CookiesTreeModel object for the recoreded blocked cookies. |
| 154 CookiesTreeModel* GetBlockedCookiesTreeModel(); | 154 CookiesTreeModel* GetBlockedCookiesTreeModel(); |
| 155 | 155 |
| 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 DidNavigateMainFrame( |
| 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; | 166 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; |
| 167 virtual void DidStartProvisionalLoadForFrame( | 167 virtual void DidStartProvisionalLoadForFrame( |
| 168 int64 frame_id, | 168 int64 frame_id, |
| 169 bool is_main_frame, | 169 bool is_main_frame, |
| 170 const GURL& validated_url, | 170 const GURL& validated_url, |
| 171 bool is_error_page, | 171 bool is_error_page, |
| 172 RenderViewHost* render_view_host) OVERRIDE; | 172 RenderViewHost* render_view_host) OVERRIDE; |
| 173 virtual void AppCacheAccessed(const GURL& manifest_url, | 173 virtual void AppCacheAccessed(const GURL& manifest_url, |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 | 284 |
| 285 // Stores whether the user can load blocked plugins on this page. | 285 // Stores whether the user can load blocked plugins on this page. |
| 286 bool load_plugins_link_enabled_; | 286 bool load_plugins_link_enabled_; |
| 287 | 287 |
| 288 content::NotificationRegistrar registrar_; | 288 content::NotificationRegistrar registrar_; |
| 289 | 289 |
| 290 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); | 290 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); |
| 291 }; | 291 }; |
| 292 | 292 |
| 293 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ | 293 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ |
| OLD | NEW |