Chrome class

Available extensions

Properties

accessibilityFeatures ChromeAccessibilityFeatures

Available on Chrome, provided by the ChromeAccessibilityFeaturesExtension extension

Use the chrome.accessibilityFeatures API to manage Chrome's accessibility features. This API relies on the ChromeSetting prototype of the type API for getting and setting individual accessibility features. In order to get feature states the extension must request accessibilityFeatures.read permission. For modifying feature state, the extension needs accessibilityFeatures.modify permission. Note that accessibilityFeatures.modify does not imply accessibilityFeatures.read permission.
no setter
action ChromeAction

Available on Chrome, provided by the ChromeActionExtension extension

Use the chrome.action API to control the extension's icon in the Google Chrome toolbar.
no setter
alarms ChromeAlarms

Available on Chrome, provided by the ChromeAlarmsExtension extension

Use the chrome.alarms API to schedule code to run periodically or at a specified time in the future.
no setter
audio ChromeAudio

Available on Chrome, provided by the ChromeAudioExtension extension

The chrome.audio API is provided to allow users to get information about and control the audio devices attached to the system. This API is currently only available in kiosk mode for ChromeOS.
no setter
bookmarks ChromeBookmarks

Available on Chrome, provided by the ChromeBookmarksExtension extension

Use the chrome.bookmarks API to create, organize, and otherwise manipulate bookmarks. Also see Override Pages, which you can use to create a custom Bookmark Manager page.
no setter
browserAction ChromeBrowserAction

Available on Chrome, provided by the ChromeBrowserActionExtension extension

Use browser actions to put icons in the main Google Chrome toolbar, to the right of the address bar. In addition to its icon, a browser action can have a tooltip, a badge, and a popup.
no setter
browsingData ChromeBrowsingData

Available on Chrome, provided by the ChromeBrowsingDataExtension extension

Use the chrome.browsingData API to remove browsing data from a user's local profile.
no setter
certificateProvider ChromeCertificateProvider

Available on Chrome, provided by the ChromeCertificateProviderExtension extension

Use this API to expose certificates to the platform which can use these certificates for TLS authentications.
no setter
commands ChromeCommands

Available on Chrome, provided by the ChromeCommandsExtension extension

Use the commands API to add keyboard shortcuts that trigger actions in your extension, for example, an action to open the browser action or send a command to the extension.
no setter
contentSettings ChromeContentSettings

Available on Chrome, provided by the ChromeContentSettingsExtension extension

Use the chrome.contentSettings API to change settings that control whether websites can use features such as cookies, JavaScript, and plugins. More generally speaking, content settings allow you to customize Chrome's behavior on a per-site basis instead of globally.
no setter
contextMenus ChromeContextMenus

Available on Chrome, provided by the ChromeContextMenusExtension extension

Use the chrome.contextMenus API to add items to Google Chrome's context menu. You can choose what types of objects your context menu additions apply to, such as images, hyperlinks, and pages.
no setter
cookies ChromeCookies

Available on Chrome, provided by the ChromeCookiesExtension extension

Use the chrome.cookies API to query and modify cookies, and to be notified when they change.
no setter
debugger ChromeDebugger

Available on Chrome, provided by the ChromeDebuggerExtension extension

The chrome.debugger API serves as an alternate transport for Chrome's remote debugging protocol. Use chrome.debugger to attach to one or more tabs to instrument network interaction, debug JavaScript, mutate the DOM and CSS, etc. Use the Debuggee tabId to target tabs with sendCommand and route events by tabId from onEvent callbacks.
no setter
declarativeContent ChromeDeclarativeContent

Available on Chrome, provided by the ChromeDeclarativeContentExtension extension

Use the chrome.declarativeContent API to take actions depending on the content of a page, without requiring permission to read the page's content.
no setter
declarativeNetRequest ChromeDeclarativeNetRequest

Available on Chrome, provided by the ChromeDeclarativeNetRequestExtension extension

