function _setViewState(file, viewState) {
        _viewStateCache[file.fullPath] = viewState;
    }
Sets the view state for the specfied file
@param {!File} file - the file to record the view state for
@param {?*} viewState - any data that the view needs to restore the view state.