Bug 322000 [Browser] Creating an instance of the Internal Browser with the parameter of AS_VIEW does not use the name or tooltip parameters. It work fine with AS_EDITOR.
bundles/org.eclipse.ui.browser/src/org/eclipse/ui/internal/browser/WebBrowserView.java
listener = null;
	}
	/**
	 * Return true if the filename has a "web" extension.
	 * 
	 * @param name
	 * @return
	 */
	protected boolean isWebFile(String name) {
		return name.endsWith("html") || name.endsWith("htm") || name.endsWith("gif") || 
				name.endsWith("jpg"); 
	}
	/**
	 * Adds drag and drop support to the view.
	 */
	protected void initDragAndDrop() {
		Transfer[] transfers = new Transfer[] {
		
		
		FileTransfer.getInstance() };
		DropTarget dropTarget = new DropTarget(viewer, DND.DROP_COPY
				| DND.DROP_DEFAULT);
		dropTarget.setTransfer(transfers);
		dropTarget.addDropListener(new WebBrowserViewDropAdapter(viewer));
	}
	public void selectReveal(ISelection selection) {
		onSelectionChange(selection);
	}
}