Dart Documentationchrome.src.common_expChromeObject

ChromeObject class

The abstract superclass of objects that can hold JsObject proxies.

class ChromeObject {
 final dynamic jsProxy;

 /**
  * Create a new instance of a `ChromeObject`, which creates and delegates to
  * a JsObject proxy.
  */
 ChromeObject() : jsProxy = new JsObject(context['Object']);

 /**
  * Create a new instance of a `ChromeObject`, which delegates to the given
  * JsObject proxy.
  */
 ChromeObject.fromProxy(this.jsProxy);

 JsObject toJs() => jsProxy;

 String toString() => jsProxy.toString();
}

Subclasses

AccountInfo, AddRequestCookie, AddResponseCookie, AddResponseHeader, Alarm, AlarmCreateInfo, ArrayBuffer, AuthCredentialsWebRequest, BlockingResponse, BookmarkTreeNode, BookmarksCreateParams, BookmarksMoveParams, BookmarksUpdateParams, BooleanDelta, Bounds, BrowserActionGetBadgeBackgroundColorParams, BrowserActionGetBadgeTextParams, BrowserActionGetPopupParams, BrowserActionGetTitleParams, BrowserActionSetBadgeBackgroundColorParams, BrowserActionSetBadgeTextParams, BrowserActionSetIconParams, BrowserActionSetPopupParams, BrowserActionSetTitleParams, Button, Cache, CancelRequest, CaptureInfo, CaptureOptions, ChallengerWebRequest, ChannelIdResult, ChromeEvent, ChromeSetting, ColorArray, Command, ContentSetting, ContentSettingsClearParams, ContentSettingsGetParams, ContentSettingsSetParams, ContextMenusCreateParams, ContextMenusUpdateParams, Cookie, CookieStore, CookiesGetAllParams, CookiesGetParams, CookiesRemoveParams, CookiesSetParams, Coordinates, CpuInfo, CrDirectoryReader, CrEntry, CrFileSystem, CrMetadata, DataTypeSet, Debuggee, DefaultSuggestResult, DesktopCaptureSourceType, Device, DevtoolsInspectedWindowReloadParams, DownloadDelta, DownloadItem, DownloadOptions, DownloadQuery, EditRequestCookie, EditResponseCookie, ElementsPanel, ExtensionGetViewsParams, ExtensionInfo, ExtensionPanel, ExtensionSidebarPane, FileBrowserHandlerSelectFileParams, FileHandlerExecuteEventDetails, FilenameSuggestion, Filter, FilterResponseCookie, FontName, FontSettingsClearDefaultFixedFontSizeParams, FontSettingsClearDefaultFontSizeParams, FontSettingsClearFontParams, FontSettingsClearMinimumFontSizeParams, FontSettingsGetDefaultFixedFontSizeParams, FontSettingsGetDefaultFontSizeParams, FontSettingsGetFontParams, FontSettingsGetMinimumFontSizeParams, FontSettingsSetDefaultFixedFontSizeParams, FontSettingsSetDefaultFontSizeParams, FontSettingsSetFontParams, FontSettingsSetMinimumFontSizeParams, GenericFamily, GetFileIconOptions, HeaderFilter, HeaderNameValuePair, HistoryAddUrlParams, HistoryDeleteRangeParams, HistoryDeleteUrlParams, HistoryGetVisitsParams, HistoryItem, HistorySearchParams, HttpHeaders, IconInfo, IgnoreRules, ImageDataType, InfobarsShowParams, InjectDetails, InputContext, InputImeClearCompositionParams, InputImeCommitTextParams, InputImeDeleteSurroundingTextParams, InputImeSetCandidateWindowPropertiesParams, InputImeSetCandidatesParams, InputImeSetCompositionParams, InputImeSetCursorPositionParams, InputImeSetMenuItemsParams, InputImeUpdateMenuItemsParams, InvalidTokenDetails, KeyboardEvent, LastErrorExtension, LastErrorRuntime, LevelOfControl, LocalMediaStream, Location, LongDelta, ManagementUninstallParams, ManagementUninstallSelfParams, MediaStreamConstraint, MemoryInfo, MenuItem, Message, MessageSender, MostVisitedURL, NetworkPrivacy, NotificationBitmap, NotificationButton, NotificationItem, NotificationOptions, OnClickData, OriginTypesBrowsingData, PacScript, PageActionGetPopupParams, PageActionGetTitleParams, PageActionSetIconParams, PageActionSetPopupParams, PageActionSetTitleParams, PageCaptureSaveAsMHTMLParams, PageStateMatcher, Permissions, Port, Process, PropertiesInputIme, ProxyConfig, ProxyRules, ProxyServer, RedirectByRegEx, RedirectRequest, RedirectToEmptyDocument, RedirectToTransparentImage, RemovalOptions, RemoveRequestCookie, RemoveRequestHeader, RemoveResponseCookie, RemoveResponseHeader, Request, RequestBodyWebRequest, RequestCookie, RequestFilter, RequestMatcher, Resource, ResourceIdentifier, ResponseCookie, Rule, RuntimeConnectParams, RuntimeSendMessageParams, ScriptBadgeGetAttentionParams, ScriptBadgeGetPopupParams, ScriptBadgeSetPopupParams, ScriptCode, SendMessageToExtension, ServicesPrivacy, Session, SetRequestHeader, ShowPageAction, StorageArea, StorageAvailableCapacityInfo, StorageChange, StorageUnitInfo, StringDelta, SuggestResult, Tab, TabsCaptureVisibleTabParams, TabsConnectParams, TabsCreateParams, TabsHighlightParams, TabsMoveParams, TabsQueryParams, TabsReloadParams, TabsUpdateParams, TargetInfo, TokenDetails, TtsEvent, TtsSpeakParams, TtsVoice, TypesClearParams, TypesGetParams, TypesSetParams, UploadData, UrlFilter, UsageInputIme, VisitItem, WatchLocationRequestInfo, WebAuthFlowDetails, WebNavigationGetAllFramesParams, WebNavigationGetFrameParams, WebsitesPrivacy, Window, WindowsCreateParams, WindowsGetAllParams, WindowsGetCurrentParams, WindowsGetLastFocusedParams, WindowsGetParams, WindowsUpdateParams

Constructors

new ChromeObject() #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

ChromeObject() : jsProxy = new JsObject(context['Object']);

new ChromeObject.fromProxy(jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

ChromeObject.fromProxy(this.jsProxy);

Properties

final jsProxy #

final dynamic jsProxy

Methods

JsObject toJs() #

JsObject toJs() => jsProxy;

String toString() #

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();