| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 const GURL& validated_url, | 289 const GURL& validated_url, |
| 290 bool is_error_page, | 290 bool is_error_page, |
| 291 bool is_iframe_srcdoc, | 291 bool is_iframe_srcdoc, |
| 292 content::RenderViewHost* render_view_host) OVERRIDE; | 292 content::RenderViewHost* render_view_host) OVERRIDE; |
| 293 virtual void AppCacheAccessed(const GURL& manifest_url, | 293 virtual void AppCacheAccessed(const GURL& manifest_url, |
| 294 bool blocked_by_policy) OVERRIDE; | 294 bool blocked_by_policy) OVERRIDE; |
| 295 | 295 |
| 296 // Message handlers. Public for testing. | 296 // Message handlers. Public for testing. |
| 297 void OnContentBlocked(ContentSettingsType type); | 297 void OnContentBlocked(ContentSettingsType type); |
| 298 void OnContentAllowed(ContentSettingsType type); | 298 void OnContentAllowed(ContentSettingsType type); |
| 299 void OnRequestFileSystemAccess(const IPC::Message& message); |
| 299 | 300 |
| 300 // These methods are invoked on the UI thread by the static functions above. | 301 // These methods are invoked on the UI thread by the static functions above. |
| 301 // Public for testing. | 302 // Public for testing. |
| 302 void OnCookiesRead(const GURL& url, | 303 void OnCookiesRead(const GURL& url, |
| 303 const GURL& first_party_url, | 304 const GURL& first_party_url, |
| 304 const net::CookieList& cookie_list, | 305 const net::CookieList& cookie_list, |
| 305 bool blocked_by_policy); | 306 bool blocked_by_policy); |
| 306 void OnCookieChanged(const GURL& url, | 307 void OnCookieChanged(const GURL& url, |
| 307 const GURL& first_party_url, | 308 const GURL& first_party_url, |
| 308 const std::string& cookie_line, | 309 const std::string& cookie_line, |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 | 411 |
| 411 // The devices to be displayed in the media bubble when the media stream | 412 // The devices to be displayed in the media bubble when the media stream |
| 412 // request is requesting certain specific devices. | 413 // request is requesting certain specific devices. |
| 413 std::string media_stream_requested_audio_device_; | 414 std::string media_stream_requested_audio_device_; |
| 414 std::string media_stream_requested_video_device_; | 415 std::string media_stream_requested_video_device_; |
| 415 | 416 |
| 416 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); | 417 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); |
| 417 }; | 418 }; |
| 418 | 419 |
| 419 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ | 420 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ |
| OLD | NEW |