Package com.teamdev.jxbrowser.extensions
Enum Class ExtensionPermission
- All Implemented Interfaces:
Serializable,Comparable<ExtensionPermission>,Constable
The extension permission types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGives temporary access to the active tab through a user gesture.Gives access to thechrome.alarmsAPI.Makes Chrome start up early (as soon as the user logs into their computer—before the user launches Chrome), and shut down late (even after its last window is closed until the user explicitly quits Chrome).Gives access to the chrome.bookmarks API.Gives access to the chrome.browsingData API.Gives access to the chrome.certificateProvider API.Required if the extension uses document.execCommand('paste').Required if the extension uses document.execCommand('copy') or document.execCommand('cut').Gives access to the chrome.contentSettings API.Gives access to the chrome.contextMenus API.Gives access to the chrome.cookies API.Gives access to the chrome.debugger API.Gives access to the chrome.declarativeContent API.Gives access to the chrome.declarativeNetRequest API.Gives access to the chrome.declarativeNetRequestFeedback API which returns information on declarative rules matched.Gives access to the chrome.declarativeNetRequest API, but requires host permissions to the request URL and initiator to act on a request.Gives access to the chrome.declarativeWebRequest API.Gives access to the chrome.desktopCapture API.Gives access to the chrome.documentScan API.Gives access to the chrome.downloads API.The permission required to use the chrome.downloads.open() method.The permission required to use the chrome.downloads.setUiOptions() method.Gives access to the chrome.enterprise.deviceAttributes API.Gives access to the chrome.enterprise.hardwarePlatform API.Gives access to the chrome.enterprise.networkingAttributes API.Gives access to the chrome.enterprise.platformKeys API.Gives access to the chrome.experimental.* APIs.Gives access to the chrome.fileBrowserHandler API.Gives access to the chrome.fileSystemProvider API.Gives access to the chrome.fontSettings API.Gives access to the chrome.gcm API.Allows the extension to use the geolocation API without prompting the user for permission.Gives access to the chrome.history API.Gives access to the chrome.identity API.Gives access to the chrome.idle API.Gives access to the chrome.loginState API.Gives access to the chrome.management API.Gives access to the native messaging API.Gives access to the chrome.notifications API.Gives access to the chrome.offscreen API.Gives access to the chrome.pageCapture API.Gives access to the chrome.platformKeys API.Gives access to the chrome.power API.Gives access to the chrome.printerProvider API.Gives access to the chrome.printing API.Gives access to the chrome.printingMetrics API.Gives access to the chrome.privacy API.Gives access to the chrome.processes API.Gives access to the chrome.proxy API.Gives access to the chrome.scripting API.Gives access to the chrome.search API.Gives access to the chrome.sessions API.Gives access to the chrome.storage API.Gives access to the chrome.system.cpu API.Gives access to the chrome.system.display API.Gives access to the chrome.system.memory API.Gives access to the chrome.system.storage API.Gives access to the chrome.tabCapture API.Gives access to the chrome.tabGroups API.Gives access to privileged fields of the Tab objects used by several APIs including chrome.tabs and chrome.windows.Gives access to the chrome.topSites API.Gives access to the chrome.tts API.Gives access to the chrome.ttsEngine API.An unknown permission type.Provides an unlimited quota for storing client-side data, such as databases and local storage files.Gives access to the chrome.vpnProvider API.Gives access to the chrome.wallpaper API.Gives access to the chrome.webAuthenticationProxy API.Gives access to the chrome.webNavigation API.Gives access to the chrome.webRequest API.Required if the extension uses the chrome.webRequest API in a blocking fashion. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionPermissionReturns the enum constant of this class with the specified name.static ExtensionPermission[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
UNKNOWN
An unknown permission type. -
ACTIVE_TAB
Gives temporary access to the active tab through a user gesture. -
ALARMS
Gives access to thechrome.alarmsAPI. -
BACKGROUND
Makes Chrome start up early (as soon as the user logs into their computer—before the user launches Chrome), and shut down late (even after its last window is closed until the user explicitly quits Chrome).In JxBrowser/DotNetBrowser this permission has no effect.
-
BOOKMARKS
Gives access to the chrome.bookmarks API. -
BROWSING_DATA
Gives access to the chrome.browsingData API. -
CERTIFICATE_PROVIDER
Gives access to the chrome.certificateProvider API. -
CLIPBOARD_READ
Required if the extension uses document.execCommand('paste'). -
CLIPBOARD_WRITE
Required if the extension uses document.execCommand('copy') or document.execCommand('cut'). -
CONTENT_SETTINGS
Gives access to the chrome.contentSettings API. -
CONTEXT_MENUS
Gives access to the chrome.contextMenus API. -
COOKIES
Gives access to the chrome.cookies API. -
DEBUGGER
Gives access to the chrome.debugger API. -
DECLARATIVE_CONTENT
Gives access to the chrome.declarativeContent API. -
DECLARATIVE_NET_REQUEST
Gives access to the chrome.declarativeNetRequest API. Some operations may require host permissions to perform. -
DECLARATIVE_NET_REQUEST_WITH_HOST_ACCESS
Gives access to the chrome.declarativeNetRequest API, but requires host permissions to the request URL and initiator to act on a request. -
DECLARATIVE_NET_REQUEST_FEEDBACK
Gives access to the chrome.declarativeNetRequestFeedback API which returns information on declarative rules matched. -
DECLARATIVE_WEB_REQUEST
Gives access to the chrome.declarativeWebRequest API. This API is deprecated. Check out the chrome.declarativeNetRequest API instead. -
DESKTOP_CAPTURE
Gives access to the chrome.desktopCapture API. -
DOCUMENT_SCAN
Gives access to the chrome.documentScan API. -
DOWNLOADS
Gives access to the chrome.downloads API.In JxBrowser/DotNetBrowser the downloads API is not supported. Extensions are not allowed to initiate downloads.
-
ENTERPRISE_DEVICE_ATTRIBUTES
Gives access to the chrome.enterprise.deviceAttributes API. -
ENTERPRISE_HARDWARE_PLATFORM
Gives access to the chrome.enterprise.hardwarePlatform API. -
ENTERPRISE_NETWORKING_ATTRIBUTES
Gives access to the chrome.enterprise.networkingAttributes API. -
ENTERPRISE_PLATFORM_KEYS
Gives access to the chrome.enterprise.platformKeys API. -
EXPERIMENTAL
Gives access to the chrome.experimental.* APIs. -
FILE_BROWSER_HANDLER
Gives access to the chrome.fileBrowserHandler API. -
FILE_SYSTEM_PROVIDER
Gives access to the chrome.fileSystemProvider API. -
FONT_SETTINGS
Gives access to the chrome.fontSettings API. -
GCM
Gives access to the chrome.gcm API. -
GEOLOCATION
Allows the extension to use the geolocation API without prompting the user for permission. -
HISTORY
Gives access to the chrome.history API. -
IDENTITY
Gives access to the chrome.identity API. -
IDLE
Gives access to the chrome.idle API. -
LOGIN_STATE
Gives access to the chrome.loginState API. -
MANAGEMENT
Gives access to the chrome.management API. -
NATIVE_MESSAGING
Gives access to the native messaging API. -
NOTIFICATIONS
Gives access to the chrome.notifications API. -
OFFSCREEN
Gives access to the chrome.offscreen API. -
PAGE_CAPTURE
Gives access to the chrome.pageCapture API. -
PLATFORM_KEYS
Gives access to the chrome.platformKeys API. -
POWER
Gives access to the chrome.power API. -
PRINTER_PROVIDER
Gives access to the chrome.printerProvider API. -
PRINTING
Gives access to the chrome.printing API. -
PRINTING_METRICS
Gives access to the chrome.printingMetrics API. -
PRIVACY
Gives access to the chrome.privacy API. -
PROCESS
Gives access to the chrome.processes API. -
PROXY
Gives access to the chrome.proxy API. -
SCRIPTING
Gives access to the chrome.scripting API. -
SEARCH
Gives access to the chrome.search API. -
SESSIONS
Gives access to the chrome.sessions API. -
STORAGE
Gives access to the chrome.storage API. -
SYSTEM_CPU
Gives access to the chrome.system.cpu API. -
SYSTEM_DISPLAY
Gives access to the chrome.system.display API. -
SYSTEM_MEMORY
Gives access to the chrome.system.memory API. -
SYSTEM_STORAGE
Gives access to the chrome.system.storage API. -
TAB_CAPTURE
Gives access to the chrome.tabCapture API. -
TAB_GROUPS
Gives access to the chrome.tabGroups API. -
TABS
Gives access to privileged fields of the Tab objects used by several APIs including chrome.tabs and chrome.windows. In many circumstances, the extension will not need to declare the "tabs" permission to make use of these APIs. -
TOP_SITES
Gives access to the chrome.topSites API. -
TTS
Gives access to the chrome.tts API. -
TTS_ENGINE
Gives access to the chrome.ttsEngine API. -
UNLIMITED_STORAGE
Provides an unlimited quota for storing client-side data, such as databases and local storage files. Without this permission, the extension is limited to 10 MB of local storage.This permission applies only to Web SQL Database and application cache. Also, it doesn't currently work with wildcard subdomains such as http://*.example.com.
-
VPN_PROVIDER
Gives access to the chrome.vpnProvider API. -
WALLPAPER
Gives access to the chrome.wallpaper API. -
WEB_NAVIGATION
Gives access to the chrome.webNavigation API. -
WEB_REQUEST
Gives access to the chrome.webRequest API. -
WEB_REQUEST_BLOCKING
Required if the extension uses the chrome.webRequest API in a blocking fashion. -
DOWNLOADS_OPEN
The permission required to use the chrome.downloads.open() method. -
DOWNLOADS_UI
The permission required to use the chrome.downloads.setUiOptions() method. -
WEB_AUTHENTICATION_PROXY
Gives access to the chrome.webAuthenticationProxy API.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-