The chrome.declarativeNetRequest API is used to block or modify network requests by specifying declarative rules. This lets extensions modify network requests without intercepting them and viewing their content, thus providing more privacy.
no setter
desktopCapture ChromeDesktopCapture

Available on Chrome, provided by the ChromeDesktopCaptureExtension extension

Desktop Capture API that can be used to capture content of screen, individual windows or tabs.
no setter
devtools ChromeDevtools

Available on Chrome, provided by the ChromeDevtoolsExtension extension

no setter
documentScan ChromeDocumentScan

Available on Chrome, provided by the ChromeDocumentScanExtension extension

Use the chrome.documentScan API to discover and retrieve images from attached paper document scanners.
no setter
dom ChromeDom

Available on Chrome, provided by the ChromeDomExtension extension

Use the chrome.dom API to access special DOM APIs for Extensions
no setter
downloads ChromeDownloads

Available on Chrome, provided by the ChromeDownloadsExtension extension

Use the chrome.downloads API to programmatically initiate, monitor, manipulate, and search for downloads.
no setter
enterprise ChromeEnterprise

Available on Chrome, provided by the ChromeEnterpriseExtension extension

no setter
events ChromeEvents

Available on Chrome, provided by the ChromeEventsExtension extension

The chrome.events namespace contains common types used by APIs dispatching events to notify you when something interesting happens.
no setter
extension Chromium

Available on Chrome, provided by the ChromiumExtension extension

The chrome.extension API has utilities that can be used by any extension page. It includes support for exchanging messages between an extension and its content scripts or between extensions, as described in detail in Message Passing.
no setter
extensionTypes ChromiumTypes

Available on Chrome, provided by the ChromiumTypesExtension extension

The chrome.extensionTypes API contains type declarations for Chrome extensions.
no setter
fileBrowserHandler ChromeFileBrowserHandler

Available on Chrome, provided by the ChromeFileBrowserHandlerExtension extension

Use the chrome.fileBrowserHandler API to extend the Chrome OS file browser. For example, you can use this API to enable users to upload files to your website.
no setter
fileSystemProvider ChromeFileSystemProvider

Available on Chrome, provided by the ChromeFileSystemProviderExtension extension

Use the chrome.fileSystemProvider API to create file systems, that can be accessible from the file manager on Chrome OS.
no setter
fontSettings ChromeFontSettings

Available on Chrome, provided by the ChromeFontSettingsExtension extension

Use the chrome.fontSettings API to manage Chrome's font settings.
no setter
gcm ChromeGcm

Available on Chrome, provided by the ChromeGcmExtension extension

Use chrome.gcm to enable apps and extensions to send and receive messages through Firebase Cloud Messaging (FCM).
no setter
hashCode int
The hash code for this object.
no setterinherited
history ChromeHistory

Available on Chrome, provided by the ChromeHistoryExtension extension

Use the chrome.history API to interact with the browser's record of visited pages. You can add, remove, and query for URLs in the browser's history. To override the history page with your own version, see Override Pages.
no setter
i18n ChromeI18n

Available on Chrome, provided by the ChromeI18nExtension extension

Use the chrome.i18n infrastructure to implement internationalization across your whole app or extension.
no setter
identity ChromeIdentity

Available on Chrome, provided by the ChromeIdentityExtension extension

Use the chrome.identity API to get OAuth2 access tokens.
no setter
idle ChromeIdle

Available on Chrome, provided by the ChromeIdleExtension extension

Use the chrome.idle API to detect when the machine's idle state changes.
no setter
input ChromeInput

Available on Chrome, provided by the ChromeInputExtension extension

no setter
instanceId ChromeInstanceId

Available on Chrome, provided by the ChromeInstanceIdExtension extension

Use chrome.instanceID to access the Instance ID service.
no setter
loginState ChromeLoginState

Available on Chrome, provided by the ChromeLoginStateExtension extension

Use the chrome.loginState API to read and monitor the login state.
no setter
management ChromeManagement

Available on Chrome, provided by the ChromeManagementExtension extension

