/** Configure Autoplay permission access setting for this site. */ public void setAutoplayPermission(ContentSetting value) { if (mAutoplayExceptionInfo != null) { mAutoplayExceptionInfo.setContentSetting(value); } }
/** Configure Popup permission access setting for this site. */ public void setPopupPermission(ContentSetting value) { if (mPopupException != null) { mPopupException.setContentSetting(value); } }
/** Returns what permission governs Autoplay access. */ public ContentSetting getAutoplayPermission() { return mAutoplayExceptionInfo != null ? mAutoplayExceptionInfo.getContentSetting() : null; }
/** Configure JavaScript permission access setting for this site. */ public void setJavaScriptPermission(ContentSetting value) { if (mJavaScriptException != null) { mJavaScriptException.setContentSetting(value); } }
/** Returns what permission governs Popup permission. */ public ContentSetting getPopupPermission() { if (mPopupException != null) return mPopupException.getContentSetting(); return null; }
/** Returns what permission governs JavaScript access. */ public ContentSetting getJavaScriptPermission() { return mJavaScriptException != null ? mJavaScriptException.getContentSetting() : null; }
/** Sets the permission that govers cookie preferences for this site. */ public void setCookiePermission(ContentSetting value) { if (mCookieException != null) { mCookieException.setContentSetting(value); } }
/** Gets the permission that governs cookie preferences. */ public ContentSetting getCookiePermission() { return mCookieException != null ? mCookieException.getContentSetting() : null; }
/** Configures the background sync setting for this site. */ public void setBackgroundSyncPermission(ContentSetting value) { if (mBackgroundSyncExceptionInfo != null) { mBackgroundSyncExceptionInfo.setContentSetting(value); } }
/** @return what permission governs background sync. */ public ContentSetting getBackgroundSyncPermission() { return mBackgroundSyncExceptionInfo != null ? mBackgroundSyncExceptionInfo.getContentSetting() : null; }