Beispiel #1
0
 /** Returns what permission governs Autoplay access. */
 public ContentSetting getAutoplayPermission() {
   return mAutoplayExceptionInfo != null ? mAutoplayExceptionInfo.getContentSetting() : null;
 }
Beispiel #2
0
 /** Returns what permission governs Popup permission. */
 public ContentSetting getPopupPermission() {
   if (mPopupException != null) return mPopupException.getContentSetting();
   return null;
 }
Beispiel #3
0
 /** Gets the permission that governs cookie preferences. */
 public ContentSetting getCookiePermission() {
   return mCookieException != null ? mCookieException.getContentSetting() : null;
 }
Beispiel #4
0
 /** Returns what permission governs JavaScript access. */
 public ContentSetting getJavaScriptPermission() {
   return mJavaScriptException != null ? mJavaScriptException.getContentSetting() : null;
 }
Beispiel #5
0
 /** @return what permission governs background sync. */
 public ContentSetting getBackgroundSyncPermission() {
   return mBackgroundSyncExceptionInfo != null
       ? mBackgroundSyncExceptionInfo.getContentSetting()
       : null;
 }