@Override
        protected InputMethodRequests getDelegate() {
          if (searchFieldShown || mySpeedSearchAlwaysShown) {
            return mySpeedSearchPatternField.getTextEditor().getInputMethodRequests();
          } else {
            return null;
          }
        }
@Override
        protected InputMethodRequests getDelegate()