comparison dwt/browser/LocationListener.d @ 298:eec6ddb07873

More xpcom/mozilla port
author John Reimer<terminal.node@gmail.com>
date Sun, 10 Aug 2008 22:25:43 -0700
parents 93409d9838c5
children
comparison
equal deleted inserted replaced
297:2f204a4aebc6 298:eec6ddb07873
5 * which accompanies this distribution, and is available at 5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html 6 * http://www.eclipse.org/legal/epl-v10.html
7 * 7 *
8 * Contributors: 8 * Contributors:
9 * IBM Corporation - initial API and implementation 9 * IBM Corporation - initial API and implementation
10 * Port to the D programming language:
11 * John Reimer <terminal.node@gmail.com>
10 *******************************************************************************/ 12 *******************************************************************************/
11 module dwt.browser.LocationListener; 13 module dwt.browser.LocationListener;
12 14
13 import dwt.dwthelper.utils;
14
15 import dwt.internal.DWTEventListener; 15 import dwt.internal.DWTEventListener;
16 import dwt.browser.LocationEvent;
16 17
17 /** 18 /**
18 * This listener interface may be implemented in order to receive 19 * This listener interface may be implemented in order to receive
19 * a {@link LocationEvent} notification when a {@link Browser} 20 * a {@link LocationEvent} notification when a {@link Browser}
20 * navigates to a different URL. 21 * navigates to a different URL.
22 * @see Browser#addLocationListener(LocationListener) 23 * @see Browser#addLocationListener(LocationListener)
23 * @see Browser#removeLocationListener(LocationListener) 24 * @see Browser#removeLocationListener(LocationListener)
24 * 25 *
25 * @since 3.0 26 * @since 3.0
26 */ 27 */
27 public interface LocationListener extends DWTEventListener { 28 public interface LocationListener : DWTEventListener {
28 29
29 /** 30 /**
30 * This method is called when the current location is about to be changed. 31 * This method is called when the current location is about to be changed.
31 * <p> 32 * <p>
32 * 33 *