Index: chrome/browser/resources/settings/advanced_page/advanced_page.js |
diff --git a/chrome/browser/resources/settings/advanced_page/advanced_page.js b/chrome/browser/resources/settings/advanced_page/advanced_page.js |
index 0943c0dd85da65f4a34129232fc8837b89c40e15..1507385d0b8caeb1802131eef7adb127efe376ab 100644 |
--- a/chrome/browser/resources/settings/advanced_page/advanced_page.js |
+++ b/chrome/browser/resources/settings/advanced_page/advanced_page.js |
@@ -37,5 +37,24 @@ Polymer({ |
type: Object, |
notify: true, |
}, |
+ |
+ /** |
+ * The content settings types supported in the UI. |
+ */ |
+ contentSettingsTypes: { |
Dan Beam
2015/10/10 01:27:39
why is this here? this should be in some constant
Finnur
2015/10/15 15:46:32
Good point. Moved to constants.js.
Thanks for the
|
+ readOnly: true, |
+ type: Object, |
+ value: { |
+ COOKIES: 0, |
+ IMAGES: 1, |
+ JAVASCRIPT: 2, |
+ POPUPS: 4, |
+ GEOLOCATION: 5, |
+ NOTIFICATION: 6, |
+ FULLSCREEN: 8, |
+ CAMERA: 13, |
+ MIC: 14, |
+ }, |
+ }, |
}, |
}); |