| 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_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 // Clobbers and rebuilds just the desktop notification exception table. | 147 // Clobbers and rebuilds just the desktop notification exception table. |
| 148 void UpdateNotificationExceptionsView(); | 148 void UpdateNotificationExceptionsView(); |
| 149 | 149 |
| 150 // Compares the exceptions of the camera or microphone |type| with its Flash | 150 // Compares the exceptions of the camera or microphone |type| with its Flash |
| 151 // counterparts and updates the Flash links' visibility accordingly. | 151 // counterparts and updates the Flash links' visibility accordingly. |
| 152 void CompareMediaExceptionsWithFlash(ContentSettingsType type); | 152 void CompareMediaExceptionsWithFlash(ContentSettingsType type); |
| 153 | 153 |
| 154 // Clobbers and rebuilds just the MIDI SysEx exception table. | 154 // Clobbers and rebuilds just the MIDI SysEx exception table. |
| 155 void UpdateMIDISysExExceptionsView(); | 155 void UpdateMIDISysExExceptionsView(); |
| 156 | 156 |
| 157 // Clobbers and rebuilds just the Sensors exception table. |
| 158 void UpdateSensorsExceptionsView(); |
| 159 |
| 157 // Clobbers and rebuilds all chooser-based exception tables. | 160 // Clobbers and rebuilds all chooser-based exception tables. |
| 158 void UpdateAllChooserExceptionsViewsFromModel(); | 161 void UpdateAllChooserExceptionsViewsFromModel(); |
| 159 | 162 |
| 160 // As above, but only OTR tables. | 163 // As above, but only OTR tables. |
| 161 void UpdateAllOTRChooserExceptionsViewsFromModel(); | 164 void UpdateAllOTRChooserExceptionsViewsFromModel(); |
| 162 | 165 |
| 163 // Clobbers and rebuilds the exception table for a particular chooser-based | 166 // Clobbers and rebuilds the exception table for a particular chooser-based |
| 164 // permission. | 167 // permission. |
| 165 void UpdateChooserExceptionsViewFromModel( | 168 void UpdateChooserExceptionsViewFromModel( |
| 166 const site_settings::ChooserTypeNameEntry& chooser_type); | 169 const site_settings::ChooserTypeNameEntry& chooser_type); |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 std::unique_ptr<content::HostZoomMap::Subscription> | 279 std::unique_ptr<content::HostZoomMap::Subscription> |
| 277 signin_host_zoom_map_subscription_; | 280 signin_host_zoom_map_subscription_; |
| 278 ScopedObserver<HostContentSettingsMap, content_settings::Observer> observer_; | 281 ScopedObserver<HostContentSettingsMap, content_settings::Observer> observer_; |
| 279 | 282 |
| 280 DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler); | 283 DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler); |
| 281 }; | 284 }; |
| 282 | 285 |
| 283 } // namespace options | 286 } // namespace options |
| 284 | 287 |
| 285 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ | 288 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ |
| OLD | NEW |