Package com.teamdev.jxbrowser.extensions
Enum Class ExtensionPermission
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ExtensionPermission>,Constable
public enum ExtensionPermission
extends Enum<ExtensionPermission>
implements com.google.protobuf.ProtocolMessageEnum
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 thechrome.bookmarksAPI.Gives access to thechrome.browsingDataAPI.ChromeOS only.Required if the extension usesdocument.execCommand('paste').Required if the extension usesdocument.execCommand('copy')ordocument.execCommand('cut').Gives access to thechrome.contentSettingsAPI.Gives access to thechrome.contextMenusAPI.Gives access to thechrome.cookiesAPI.Gives access to thechrome.debuggerAPI.Gives access to thechrome.declarativeContentAPI.Gives access to thechrome.declarativeNetRequestAPI.Gives access to thechrome.declarativeNetRequestFeedbackAPI which returns information on declarative rules matched.Gives access to thechrome.declarativeNetRequestAPI, but requires host permissions to the request URL and initiator to act on a request.Gives access to thechrome.declarativeWebRequestAPI.Gives access to thechrome.desktopCaptureAPI.Gives access to thechrome.documentScanAPI.Gives access to thechrome.downloadsAPI.The permission required to use thechrome.downloads.open()method.The permission required to use thechrome.downloads.setUiOptions()method.Gives access to thechrome.enterprise.deviceAttributesAPI.Gives access to thechrome.enterprise.hardwarePlatformAPI.Gives access to thechrome.enterprise.networkingAttributesAPI.Gives access to thechrome.enterprise.platformKeysAPI.Gives access to thechrome.experimental.*APIs.Reserved value.ChromeOS only.ChromeOS only.Gives access to thechrome.fontSettingsAPI.Gives access to thechrome.gcmAPI.Allows the extension to use the geolocation API without prompting the user for permission.Gives access to thechrome.historyAPI.Gives access to thechrome.identityAPI.Gives access to thechrome.idleAPI.ChromeOS only.Gives access to thechrome.managementAPI.Gives access to the native messaging API.Gives access to thechrome.notificationsAPI.Gives access to thechrome.offscreenAPI.Gives access to thechrome.pageCaptureAPI.ChromeOS only.Gives access to thechrome.powerAPI.Gives access to thechrome.printerProviderAPI.ChromeOS only.ChromeOS only.Gives access to thechrome.privacyAPI.Gives access to thechrome.processesAPI.Gives access to thechrome.proxyAPI.Gives access to thechrome.scriptingAPI.Gives access to thechrome.searchAPI.Gives access to thechrome.sessionsAPI.Gives access to thechrome.storageAPI.Gives access to thechrome.system.cpuAPI.Gives access to thechrome.system.displayAPI.Gives access to thechrome.system.memoryAPI.Gives access to thechrome.system.storageAPI.Gives access to thechrome.tabCaptureAPI.Gives access to thechrome.tabGroupsAPI.Gives access to privileged fields of the Tab objects used by several APIs includingchrome.tabsandchrome.windows.Gives access to thechrome.topSitesAPI.Gives access to thechrome.ttsAPI.Gives access to thechrome.ttsEngineAPI.An unknown permission type.Provides an unlimited quota for storing client-side data, such as databases and local storage files.ChromeOS only.ChromeOS only.Gives access to thechrome.webAuthenticationProxyAPI.Gives access to thechrome.webNavigationAPI.Gives access to thechrome.webRequestAPI.Required if the extension uses thechrome.webRequestAPI in a blocking fashion. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intGives temporary access to the active tab through a user gesture.static final intGives access to thechrome.alarmsAPI.static final intMakes 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).static final intGives access to thechrome.bookmarksAPI.static final intGives access to thechrome.browsingDataAPI.static final intChromeOS only.static final intRequired if the extension usesdocument.execCommand('paste').static final intRequired if the extension usesdocument.execCommand('copy')ordocument.execCommand('cut').static final intGives access to thechrome.contentSettingsAPI.static final intGives access to thechrome.contextMenusAPI.static final intGives access to thechrome.cookiesAPI.static final intGives access to thechrome.debuggerAPI.static final intGives access to thechrome.declarativeContentAPI.static final intGives access to thechrome.declarativeNetRequestFeedbackAPI which returns information on declarative rules matched.static final intGives access to thechrome.declarativeNetRequestAPI.static final intGives access to thechrome.declarativeNetRequestAPI, but requires host permissions to the request URL and initiator to act on a request.static final intGives access to thechrome.declarativeWebRequestAPI.static final intGives access to thechrome.desktopCaptureAPI.static final intGives access to thechrome.documentScanAPI.static final intThe permission required to use thechrome.downloads.open()method.static final intThe permission required to use thechrome.downloads.setUiOptions()method.static final intGives access to thechrome.downloadsAPI.static final intGives access to thechrome.enterprise.deviceAttributesAPI.static final intGives access to thechrome.enterprise.hardwarePlatformAPI.static final intGives access to thechrome.enterprise.networkingAttributesAPI.static final intGives access to thechrome.enterprise.platformKeysAPI.static final intGives access to thechrome.experimental.*APIs.static final intReserved value.static final intChromeOS only.static final intChromeOS only.static final intGives access to thechrome.fontSettingsAPI.static final intGives access to thechrome.gcmAPI.static final intAllows the extension to use the geolocation API without prompting the user for permission.static final intGives access to thechrome.historyAPI.static final intGives access to thechrome.identityAPI.static final intGives access to thechrome.idleAPI.static final intChromeOS only.static final intGives access to thechrome.managementAPI.static final intGives access to the native messaging API.static final intGives access to thechrome.notificationsAPI.static final intGives access to thechrome.offscreenAPI.static final intGives access to thechrome.pageCaptureAPI.static final intChromeOS only.static final intGives access to thechrome.powerAPI.static final intGives access to thechrome.printerProviderAPI.static final intChromeOS only.static final intChromeOS only.static final intGives access to thechrome.privacyAPI.static final intGives access to thechrome.processesAPI.static final intGives access to thechrome.proxyAPI.static final intGives access to thechrome.scriptingAPI.static final intGives access to thechrome.searchAPI.static final intGives access to thechrome.sessionsAPI.static final intGives access to thechrome.storageAPI.static final intGives access to thechrome.system.cpuAPI.static final intGives access to thechrome.system.displayAPI.static final intGives access to thechrome.system.memoryAPI.static final intGives access to thechrome.system.storageAPI.static final intGives access to thechrome.tabCaptureAPI.static final intGives access to thechrome.tabGroupsAPI.static final intGives access to privileged fields of the Tab objects used by several APIs includingchrome.tabsandchrome.windows.static final intGives access to thechrome.topSitesAPI.static final intGives access to thechrome.ttsEngineAPI.static final intGives access to thechrome.ttsAPI.static final intAn unknown permission type.static final intProvides an unlimited quota for storing client-side data, such as databases and local storage files.static final intChromeOS only.static final intChromeOS only.static final intGives access to thechrome.webAuthenticationProxyAPI.static final intGives access to thechrome.webNavigationAPI.static final intRequired if the extension uses thechrome.webRequestAPI in a blocking fashion.static final intGives access to thechrome.webRequestAPI. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionPermissionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ExtensionPermission>static ExtensionPermissionvalueOf(int value) Deprecated.static ExtensionPermissionvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static 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
-
EXTENSION_PERMISSION_UNSPECIFIED
Reserved value. -
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 thechrome.bookmarksAPI. -
BROWSING_DATA
Gives access to thechrome.browsingDataAPI. -
CERTIFICATE_PROVIDER
ChromeOS only. Gives access to thechrome.certificateProviderAPI. -
CLIPBOARD_READ
Required if the extension usesdocument.execCommand('paste'). -
CLIPBOARD_WRITE
Required if the extension usesdocument.execCommand('copy')ordocument.execCommand('cut'). -
CONTENT_SETTINGS
Gives access to thechrome.contentSettingsAPI. -
CONTEXT_MENUS
Gives access to thechrome.contextMenusAPI. -
COOKIES
Gives access to thechrome.cookiesAPI. -
DEBUGGER
Gives access to thechrome.debuggerAPI. -
DECLARATIVE_CONTENT
Gives access to thechrome.declarativeContentAPI. -
DECLARATIVE_NET_REQUEST
Gives access to thechrome.declarativeNetRequestAPI. Some operations may require host permissions to perform. -
DECLARATIVE_NET_REQUEST_WITH_HOST_ACCESS
Gives access to thechrome.declarativeNetRequestAPI, but requires host permissions to the request URL and initiator to act on a request. -
DECLARATIVE_NET_REQUEST_FEEDBACK
Gives access to thechrome.declarativeNetRequestFeedbackAPI which returns information on declarative rules matched. -
DECLARATIVE_WEB_REQUEST
Gives access to thechrome.declarativeWebRequestAPI. This API is deprecated. Check out thechrome.declarativeNetRequestAPI instead. -
DESKTOP_CAPTURE
Gives access to thechrome.desktopCaptureAPI. -
DOCUMENT_SCAN
Gives access to thechrome.documentScanAPI. -
DOWNLOADS
Gives access to thechrome.downloadsAPI.In JxBrowser/DotNetBrowser the downloads API is not supported. Extensions are not allowed to initiate downloads.
-
ENTERPRISE_DEVICE_ATTRIBUTES
Gives access to thechrome.enterprise.deviceAttributesAPI. -
ENTERPRISE_HARDWARE_PLATFORM
Gives access to thechrome.enterprise.hardwarePlatformAPI. -
ENTERPRISE_NETWORKING_ATTRIBUTES
Gives access to thechrome.enterprise.networkingAttributesAPI. -
ENTERPRISE_PLATFORM_KEYS
Gives access to thechrome.enterprise.platformKeysAPI. -
EXPERIMENTAL
Gives access to thechrome.experimental.*APIs. -
FILE_BROWSER_HANDLER
ChromeOS only. Gives access to thechrome.fileBrowserHandlerAPI. -
FILE_SYSTEM_PROVIDER
ChromeOS only. Gives access to thechrome.fileSystemProviderAPI. -
FONT_SETTINGS
Gives access to thechrome.fontSettingsAPI. -
GCM
Gives access to thechrome.gcmAPI. -
GEOLOCATION
Allows the extension to use the geolocation API without prompting the user for permission. TODO: RequestPermission callback? -
HISTORY
Gives access to thechrome.historyAPI. -
IDENTITY
Gives access to thechrome.identityAPI. -
IDLE
Gives access to thechrome.idleAPI. -
LOGIN_STATE
ChromeOS only. Gives access to thechrome.loginStateAPI. -
MANAGEMENT
Gives access to thechrome.managementAPI. -
NATIVE_MESSAGING
Gives access to the native messaging API. -
NOTIFICATIONS
Gives access to thechrome.notificationsAPI. -
OFFSCREEN
Gives access to thechrome.offscreenAPI. -
PAGE_CAPTURE
Gives access to thechrome.pageCaptureAPI. -
PLATFORM_KEYS
ChromeOS only. Gives access to thechrome.platformKeysAPI. -
POWER
Gives access to thechrome.powerAPI. -
PRINTER_PROVIDER
Gives access to thechrome.printerProviderAPI. -
PRINTING
ChromeOS only. Gives access to thechrome.printingAPI. -
PRINTING_METRICS
ChromeOS only. Gives access to thechrome.printingMetricsAPI. -
PRIVACY
Gives access to thechrome.privacyAPI. -
PROCESS
Gives access to thechrome.processesAPI. -
PROXY
Gives access to thechrome.proxyAPI. -
SCRIPTING
Gives access to thechrome.scriptingAPI. -
SEARCH
Gives access to thechrome.searchAPI. -
SESSIONS
Gives access to thechrome.sessionsAPI. -
STORAGE
Gives access to thechrome.storageAPI. -
SYSTEM_CPU
Gives access to thechrome.system.cpuAPI. -
SYSTEM_DISPLAY
Gives access to thechrome.system.displayAPI. -
SYSTEM_MEMORY
Gives access to thechrome.system.memoryAPI. -
SYSTEM_STORAGE
Gives access to thechrome.system.storageAPI. -
TAB_CAPTURE
Gives access to thechrome.tabCaptureAPI. -
TAB_GROUPS
Gives access to thechrome.tabGroupsAPI. -
TABS
Gives access to privileged fields of the Tab objects used by several APIs includingchrome.tabsandchrome.windows. In many circumstances your extension will not need to declare the "tabs" permission to make use of these APIs. -
TOP_SITES
Gives access to thechrome.topSitesAPI. -
TTS
Gives access to thechrome.ttsAPI. -
TTS_ENGINE
Gives access to thechrome.ttsEngineAPI. -
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.Note: This permission applies only to Web SQL Database and application cache (see issue 58985). Also, it doesn't currently work with wildcard subdomains such as http://*.example.com.
-
VPN_PROVIDER
ChromeOS only. Gives access to thechrome.vpnProviderAPI. -
WALLPAPER
ChromeOS only. Gives access to thechrome.wallpaperAPI. -
WEB_NAVIGATION
Gives access to thechrome.webNavigationAPI. -
WEB_REQUEST
Gives access to thechrome.webRequestAPI. -
WEB_REQUEST_BLOCKING
Required if the extension uses thechrome.webRequestAPI in a blocking fashion. -
DOWNLOADS_OPEN
The permission required to use thechrome.downloads.open()method. -
DOWNLOADS_UI
The permission required to use thechrome.downloads.setUiOptions()method. In JxBrowser/DotNetBrowser this method has no effect. -
WEB_AUTHENTICATION_PROXY
Gives access to thechrome.webAuthenticationProxyAPI. -
UNRECOGNIZED
-
-
Field Details
-
EXTENSION_PERMISSION_UNSPECIFIED_VALUE
public static final int EXTENSION_PERMISSION_UNSPECIFIED_VALUEReserved value.- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEAn unknown permission type.- See Also:
-
ACTIVE_TAB_VALUE
public static final int ACTIVE_TAB_VALUEGives temporary access to the active tab through a user gesture.- See Also:
-
ALARMS_VALUE
public static final int ALARMS_VALUEGives access to thechrome.alarmsAPI.- See Also:
-
BACKGROUND_VALUE
public static final int BACKGROUND_VALUEMakes 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.
- See Also:
-
BOOKMARKS_VALUE
public static final int BOOKMARKS_VALUEGives access to thechrome.bookmarksAPI.- See Also:
-
BROWSING_DATA_VALUE
public static final int BROWSING_DATA_VALUEGives access to thechrome.browsingDataAPI.- See Also:
-
CERTIFICATE_PROVIDER_VALUE
public static final int CERTIFICATE_PROVIDER_VALUEChromeOS only. Gives access to thechrome.certificateProviderAPI.- See Also:
-
CLIPBOARD_READ_VALUE
public static final int CLIPBOARD_READ_VALUERequired if the extension usesdocument.execCommand('paste').- See Also:
-
CLIPBOARD_WRITE_VALUE
public static final int CLIPBOARD_WRITE_VALUERequired if the extension usesdocument.execCommand('copy')ordocument.execCommand('cut').- See Also:
-
CONTENT_SETTINGS_VALUE
public static final int CONTENT_SETTINGS_VALUEGives access to thechrome.contentSettingsAPI.- See Also:
-
CONTEXT_MENUS_VALUE
public static final int CONTEXT_MENUS_VALUEGives access to thechrome.contextMenusAPI.- See Also:
-
COOKIES_VALUE
public static final int COOKIES_VALUEGives access to thechrome.cookiesAPI.- See Also:
-
DEBUGGER_VALUE
public static final int DEBUGGER_VALUEGives access to thechrome.debuggerAPI.- See Also:
-
DECLARATIVE_CONTENT_VALUE
public static final int DECLARATIVE_CONTENT_VALUEGives access to thechrome.declarativeContentAPI.- See Also:
-
DECLARATIVE_NET_REQUEST_VALUE
public static final int DECLARATIVE_NET_REQUEST_VALUEGives access to thechrome.declarativeNetRequestAPI. Some operations may require host permissions to perform.- See Also:
-
DECLARATIVE_NET_REQUEST_WITH_HOST_ACCESS_VALUE
public static final int DECLARATIVE_NET_REQUEST_WITH_HOST_ACCESS_VALUEGives access to thechrome.declarativeNetRequestAPI, but requires host permissions to the request URL and initiator to act on a request.- See Also:
-
DECLARATIVE_NET_REQUEST_FEEDBACK_VALUE
public static final int DECLARATIVE_NET_REQUEST_FEEDBACK_VALUEGives access to thechrome.declarativeNetRequestFeedbackAPI which returns information on declarative rules matched.- See Also:
-
DECLARATIVE_WEB_REQUEST_VALUE
public static final int DECLARATIVE_WEB_REQUEST_VALUEGives access to thechrome.declarativeWebRequestAPI. This API is deprecated. Check out thechrome.declarativeNetRequestAPI instead.- See Also:
-
DESKTOP_CAPTURE_VALUE
public static final int DESKTOP_CAPTURE_VALUEGives access to thechrome.desktopCaptureAPI.- See Also:
-
DOCUMENT_SCAN_VALUE
public static final int DOCUMENT_SCAN_VALUEGives access to thechrome.documentScanAPI.- See Also:
-
DOWNLOADS_VALUE
public static final int DOWNLOADS_VALUEGives access to thechrome.downloadsAPI.In JxBrowser/DotNetBrowser the downloads API is not supported. Extensions are not allowed to initiate downloads.
- See Also:
-
ENTERPRISE_DEVICE_ATTRIBUTES_VALUE
public static final int ENTERPRISE_DEVICE_ATTRIBUTES_VALUEGives access to thechrome.enterprise.deviceAttributesAPI.- See Also:
-
ENTERPRISE_HARDWARE_PLATFORM_VALUE
public static final int ENTERPRISE_HARDWARE_PLATFORM_VALUEGives access to thechrome.enterprise.hardwarePlatformAPI.- See Also:
-
ENTERPRISE_NETWORKING_ATTRIBUTES_VALUE
public static final int ENTERPRISE_NETWORKING_ATTRIBUTES_VALUEGives access to thechrome.enterprise.networkingAttributesAPI.- See Also:
-
ENTERPRISE_PLATFORM_KEYS_VALUE
public static final int ENTERPRISE_PLATFORM_KEYS_VALUEGives access to thechrome.enterprise.platformKeysAPI.- See Also:
-
EXPERIMENTAL_VALUE
public static final int EXPERIMENTAL_VALUEGives access to thechrome.experimental.*APIs.- See Also:
-
FILE_BROWSER_HANDLER_VALUE
public static final int FILE_BROWSER_HANDLER_VALUEChromeOS only. Gives access to thechrome.fileBrowserHandlerAPI.- See Also:
-
FILE_SYSTEM_PROVIDER_VALUE
public static final int FILE_SYSTEM_PROVIDER_VALUEChromeOS only. Gives access to thechrome.fileSystemProviderAPI.- See Also:
-
FONT_SETTINGS_VALUE
public static final int FONT_SETTINGS_VALUEGives access to thechrome.fontSettingsAPI.- See Also:
-
GCM_VALUE
public static final int GCM_VALUEGives access to thechrome.gcmAPI.- See Also:
-
GEOLOCATION_VALUE
public static final int GEOLOCATION_VALUEAllows the extension to use the geolocation API without prompting the user for permission. TODO: RequestPermission callback?- See Also:
-
HISTORY_VALUE
public static final int HISTORY_VALUEGives access to thechrome.historyAPI.- See Also:
-
IDENTITY_VALUE
public static final int IDENTITY_VALUEGives access to thechrome.identityAPI.- See Also:
-
IDLE_VALUE
public static final int IDLE_VALUEGives access to thechrome.idleAPI.- See Also:
-
LOGIN_STATE_VALUE
public static final int LOGIN_STATE_VALUEChromeOS only. Gives access to thechrome.loginStateAPI.- See Also:
-
MANAGEMENT_VALUE
public static final int MANAGEMENT_VALUEGives access to thechrome.managementAPI.- See Also:
-
NATIVE_MESSAGING_VALUE
public static final int NATIVE_MESSAGING_VALUEGives access to the native messaging API.- See Also:
-
NOTIFICATIONS_VALUE
public static final int NOTIFICATIONS_VALUEGives access to thechrome.notificationsAPI.- See Also:
-
OFFSCREEN_VALUE
public static final int OFFSCREEN_VALUEGives access to thechrome.offscreenAPI.- See Also:
-
PAGE_CAPTURE_VALUE
public static final int PAGE_CAPTURE_VALUEGives access to thechrome.pageCaptureAPI.- See Also:
-
PLATFORM_KEYS_VALUE
public static final int PLATFORM_KEYS_VALUEChromeOS only. Gives access to thechrome.platformKeysAPI.- See Also:
-
POWER_VALUE
public static final int POWER_VALUEGives access to thechrome.powerAPI.- See Also:
-
PRINTER_PROVIDER_VALUE
public static final int PRINTER_PROVIDER_VALUEGives access to thechrome.printerProviderAPI.- See Also:
-
PRINTING_VALUE
public static final int PRINTING_VALUEChromeOS only. Gives access to thechrome.printingAPI.- See Also:
-
PRINTING_METRICS_VALUE
public static final int PRINTING_METRICS_VALUEChromeOS only. Gives access to thechrome.printingMetricsAPI.- See Also:
-
PRIVACY_VALUE
public static final int PRIVACY_VALUEGives access to thechrome.privacyAPI.- See Also:
-
PROCESS_VALUE
public static final int PROCESS_VALUEGives access to thechrome.processesAPI.- See Also:
-
PROXY_VALUE
public static final int PROXY_VALUEGives access to thechrome.proxyAPI.- See Also:
-
SCRIPTING_VALUE
public static final int SCRIPTING_VALUEGives access to thechrome.scriptingAPI.- See Also:
-
SEARCH_VALUE
public static final int SEARCH_VALUEGives access to thechrome.searchAPI.- See Also:
-
SESSIONS_VALUE
public static final int SESSIONS_VALUEGives access to thechrome.sessionsAPI.- See Also:
-
STORAGE_VALUE
public static final int STORAGE_VALUEGives access to thechrome.storageAPI.- See Also:
-
SYSTEM_CPU_VALUE
public static final int SYSTEM_CPU_VALUEGives access to thechrome.system.cpuAPI.- See Also:
-
SYSTEM_DISPLAY_VALUE
public static final int SYSTEM_DISPLAY_VALUEGives access to thechrome.system.displayAPI.- See Also:
-
SYSTEM_MEMORY_VALUE
public static final int SYSTEM_MEMORY_VALUEGives access to thechrome.system.memoryAPI.- See Also:
-
SYSTEM_STORAGE_VALUE
public static final int SYSTEM_STORAGE_VALUEGives access to thechrome.system.storageAPI.- See Also:
-
TAB_CAPTURE_VALUE
public static final int TAB_CAPTURE_VALUEGives access to thechrome.tabCaptureAPI.- See Also:
-
TAB_GROUPS_VALUE
public static final int TAB_GROUPS_VALUEGives access to thechrome.tabGroupsAPI.- See Also:
-
TABS_VALUE
public static final int TABS_VALUEGives access to privileged fields of the Tab objects used by several APIs includingchrome.tabsandchrome.windows. In many circumstances your extension will not need to declare the "tabs" permission to make use of these APIs.- See Also:
-
TOP_SITES_VALUE
public static final int TOP_SITES_VALUEGives access to thechrome.topSitesAPI.- See Also:
-
TTS_VALUE
public static final int TTS_VALUEGives access to thechrome.ttsAPI.- See Also:
-
TTS_ENGINE_VALUE
public static final int TTS_ENGINE_VALUEGives access to thechrome.ttsEngineAPI.- See Also:
-
UNLIMITED_STORAGE_VALUE
public static final int UNLIMITED_STORAGE_VALUEProvides 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.Note: This permission applies only to Web SQL Database and application cache (see issue 58985). Also, it doesn't currently work with wildcard subdomains such as http://*.example.com.
- See Also:
-
VPN_PROVIDER_VALUE
public static final int VPN_PROVIDER_VALUEChromeOS only. Gives access to thechrome.vpnProviderAPI.- See Also:
-
WALLPAPER_VALUE
public static final int WALLPAPER_VALUEChromeOS only. Gives access to thechrome.wallpaperAPI.- See Also:
-
WEB_NAVIGATION_VALUE
public static final int WEB_NAVIGATION_VALUEGives access to thechrome.webNavigationAPI.- See Also:
-
WEB_REQUEST_VALUE
public static final int WEB_REQUEST_VALUEGives access to thechrome.webRequestAPI.- See Also:
-
WEB_REQUEST_BLOCKING_VALUE
public static final int WEB_REQUEST_BLOCKING_VALUERequired if the extension uses thechrome.webRequestAPI in a blocking fashion.- See Also:
-
DOWNLOADS_OPEN_VALUE
public static final int DOWNLOADS_OPEN_VALUEThe permission required to use thechrome.downloads.open()method.- See Also:
-
DOWNLOADS_UI_VALUE
public static final int DOWNLOADS_UI_VALUEThe permission required to use thechrome.downloads.setUiOptions()method. In JxBrowser/DotNetBrowser this method has no effect.- See Also:
-
WEB_AUTHENTICATION_PROXY_VALUE
public static final int WEB_AUTHENTICATION_PROXY_VALUEGives access to thechrome.webAuthenticationProxyAPI.- See Also:
-
-
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
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.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:
value- 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
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
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:
desc- 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
-