| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TAB_CONTENTS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "chrome/browser/geolocation/geolocation_settings_state.h" | 10 #include "chrome/browser/geolocation/geolocation_settings_state.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 load_plugins_link_enabled_ = enabled; | 88 load_plugins_link_enabled_ = enabled; |
| 89 } | 89 } |
| 90 | 90 |
| 91 // RenderViewHostDelegate::ContentSettings implementation. | 91 // RenderViewHostDelegate::ContentSettings implementation. |
| 92 virtual void OnContentBlocked(ContentSettingsType type, | 92 virtual void OnContentBlocked(ContentSettingsType type, |
| 93 const std::string& resource_identifier); | 93 const std::string& resource_identifier); |
| 94 virtual void OnCookieAccessed(const GURL& url, | 94 virtual void OnCookieAccessed(const GURL& url, |
| 95 const std::string& cookie_line, | 95 const std::string& cookie_line, |
| 96 bool blocked_by_policy); | 96 bool blocked_by_policy); |
| 97 virtual void OnIndexedDBAccessed(const GURL& url, | 97 virtual void OnIndexedDBAccessed(const GURL& url, |
| 98 const string16& name, | |
| 99 const string16& description, | 98 const string16& description, |
| 100 bool blocked_by_policy); | 99 bool blocked_by_policy); |
| 101 virtual void OnLocalStorageAccessed(const GURL& url, | 100 virtual void OnLocalStorageAccessed(const GURL& url, |
| 102 DOMStorageType storage_type, | 101 DOMStorageType storage_type, |
| 103 bool blocked_by_policy); | 102 bool blocked_by_policy); |
| 104 virtual void OnWebDatabaseAccessed(const GURL& url, | 103 virtual void OnWebDatabaseAccessed(const GURL& url, |
| 105 const string16& name, | 104 const string16& name, |
| 106 const string16& display_name, | 105 const string16& display_name, |
| 107 unsigned long estimated_size, | 106 unsigned long estimated_size, |
| 108 bool blocked_by_policy); | 107 bool blocked_by_policy); |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 | 176 |
| 178 // Stores whether the user can load blocked plugins on this page. | 177 // Stores whether the user can load blocked plugins on this page. |
| 179 bool load_plugins_link_enabled_; | 178 bool load_plugins_link_enabled_; |
| 180 | 179 |
| 181 Delegate* delegate_; | 180 Delegate* delegate_; |
| 182 | 181 |
| 183 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); | 182 DISALLOW_COPY_AND_ASSIGN(TabSpecificContentSettings); |
| 184 }; | 183 }; |
| 185 | 184 |
| 186 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ | 185 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_SPECIFIC_CONTENT_SETTINGS_H_ |
| OLD | NEW |