コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 public void SubscribeToLayerPaintedEvent(Action <LayerPaintedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #2
0
 /// <summary>
 /// Informs that port was successfully bound and got a specified connection id.
 /// </summary>
 public void SubscribeToAcceptedEvent(Action <AcceptedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #3
0
 /// <summary>
 /// Called when the recording state for the service has been updated.
 /// </summary>
 public void SubscribeToRecordingStateChangedEvent(Action <RecordingStateChangedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #4
0
 /// <summary>
 ///
 /// </summary>
 public void SubscribeToBufferUsageEvent(Action <BufferUsageEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #5
0
 /// <summary>
 /// Fired when breakpoint is resolved to an actual script and location.
 /// </summary>
 public void SubscribeToBreakpointResolvedEvent(Action <BreakpointResolvedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #6
0
 /// <summary>
 /// Current values of the metrics.
 /// </summary>
 public void SubscribeToMetricsEvent(Action <MetricsEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #7
0
 /// <summary>
 /// Notifies that a new BaseAudioContext has been created.
 /// </summary>
 public void SubscribeToContextCreatedEvent(Action <ContextCreatedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #8
0
 /// <summary>
 /// Fired when the node should be inspected. This happens after call to `setInspectMode` or when
 /// user manually inspects an element.
 /// </summary>
 public void SubscribeToInspectNodeRequestedEvent(Action <InspectNodeRequestedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #9
0
 /// <summary>
 /// Notification sent after the virtual time has advanced.
 /// </summary>
 public void SubscribeToVirtualTimeAdvancedEvent(Action <VirtualTimeAdvancedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #10
0
 /// <summary>
 /// Fired when `Element`'s attribute is modified.
 /// </summary>
 public void SubscribeToAttributeModifiedEvent(Action <AttributeModifiedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #11
0
 /// <summary>
 ///
 /// </summary>
 public void SubscribeToConsoleProfileFinishedEvent(Action <ConsoleProfileFinishedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #12
0
 /// <summary>
 ///
 /// </summary>
 public void SubscribeToWorkerRegistrationUpdatedEvent(Action <WorkerRegistrationUpdatedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #13
0
 /// <summary>
 /// Issued when new message was logged.
 /// </summary>
 public void SubscribeToEntryAddedEvent(Action <EntryAddedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #14
0
 /// <summary>
 /// Issued when attached to target because of auto-attach or `attachToTarget` command.
 /// </summary>
 public void SubscribeToAttachedToTargetEvent(Action <AttachedToTargetEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #15
0
 /// <summary>
 /// Event for each animation that has been created.
 /// </summary>
 public void SubscribeToAnimationCreatedEvent(Action <AnimationCreatedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #16
0
 /// <summary>
 /// Issued when new console message is added.
 /// </summary>
 public void SubscribeToMessageAddedEvent(Action <MessageAddedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #17
0
ファイル: SecurityAdapter.cs プロジェクト: hello-web/skrapr
 /// <summary>
 /// The security state of the page changed.
 /// </summary>
 public void SubscribeToSecurityStateChangedEvent(Action <SecurityStateChangedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #18
0
 /// <summary>
 ///
 /// </summary>
 public void SubscribeToWorkerErrorReportedEvent(Action <WorkerErrorReportedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #19
0
 /// <summary>
 /// Fires whenever a MediaQuery result changes (for example, after a browser window has been resized.) The current implementation considers only viewport-dependent media features.
 /// </summary>
 public void SubscribeToMediaQueryResultChangedEvent(Action <MediaQueryResultChangedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #20
0
 /// <summary>
 /// Issued when a possible inspection target is created.
 /// </summary>
 public void SubscribeToTargetCreatedEvent(Action <TargetCreatedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #21
0
ファイル: TracingAdapter.cs プロジェクト: hello-web/skrapr
 /// <summary>
 /// Contains an bucket of collected trace events. When tracing is stopped collected events will be send as a sequence of dataCollected events followed by tracingComplete event.
 /// </summary>
 public void SubscribeToDataCollectedEvent(Action <DataCollectedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #22
0
ファイル: EmulationAdapter.cs プロジェクト: hello-web/skrapr
 /// <summary>
 /// Notification sent after the virual time budget for the current VirtualTimePolicy has run out.
 /// </summary>
 public void SubscribeToVirtualTimeBudgetExpiredEvent(Action <VirtualTimeBudgetExpiredEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #23
0
 /// <summary>
 ///
 /// </summary>
 public void SubscribeToDomStorageItemsClearedEvent(Action <DomStorageItemsClearedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #24
0
 /// <summary>
 /// Issued when the target starts or stops needing BeginFrames.
 /// </summary>
 public void SubscribeToNeedsBeginFramesChangedEvent(Action <NeedsBeginFramesChangedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #25
0
ファイル: PageAdapter.cs プロジェクト: hello-web/skrapr
 /// <summary>
 ///
 /// </summary>
 public void SubscribeToDomContentEventFiredEvent(Action <DomContentEventFiredEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #26
0
        /// <summary>
        /// There is a certificate error. If overriding certificate errors is enabled, then it should be

        ///         /// handled with the handleCertificateError command. Note: this event does not fire if the

        ///         /// certificate error has been allowed internally. Only one client per target should override

        ///         /// certificate errors at the same time.
        /// </summary>
        public void SubscribeToCertificateErrorEvent(Action <CertificateErrorEvent> eventCallback)
        {
            m_session.Subscribe(eventCallback);
        }
コード例 #27
0
 /// <summary>
 /// addHeapSnapshotChunk
 /// </summary>
 public void SubscribeToAddHeapSnapshotChunkEvent(Action <AddHeapSnapshotChunkEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #28
0
 /// <summary>
 ///
 /// </summary>
 public void SubscribeToApplicationCacheStatusUpdatedEvent(Action <ApplicationCacheStatusUpdatedEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #29
0
ファイル: DatabaseAdapter.cs プロジェクト: hello-web/skrapr
 /// <summary>
 ///
 /// </summary>
 public void SubscribeToAddDatabaseEvent(Action <AddDatabaseEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }
コード例 #30
0
ファイル: NetworkAdapter.cs プロジェクト: hello-web/skrapr
 /// <summary>
 /// Fired when resource loading priority is changed
 /// </summary>
 public void SubscribeToResourceChangedPriorityEvent(Action <ResourceChangedPriorityEvent> eventCallback)
 {
     m_session.Subscribe(eventCallback);
 }