OLD | NEW |
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 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 236 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
237 virtual void DidNavigateMainFrame( | 237 virtual void DidNavigateMainFrame( |
238 const content::LoadCommittedDetails& details, | 238 const content::LoadCommittedDetails& details, |
239 const content::FrameNavigateParams& params) OVERRIDE; | 239 const content::FrameNavigateParams& params) OVERRIDE; |
240 virtual void DidStartProvisionalLoadForFrame( | 240 virtual void DidStartProvisionalLoadForFrame( |
241 int64 frame_id, | 241 int64 frame_id, |
242 int64 parent_frame_id, | 242 int64 parent_frame_id, |
243 bool is_main_frame, | 243 bool is_main_frame, |
244 const GURL& validated_url, | 244 const GURL& validated_url, |
245 bool is_error_page, | 245 bool is_error_page, |
| 246 bool is_iframe_srcdoc, |
246 content::RenderViewHost* render_view_host) OVERRIDE; | 247 content::RenderViewHost* render_view_host) OVERRIDE; |
247 virtual void AppCacheAccessed(const GURL& manifest_url, | 248 virtual void AppCacheAccessed(const GURL& manifest_url, |
248 bool blocked_by_policy) OVERRIDE; | 249 bool blocked_by_policy) OVERRIDE; |
249 | 250 |
250 // Message handlers. Public for testing. | 251 // Message handlers. Public for testing. |
251 void OnContentBlocked(ContentSettingsType type, | 252 void OnContentBlocked(ContentSettingsType type, |
252 const std::string& resource_identifier); | 253 const std::string& resource_identifier); |
253 | 254 |
254 // These methods are invoked on the UI thread by the static functions above. | 255 // These methods are invoked on the UI thread by the static functions above. |
255 // Public for testing. | 256 // Public for testing. |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 | 346 |
346 // Stores whether the user can load blocked plugins on this page. | 347 // Stores whether the user can load blocked plugins on this page. |
347 bool load_plugins_link_enabled_; | 348 bool load_plugins_link_enabled_; |
348 | 349 |
349 content::NotificationRegistrar registrar_; | 350 content::NotificationRegistrar registrar_; |
350 | 351 |
351 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); | 352 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); |
352 }; | 353 }; |
353 | 354 |
354 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ | 355 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ |
OLD | NEW |