diff dwt/browser/ProgressListener.d @ 125:5583f8eeee6c

Synced mozilla with dwt-linux
author Jacob Carlborg <doob@me.com>
date Fri, 16 Jan 2009 12:49:08 +0100
parents d8635bb48c7c
children
line wrap: on
line diff
--- a/dwt/browser/ProgressListener.d	Fri Jan 16 12:19:08 2009 +0100
+++ b/dwt/browser/ProgressListener.d	Fri Jan 16 12:49:08 2009 +0100
@@ -7,14 +7,12 @@
  *
  * Contributors:
  *     IBM Corporation - initial API and implementation
- *     
  * Port to the D programming language:
- *     Jacob Carlborg <doob@me.com>
+ *      John Reimer <terminal.node@gmail.com>
  *******************************************************************************/
 module dwt.browser.ProgressListener;
 
 import dwt.browser.ProgressEvent;
-import dwt.dwthelper.utils;
 import dwt.internal.DWTEventListener;
 
 /**
@@ -30,39 +28,39 @@
  * @since 3.0
  */
 public interface ProgressListener : DWTEventListener {
-
-    /**
-     * This method is called when a progress is made during the loading of the 
-     * current location.
-     * <p>
-     *
-     * <p>The following fields in the <code>ProgressEvent</code> apply:
-     * <ul>
-     * <li>(in) current the progress for the location currently being loaded
-     * <li>(in) total the maximum progress for the location currently being loaded
-     * <li>(in) widget the <code>Browser</code> whose current URL is being loaded
-     * </ul>
-     * 
-     * @param event the <code>ProgressEvent</code> related to the loading of the
-     * current location of a <code>Browser</code>
-     * 
-     * @since 3.0
-     */
-    public void changed (ProgressEvent event);
-
-    /**
-     * This method is called when the current location has been completely loaded.
-     * <p>
-     *
-     * <p>The following fields in the <code>ProgressEvent</code> apply:
-     * <ul>
-     * <li>(in) widget the <code>Browser</code> whose current URL has been loaded
-     * </ul>
-     * 
-     * @param event the <code>ProgressEvent</code> related to the <code>Browser</code>
-     * that has loaded its current URL.
-     * 
-     * @since 3.0
-     */
-    public void completed (ProgressEvent event);
+    
+/**
+ * This method is called when a progress is made during the loading of the 
+ * current location.
+ * <p>
+ *
+ * <p>The following fields in the <code>ProgressEvent</code> apply:
+ * <ul>
+ * <li>(in) current the progress for the location currently being loaded
+ * <li>(in) total the maximum progress for the location currently being loaded
+ * <li>(in) widget the <code>Browser</code> whose current URL is being loaded
+ * </ul>
+ * 
+ * @param event the <code>ProgressEvent</code> related to the loading of the
+ * current location of a <code>Browser</code>
+ * 
+ * @since 3.0
+ */   
+public void changed(ProgressEvent event);
+    
+/**
+ * This method is called when the current location has been completely loaded.
+ * <p>
+ *
+ * <p>The following fields in the <code>ProgressEvent</code> apply:
+ * <ul>
+ * <li>(in) widget the <code>Browser</code> whose current URL has been loaded
+ * </ul>
+ * 
+ * @param event the <code>ProgressEvent</code> related to the <code>Browser</code>
+ * that has loaded its current URL.
+ * 
+ * @since 3.0
+ */
+public void completed(ProgressEvent event);
 }