function clearSearch(callback) {
        var message = {
            'sender': 'popup',
            'target': 'content',
            'request': 'clearSearch',
            'data': { }
        };

        if (typeof callback === 'function')
            chrome.tabs.sendMessage(tabId, message, callback);
        else
            chrome.tabs.sendMessage(tabId, message);
    }
/**
     * Messages the content process to clear its search results.
     * @param {function} callback - Callback function for Chrome's sendMessage callback
     */
Messages the content process to clear its search results.
@param {function} callback - Callback function for Chrome's sendMessage callback
Messages the content process to clear its search results . @param { function } callback - Callback function for Chrome ' s sendMessage callback
function clearSearch(callback) {
        var message = {
            'sender': 'popup',
            'target': 'content',
            'request': 'clearSearch',
            'data': { }
        };
        if (typeof callback === 'function')
            chrome.tabs.sendMessage(tabId, message, callback);
        else
            chrome.tabs.sendMessage(tabId, message);
    }
function clearSearch ( callback ) { var message = { 'sender' : 'popup' , 'target' : 'content' , 'request' : 'clearSearch' , 'data' : { } } ; if ( typeof callback === 'function' ) chrome . tabs . sendMessage ( tabId , message , callback ) ; else chrome . tabs . sendMessage ( tabId , message ) ; }
Messages the content process to clear its search results.
Messages the content process to clear its search results .