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 <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 const GURL& validated_url, | 384 const GURL& validated_url, |
385 bool is_error_page, | 385 bool is_error_page, |
386 bool is_iframe_srcdoc) override; | 386 bool is_iframe_srcdoc) override; |
387 void AppCacheAccessed(const GURL& manifest_url, | 387 void AppCacheAccessed(const GURL& manifest_url, |
388 bool blocked_by_policy) override; | 388 bool blocked_by_policy) override; |
389 | 389 |
390 // content_settings::Observer implementation. | 390 // content_settings::Observer implementation. |
391 void OnContentSettingChanged(const ContentSettingsPattern& primary_pattern, | 391 void OnContentSettingChanged(const ContentSettingsPattern& primary_pattern, |
392 const ContentSettingsPattern& secondary_pattern, | 392 const ContentSettingsPattern& secondary_pattern, |
393 ContentSettingsType content_type, | 393 ContentSettingsType content_type, |
| 394 ContentSetting previous_value, |
394 std::string resource_identifier) override; | 395 std::string resource_identifier) override; |
395 | 396 |
396 // Notifies all registered |SiteDataObserver|s. | 397 // Notifies all registered |SiteDataObserver|s. |
397 void NotifySiteDataObservers(); | 398 void NotifySiteDataObservers(); |
398 | 399 |
399 // Clears the Geolocation settings. | 400 // Clears the Geolocation settings. |
400 void ClearGeolocationContentSettings(); | 401 void ClearGeolocationContentSettings(); |
401 | 402 |
402 // Clears the MIDI settings. | 403 // Clears the MIDI settings. |
403 void ClearMidiContentSettings(); | 404 void ClearMidiContentSettings(); |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 std::string media_stream_requested_audio_device_; | 468 std::string media_stream_requested_audio_device_; |
468 std::string media_stream_requested_video_device_; | 469 std::string media_stream_requested_video_device_; |
469 | 470 |
470 // Observer to watch for content settings changed. | 471 // Observer to watch for content settings changed. |
471 ScopedObserver<HostContentSettingsMap, content_settings::Observer> observer_; | 472 ScopedObserver<HostContentSettingsMap, content_settings::Observer> observer_; |
472 | 473 |
473 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); | 474 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); |
474 }; | 475 }; |
475 | 476 |
476 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ | 477 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ |
OLD | NEW |