diff dwt/browser/OpenWindowListener.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/OpenWindowListener.d	Fri Jan 16 12:19:08 2009 +0100
+++ b/dwt/browser/OpenWindowListener.d	Fri Jan 16 12:49:08 2009 +0100
@@ -7,15 +7,13 @@
  *
  * 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.OpenWindowListener;
 
+import dwt.internal.DWTEventListener;
 import dwt.browser.WindowEvent;
-import dwt.dwthelper.utils;
-import dwt.internal.DWTEventListener;
 
 /** 
  * This listener interface may be implemented in order to receive
@@ -31,35 +29,35 @@
  */
 public interface OpenWindowListener : DWTEventListener {
 
-    /**
-     * This method is called when a new window needs to be created.
-     * <p>
-     * A particular <code>Browser</code> can be passed to the event.browser
-     * field to host the content of a new window.
-     * <p>
-     * A standalone system browser is used to host the new window
-     * if the event.required field value is false and if the event.browser 
-     * field is left <code>null</code>. The event.required field
-     * is true on platforms that don't support a standalone system browser for
-     * new window requests. 
-     * <p>
-     * The navigation is cancelled if the event.required field is set to
-     * true and the event.browser field is left <code>null</code>.
-     * <p>
-     * <p>The following fields in the <code>WindowEvent</code> apply:
-     * <ul>
-     * <li>(in/out) required true if the platform requires the user to provide a
-     * <code>Browser</code> to handle the new window or false otherwise.
-     * <li>(out) browser the new <code>Browser</code> that will host the 
-     * content of the new window.
-     * <li>(in) widget the <code>Browser</code> that is requesting to open a 
-     * new window
-     * </ul>
-     * 
-     * @param event the <code>WindowEvent</code> that needs to be passed a new
-     * <code>Browser</code> to handle the new window request
-     * 
-     * @since 3.0
-     */
-    public void open (WindowEvent event);
+/**
+ * This method is called when a new window needs to be created.
+ * <p>
+ * A particular <code>Browser</code> can be passed to the event.browser
+ * field to host the content of a new window.
+ * <p>
+ * A standalone system browser is used to host the new window
+ * if the event.required field value is false and if the event.browser 
+ * field is left <code>null</code>. The event.required field
+ * is true on platforms that don't support a standalone system browser for
+ * new window requests. 
+ * <p>
+ * The navigation is cancelled if the event.required field is set to
+ * true and the event.browser field is left <code>null</code>.
+ * <p>
+ * <p>The following fields in the <code>WindowEvent</code> apply:
+ * <ul>
+ * <li>(in/out) required true if the platform requires the user to provide a
+ * <code>Browser</code> to handle the new window or false otherwise.
+ * <li>(out) browser the new <code>Browser</code> that will host the 
+ * content of the new window.
+ * <li>(in) widget the <code>Browser</code> that is requesting to open a 
+ * new window
+ * </ul>
+ * 
+ * @param event the <code>WindowEvent</code> that needs to be passed a new
+ * <code>Browser</code> to handle the new window request
+ * 
+ * @since 3.0
+ */ 
+public void open(WindowEvent event);
 }