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