while (!getWidget().collapseRequest
&& !getWidget().focusParentResponsePending
&& !getWidget().pendingNavigationEvents.isEmpty()) {
// Keep replaying any queued events as long as we don't have any
// potential content changes pending
PendingNavigationEvent event = getWidget().pendingNavigationEvents
.removeFirst();
getWidget()
.handleNavigation(event.keycode, event.ctrl, event.shift);
}
getWidget().rendering = false;