webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
API::UserScript Class Referencefinal

#include <APIUserScript.h>

Inheritance diagram for API::UserScript:
API::ObjectImpl< Object::Type::UserScript > API::Object

Public Member Functions

 UserScript (WebCore::UserScript, API::UserContentWorld &)
 
uint64_t identifier () const
 
const WebCore::UserScriptuserScript () const
 
UserContentWorlduserContentWorld ()
 
const UserContentWorlduserContentWorld () const
 
- Public Member Functions inherited from API::ObjectImpl< Object::Type::UserScript >
virtual ~ObjectImpl ()
 
- Public Member Functions inherited from API::Object
virtual ~Object ()
 

Static Public Member Functions

static WebCore::URL generateUniqueURL ()
 
static Ref< UserScriptcreate (WebCore::UserScript userScript, API::UserContentWorld &world)
 
- Static Public Member Functions inherited from API::Object
static voidwrap (API::Object *)
 
static API::Objectunwrap (void *)
 

Additional Inherited Members

- Public Types inherited from API::Object
enum  Type {
  Type::Null = 0, Type::Array, Type::AuthenticationChallenge, Type::AuthenticationDecisionListener,
  Type::CertificateInfo, Type::Connection, Type::ContextMenuItem, Type::Credential,
  Type::Data, Type::Dictionary, Type::Error, Type::FrameHandle,
  Type::Image, Type::PageGroupData, Type::PageHandle, Type::PageGroupHandle,
  Type::ProtectionSpace, Type::RenderLayer, Type::RenderObject, Type::SecurityOrigin,
  Type::SessionState, Type::SerializedScriptValue, Type::String, Type::URL,
  Type::URLRequest, Type::URLResponse, Type::UserContentURLPattern, Type::UserScript,
  Type::UserStyleSheet, Type::WebArchive, Type::WebArchiveResource, Type::Boolean,
  Type::Double, Type::UInt64, Type::Point, Type::Size,
  Type::Rect, Type::ApplicationCacheManager, Type::AutomationSession, Type::BackForwardList,
  Type::BackForwardListItem, Type::CacheManager, Type::ColorPickerResultListener, Type::ContextMenuListener,
  Type::CookieManager, Type::Download, Type::ExperimentalFeature, Type::FormSubmissionListener,
  Type::Frame, Type::FrameInfo, Type::FramePolicyListener, Type::FullScreenManager,
  Type::GeolocationManager, Type::GeolocationPermissionRequest, Type::HitTestResult, Type::GeolocationPosition,
  Type::GrammarDetail, Type::IconDatabase, Type::Inspector, Type::KeyValueStorageManager,
  Type::MediaCacheManager, Type::Navigation, Type::NavigationAction, Type::NavigationData,
  Type::NavigationResponse, Type::Notification, Type::NotificationManager, Type::NotificationPermissionRequest,
  Type::OpenPanelParameters, Type::OpenPanelResultListener, Type::OriginDataManager, Type::Page,
  Type::PageConfiguration, Type::PageGroup, Type::ProcessPool, Type::ProcessPoolConfiguration,
  Type::PluginSiteDataManager, Type::Preferences, Type::ResourceLoadStatisticsStore, Type::RunBeforeUnloadConfirmPanelResultListener,
  Type::RunJavaScriptAlertResultListener, Type::RunJavaScriptConfirmResultListener, Type::RunJavaScriptPromptResultListener, Type::TextChecker,
  Type::UserContentController, Type::UserContentExtension, Type::UserContentExtensionStore, Type::UserContentWorld,
  Type::UserInitiatedAction, Type::UserMediaPermissionCheck, Type::UserMediaPermissionRequest, Type::Vibration,
  Type::ViewportAttributes, Type::VisitedLinkStore, Type::WebResourceLoadStatisticsManager, Type::WebsiteDataRecord,
  Type::WebsiteDataStore, Type::WebsitePolicies, Type::WindowFeatures, Type::Bundle,
  Type::BundleBackForwardList, Type::BundleBackForwardListItem, Type::BundleCSSStyleDeclarationHandle, Type::BundleDOMWindowExtension,
  Type::BundleFileHandle, Type::BundleFrame, Type::BundleHitTestResult, Type::BundleInspector,
  Type::BundleNavigationAction, Type::BundleNodeHandle, Type::BundlePage, Type::BundlePageBanner,
  Type::BundlePageGroup, Type::BundlePageOverlay, Type::BundleRangeHandle, Type::BundleScriptWorld,
  Type::EditCommandProxy, Type::ObjCObjectGraph, Type::View
}
 
- Static Public Attributes inherited from API::ObjectImpl< Object::Type::UserScript >
static const Type APIType
 
- Protected Member Functions inherited from API::ObjectImpl< Object::Type::UserScript >
 ObjectImpl ()
 
Type type () const override
 
- Protected Member Functions inherited from API::Object
 Object ()
 

Constructor & Destructor Documentation

◆ UserScript()

API::UserScript::UserScript ( WebCore::UserScript  userScript,
API::UserContentWorld world 
)

Member Function Documentation

◆ create()

static Ref<UserScript> API::UserScript::create ( WebCore::UserScript  userScript,
API::UserContentWorld world 
)
inlinestatic

◆ generateUniqueURL()

WebCore::URL API::UserScript::generateUniqueURL ( )
static

◆ identifier()

uint64_t API::UserScript::identifier ( ) const
inline

◆ userContentWorld() [1/2]

UserContentWorld& API::UserScript::userContentWorld ( )
inline

◆ userContentWorld() [2/2]

const UserContentWorld& API::UserScript::userContentWorld ( ) const
inline

◆ userScript()

const WebCore::UserScript& API::UserScript::userScript ( ) const
inline

The documentation for this class was generated from the following files: