340341342343344345346347348349350
{ event.preventDefault(); event.stopPropagation(); if (event.getNativeKeyCode() == KeyCodes.KEY_ESCAPE) clearTerm(); contentWindow.focus(); } else { // prevent two enter keys in rapid succession from // minimizing or maximizing the help pane
589590591592593594595596597598599
@Override public void focus() { WindowEx contentWindow = getContentWindow(); if (contentWindow != null) contentWindow.focus(); } public HandlerRegistration addHelpNavigateHandler(HelpNavigateHandler handler) { return addHandler(handler, HelpNavigateEvent.TYPE) ;
112113114115116117118119120121122
// window.focus). for chrome we'll just fall through // and openSatelliteWindow will be called and the // window will be reloaded) if (!BrowseCap.isChrome()) { window.focus(); callNotifyReactivated(window, params); return; } else {
245246247248249250251252253254255
@Override public void print() { WindowEx window = previewFrame_.getWindow(); window.focus(); window.print(); } @Override public String getDocumentTitle()