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_OPTIONS2_CONTENT_SETTINGS_HANDLER2_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_CONTENT_SETTINGS_HANDLER2_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CONTENT_SETTINGS_HANDLER2_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CONTENT_SETTINGS_HANDLER2_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 void UpdateAllExceptionsViewsFromModel(); | 85 void UpdateAllExceptionsViewsFromModel(); |
86 // As above, but only OTR tables. | 86 // As above, but only OTR tables. |
87 void UpdateAllOTRExceptionsViewsFromModel(); | 87 void UpdateAllOTRExceptionsViewsFromModel(); |
88 // Clobbers and rebuilds just the geolocation exception table. | 88 // Clobbers and rebuilds just the geolocation exception table. |
89 void UpdateGeolocationExceptionsView(); | 89 void UpdateGeolocationExceptionsView(); |
90 // Clobbers and rebuilds just the desktop notification exception table. | 90 // Clobbers and rebuilds just the desktop notification exception table. |
91 void UpdateNotificationExceptionsView(); | 91 void UpdateNotificationExceptionsView(); |
92 // Clobbers and rebuilds just the Pepper Flash camera and microphone exception | 92 // Clobbers and rebuilds just the Pepper Flash camera and microphone exception |
93 // table. | 93 // table. |
94 void UpdateFlashCameraMicExceptionsView(); | 94 void UpdateFlashCameraMicExceptionsView(); |
| 95 // Clobbers and rebuilds just the Media Stream device exception table. |
| 96 void UpdateMediaStreamExceptionsView(); |
95 // Clobbers and rebuilds an exception table that's managed by the host content | 97 // Clobbers and rebuilds an exception table that's managed by the host content |
96 // settings map. | 98 // settings map. |
97 void UpdateExceptionsViewFromHostContentSettingsMap(ContentSettingsType type); | 99 void UpdateExceptionsViewFromHostContentSettingsMap(ContentSettingsType type); |
98 // As above, but acts on the OTR table for the content setting type. | 100 // As above, but acts on the OTR table for the content setting type. |
99 void UpdateExceptionsViewFromOTRHostContentSettingsMap( | 101 void UpdateExceptionsViewFromOTRHostContentSettingsMap( |
100 ContentSettingsType type); | 102 ContentSettingsType type); |
101 // Updates the radio buttons for enabling / disabling handlers. | 103 // Updates the radio buttons for enabling / disabling handlers. |
102 void UpdateHandlersEnabledRadios(); | 104 void UpdateHandlersEnabledRadios(); |
103 | 105 |
104 // Callbacks used by the page ------------------------------------------------ | 106 // Callbacks used by the page ------------------------------------------------ |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 | 158 |
157 static const ExContentSettingsTypeNameEntry | 159 static const ExContentSettingsTypeNameEntry |
158 kExContentSettingsTypeGroupNames[]; | 160 kExContentSettingsTypeGroupNames[]; |
159 | 161 |
160 DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler); | 162 DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler); |
161 }; | 163 }; |
162 | 164 |
163 } // namespace options2 | 165 } // namespace options2 |
164 | 166 |
165 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CONTENT_SETTINGS_HANDLER2_H_ | 167 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CONTENT_SETTINGS_HANDLER2_H_ |
OLD | NEW |