protected override void OnStatusMessage(CefBrowser browser, string value, CefHandlerStatusType type)
        {
            #if DIAGNOSTICS
            Cef.Logger.Trace(LogTarget.CefDisplayHandler, "OnStatusMessage: Type=[{0}] Value=[{1}]", type, value);
            #endif

            /*
            // TODO: popups support...

            if (value.Length == 0)
            {
                this.statusMessages.Remove(type);
                GetMostImportantStatusMessage(this.statusMessages, out type, out value);
            }
            else
            {
                this.statusMessages[type] = value;
            }

            this.context.PostStatusMessage(new StatusMessageEventArgs(type, value ?? ""));
            */
        }
Пример #2
0
        protected override void OnStatusMessage(CefBrowser browser, string value, CefHandlerStatusType type)
        {
#if DIAGNOSTICS
            Cef.Logger.Trace(LogTarget.CefDisplayHandler, "OnStatusMessage: Type=[{0}] Value=[{1}]", type, value);
#endif

            /*
             * // TODO: popups support...
             *
             * if (value.Length == 0)
             * {
             *  this.statusMessages.Remove(type);
             *  GetMostImportantStatusMessage(this.statusMessages, out type, out value);
             * }
             * else
             * {
             *  this.statusMessages[type] = value;
             * }
             *
             * this.context.PostStatusMessage(new StatusMessageEventArgs(type, value ?? ""));
             */
        }
 public StatusMessageEventArgs(CefHandlerStatusType type, string value)
 {
     this.type = type;
     this.value = value;
 }
Пример #4
0
 public StatusMessageEventArgs(CefHandlerStatusType type, string value)
 {
     this.type  = type;
     this.value = value;
 }
 /// <summary>
 /// Called when the browser receives a status message.
 /// |text| contains the text that will be displayed in the status message and |type| indicates the status message type.
 /// </summary>
 protected virtual void OnStatusMessage(CefBrowser browser, string value, CefHandlerStatusType type)
 {
 }
Пример #6
0
 /// <summary>
 /// Called when the browser receives a status message.
 /// |text| contains the text that will be displayed in the status message and |type| indicates the status message type.
 /// </summary>
 protected virtual void OnStatusMessage(CefBrowser browser, string value, CefHandlerStatusType type)
 {
 }