You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: ZoomBestFit.m
    path of file: ./repos/ImageM/ImageM/+imagem/+actions/+view
    
    the code of the file until where you have to start completion: classdef ZoomBestFit < imagem.actions.CurrentImageAction
% Set zoom of current image viewer to the best possible one.
%

    
function run(obj, frame) %#ok<INUSL,INUSD>
        
        % set up new zoom value
        zoom = findBestZoom(frame);
        setCurrentZoomLevel(frame, zoom);
        
        % update display
        updateTitle(frame);
    end