コード例 #1
0
        private void webNotificationObserver_OnNotify(IWebNotification notification)
        {
            switch (notification.name())
            {
            case "WebProgressStartedNotification":
                EventArgs started_args = new EventArgs();
                ProgressStarted(this, started_args);
                break;

            case "WebProgressFinishedNotification":
                EventArgs finished_args = new EventArgs();
                ProgressFinished(this, finished_args);
                break;

            case "WebProgressEstimateChangedNotification":
                ProgressChangedEventArgs changed_args = new ProgressChangedEventArgs((int)(webView.estimatedProgress() * 100), null);
                ProgressChanged(this, changed_args);
                break;

            default:
                break;
            }
        }
コード例 #2
0
 public void onNotify(IWebNotification notification)
 {
     OnNotify(notification);
 }
コード例 #3
0
ファイル: WebKitBrowser.cs プロジェクト: vebin/webkit2.net
 void progs_OnNotify(IWebNotification notification)
 {
     ProgressChanged(this, new ProgressChangesEventArgs(0.0));
 }
コード例 #4
0
ファイル: WebKitBrowser.cs プロジェクト: vebin/webkit2.net
 void observer_OnNotify(IWebNotification notification)
 {
     WebKit.ProgressChangesEventArgs args = new ProgressChangesEventArgs((int)(webView.estimatedProgress() * 100));
     ProgressChanged(this, args);
 }
コード例 #5
0
 public void onNotify(IWebNotification notification)
 {
     OnNotify(notification);
 }
コード例 #6
0
 private void webNotificationObserver_OnNotify(IWebNotification notification)
 {
     switch (notification.name())
     {
         case "WebProgressStartedNotification":
             EventArgs started_args = new EventArgs();
             ProgressStarted(this, started_args);
             break;
         case "WebProgressFinishedNotification":
             EventArgs finished_args = new EventArgs();
             ProgressFinished(this, finished_args);
             break;
         case "WebProgressEstimateChangedNotification":
             ProgressChangedEventArgs changed_args = new ProgressChangedEventArgs((int)(webView.estimatedProgress() * 100), null);
             ProgressChanged(this, changed_args);
             break;
         default:
             break;
     }
 }
コード例 #7
0
 public void webViewDidChangeTypingStyle(IWebNotification notification)
 {
     throw new NotImplementedException();
 }
コード例 #8
0
 public void webViewDidEndEditing(IWebNotification notification)
 {
     throw new NotImplementedException();
 }
コード例 #9
0
 public void Send(IWebNotification notification)
 {
     _factory.GetHandler <IWebNotification>().Handle(notification);
 }
コード例 #10
0
 public void webViewDidChangeSelection(IWebNotification notification)
 {
     throw new NotImplementedException();
 }
コード例 #11
0
 public SimulatedLongRunningJob(IWebNotification <SendTaskStatusMessage> notification)
 {
     _notification = notification;
 }
コード例 #12
0
 public void webViewDidEndEditing(IWebNotification notification)
 {
     throw new NotImplementedException();
 }
コード例 #13
0
 public void webViewDidChangeTypingStyle(IWebNotification notification)
 {
     throw new NotImplementedException();
 }
コード例 #14
0
 public void webViewDidChangeSelection(IWebNotification notification)
 {
     throw new NotImplementedException();
 }
コード例 #15
0
 public SimulatedLongRunningJob(IWebNotification notification)
 {
     _notification = notification;
 }