| 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 bool blocked_by_policy); | 346 bool blocked_by_policy); |
| 347 void OnServiceWorkerAccessed(const GURL& scope, | 347 void OnServiceWorkerAccessed(const GURL& scope, |
| 348 bool blocked_by_policy_javascript, | 348 bool blocked_by_policy_javascript, |
| 349 bool blocked_by_policy_cookie); | 349 bool blocked_by_policy_cookie); |
| 350 void OnWebDatabaseAccessed(const GURL& url, | 350 void OnWebDatabaseAccessed(const GURL& url, |
| 351 const base::string16& name, | 351 const base::string16& name, |
| 352 const base::string16& display_name, | 352 const base::string16& display_name, |
| 353 bool blocked_by_policy); | 353 bool blocked_by_policy); |
| 354 void OnGeolocationPermissionSet(const GURL& requesting_frame, | 354 void OnGeolocationPermissionSet(const GURL& requesting_frame, |
| 355 bool allowed); | 355 bool allowed); |
| 356 void OnDidUseKeygen(const GURL& url); | |
| 357 #if defined(OS_ANDROID) || defined(OS_CHROMEOS) | 356 #if defined(OS_ANDROID) || defined(OS_CHROMEOS) |
| 358 void OnProtectedMediaIdentifierPermissionSet(const GURL& requesting_frame, | 357 void OnProtectedMediaIdentifierPermissionSet(const GURL& requesting_frame, |
| 359 bool allowed); | 358 bool allowed); |
| 360 #endif | 359 #endif |
| 361 | 360 |
| 362 // This method is called to update the status about the microphone and | 361 // This method is called to update the status about the microphone and |
| 363 // camera stream access. | 362 // camera stream access. |
| 364 void OnMediaStreamPermissionSet( | 363 void OnMediaStreamPermissionSet( |
| 365 const GURL& request_origin, | 364 const GURL& request_origin, |
| 366 MicrophoneCameraState new_microphone_camera_state, | 365 MicrophoneCameraState new_microphone_camera_state, |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 // Holds the previous committed url during a navigation. | 485 // Holds the previous committed url during a navigation. |
| 487 GURL previous_url_; | 486 GURL previous_url_; |
| 488 | 487 |
| 489 // Observer to watch for content settings changed. | 488 // Observer to watch for content settings changed. |
| 490 ScopedObserver<HostContentSettingsMap, content_settings::Observer> observer_; | 489 ScopedObserver<HostContentSettingsMap, content_settings::Observer> observer_; |
| 491 | 490 |
| 492 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); | 491 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); |
| 493 }; | 492 }; |
| 494 | 493 |
| 495 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ | 494 #endif // CHROME_BROWSER_CONTENT_SETTINGS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ |
| OLD | NEW |