The chrome.management API provides ways to manage the list of extensions/apps that are installed and running. It is particularly useful for extensions that override the built-in New Tab page.
no setter
notifications ChromeNotifications

Available on Chrome, provided by the ChromeNotificationsExtension extension

Use the chrome.notifications API to create rich notifications using templates and show these notifications to users in the system tray.
no setter
offscreen ChromeOffscreen

Available on Chrome, provided by the ChromeOffscreenExtension extension

Use the offscreen API to create and manage offscreen documents.
no setter
omnibox ChromeOmnibox

Available on Chrome, provided by the ChromeOmniboxExtension extension

The omnibox API allows you to register a keyword with Google Chrome's address bar, which is also known as the omnibox.
no setter
pageAction ChromePageAction

Available on Chrome, provided by the ChromePageActionExtension extension

Use the chrome.pageAction API to put icons in the main Google Chrome toolbar, to the right of the address bar. Page actions represent actions that can be taken on the current page, but that aren't applicable to all pages. Page actions appear grayed out when inactive.
no setter
pageCapture ChromePageCapture

Available on Chrome, provided by the ChromePageCaptureExtension extension

Use the chrome.pageCapture API to save a tab as MHTML.
no setter
permissions ChromePermissions

Available on Chrome, provided by the ChromePermissionsExtension extension

Use the chrome.permissions API to request declared optional permissions at run time rather than install time, so users understand why the permissions are needed and grant only those that are necessary.
no setter
platformKeys ChromePlatformKeys

Available on Chrome, provided by the ChromePlatformKeysExtension extension

Use the chrome.platformKeys API to access client certificates managed by the platform. If the user or policy grants the permission, an extension can use such a certficate in its custom authentication protocol. E.g. this allows usage of platform managed certificates in third party VPNs (see $(ref:vpnProvider chrome.vpnProvider)).
no setter
power ChromePower

Available on Chrome, provided by the ChromePowerExtension extension

Use the chrome.power API to override the system's power management features.
no setter
printerProvider ChromePrinterProvider

Available on Chrome, provided by the ChromePrinterProviderExtension extension

The chrome.printerProvider API exposes events used by print manager to query printers controlled by extensions, to query their capabilities and to submit print jobs to these printers.
no setter
printing ChromePrinting

Available on Chrome, provided by the ChromePrintingExtension extension

Use the chrome.printing API to send print jobs to printers installed on Chromebook.
no setter
printingMetrics ChromePrintingMetrics

Available on Chrome, provided by the ChromePrintingMetricsExtension extension

Use the chrome.printingMetrics API to fetch data about printing usage.
no setter
privacy ChromePrivacy

Available on Chrome, provided by the ChromePrivacyExtension extension

Use the chrome.privacy API to control usage of the features in Chrome that can affect a user's privacy. This API relies on the ChromeSetting prototype of the type API for getting and setting Chrome's configuration.
no setter
processes ChromeProcesses

Available on Chrome, provided by the ChromeProcessesExtension extension

Use the chrome.processes API to interact with the browser's processes.
no setter
proxy ChromeProxy

Available on Chrome, provided by the ChromeProxyExtension extension

Use the chrome.proxy API to manage Chrome's proxy settings. This API relies on the ChromeSetting prototype of the type API for getting and setting the proxy configuration.
no setter
runtime ChromeRuntime

Available on Chrome, provided by the ChromeRuntimeExtension extension

Use the chrome.runtime API to retrieve the service worker, return details about the manifest, and listen for and respond to events in the app or extension lifecycle. You can also use this API to convert the relative path of URLs to fully-qualified URLs.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scripting ChromeScripting

Available on Chrome, provided by the ChromeScriptingExtension extension

Use the chrome.scripting API to execute script in different contexts.
no setter

Available on Chrome, provided by the ChromeSearchExtension extension

Use the chrome.search API to search via the default provider.
no setter
sessions ChromeSessions

Available on Chrome, provided by the ChromeSessionsExtension extension

Use the chrome.sessions API to query and restore tabs and windows from a browsing session.
no setter
sidePanel ChromeSidePanel

Available on Chrome, provided by the ChromeSidePanelExtension extension

Use the chrome.sidePanel API to host content in the browser's side panel alongside the main content of a webpage.
no setter
storage ChromeStorage

Available on Chrome, provided by the ChromeStorageExtension extension

Use the chrome.storage API to store, retrieve, and track changes to user data.
no setter
system ChromeSystem

Available on Chrome, provided by the ChromeSystemExtension extension

no setter
tabCapture ChromeTabCapture

Available on Chrome, provided by the ChromeTabCaptureExtension extension

Use the chrome.tabCapture API to interact with tab media streams.
no setter
tabGroups ChromeTabGroups

Available on Chrome, provided by the ChromeTabGroupsExtension extension

Use the chrome.tabGroups API to interact with the browser's tab grouping system. You can use this API to modify and rearrange tab groups in the browser. To group and ungroup tabs, or to query what tabs are in groups, use the chrome.tabs API.
no setter
tabs ChromeTabs

Available on Chrome, provided by the ChromeTabsExtension extension

Use the chrome.tabs API to interact with the browser's tab system. You can use this API to create, modify, and rearrange tabs in the browser.
no setter
topSites ChromeTopSites

Available on Chrome, provided by the ChromeTopSitesExtension extension

Use the chrome.topSites API to access the top sites (i.e. most visited sites) that are displayed on the new tab page. These do not include shortcuts customized by the user.
no setter
tts ChromeTts

Available on Chrome, provided by the ChromeTtsExtension extension

Use the chrome.tts API to play synthesized text-to-speech (TTS). See also the related ttsEngine API, which allows an extension to implement a speech engine.
no setter
ttsEngine ChromeTtsEngine

Available on Chrome, provided by the ChromeTtsEngineExtension extension

Use the chrome.ttsEngine API to implement a text-to-speech(TTS) engine using an extension. If your extension registers using this API, it will receive events containing an utterance to be spoken and other parameters when any extension or Chrome App uses the tts API to generate speech. Your extension can then use any available web technology to synthesize and output the speech, and send events back to the calling function to report the status.
no setter
types ChromeTypes

Available on Chrome, provided by the ChromeTypesExtension extension

The chrome.types API contains type declarations for Chrome.
no setter
usb ChromeUsb

Available on Chrome, provided by the ChromeUsbExtension extension

Use the chrome.usb API to interact with connected USB devices. This API provides access to USB operations from within the context of an app. Using this API, apps can function as drivers for hardware devices.
no setter
vpnProvider ChromeVpnProvider

Available on Chrome, provided by the ChromeVpnProviderExtension extension

Use the chrome.vpnProvider API to implement a VPN client.
no setter
wallpaper ChromeWallpaper

Available on Chrome, provided by the ChromeWallpaperExtension extension

Use the chrome.wallpaper API to change the ChromeOS wallpaper.
no setter
webAuthenticationProxy ChromeWebAuthenticationProxy

Available on Chrome, provided by the ChromeWebAuthenticationProxyExtension extension

The chrome.webAuthenticationProxy API lets remote desktop software running on a remote host intercept Web Authentication API (WebAuthn) requests in order to handle them on a local client.
no setter
webNavigation ChromeWebNavigation

Available on Chrome, provided by the ChromeWebNavigationExtension extension

Use the chrome.webNavigation API to receive notifications about the status of navigation requests in-flight.
no setter
webRequest ChromeWebRequest

Available on Chrome, provided by the ChromeWebRequestExtension extension

Use the chrome.webRequest API to observe and analyze traffic and to intercept, block, or modify requests in-flight.
no setter
windows ChromeWindows

Available on Chrome, provided by the ChromeWindowsExtension extension

Use the chrome.windows API to interact with browser windows. You can use this API to create, modify, and rearrange windows in the browser.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited