function LauncherSearch() {
  // Launcher search provider is restricted to dev channel at now.
  if (!chrome.launcherSearchProvider)
    return;

  /**
   * Active query id. This value is set null when there is no active query.
   * @private {?number}
   */
  this.queryId_ = null;

  /**
   * True if this feature is enabled.
   * @private {boolean}
   */
  this.enabled_ = false;

  /**
   * @private {function(number, string, number)}
   */
  this.onQueryStartedBound_ = this.onQueryStarted_.bind(this);

  /**
   * @private {function(number)}
   */
  this.onQueryEndedBound_ = this.onQueryEnded_.bind(this);

  /**
   * @private {function(string)}
   */
  this.onOpenResultBound_ = this.onOpenResult_.bind(this);

  // This feature is disabled when drive is disabled.
  chrome.fileManagerPrivate.onPreferencesChanged.addListener(
      this.onPreferencesChanged_.bind(this));
  this.onPreferencesChanged_();
}
/**
 * Provides drive search results to chrome launcher.
 * @constructor
 * @struct
 */
Provides drive search results to chrome launcher.
@constructor
@struct
Provides drive search results to chrome launcher . @constructor @struct
function LauncherSearch() {
  if (!chrome.launcherSearchProvider)
    return;
  this.queryId_ = null;
  this.enabled_ = false;
  this.onQueryStartedBound_ = this.onQueryStarted_.bind(this);
  this.onQueryEndedBound_ = this.onQueryEnded_.bind(this);
  this.onOpenResultBound_ = this.onOpenResult_.bind(this);
  chrome.fileManagerPrivate.onPreferencesChanged.addListener(
      this.onPreferencesChanged_.bind(this));
  this.onPreferencesChanged_();
}
function LauncherSearch ( ) { if ( ! chrome . launcherSearchProvider ) return ; this . queryId_ = null ; this . enabled_ = false ; this . onQueryStartedBound_ = this . onQueryStarted_ . bind ( this ) ; this . onQueryEndedBound_ = this . onQueryEnded_ . bind ( this ) ; this . onOpenResultBound_ = this . onOpenResult_ . bind ( this ) ; chrome . fileManagerPrivate . onPreferencesChanged . addListener ( this . onPreferencesChanged_ . bind ( this ) ) ; this . onPreferencesChanged_ ( ) ; }
Provides drive search results to chrome launcher.
Provides drive search results to chrome launcher .
// Launcher search provider is restricted to dev channel at now. /**
   * Active query id. This value is set null when there is no active query.
   * @private {?number}
   */ /**
   * True if this feature is enabled.
   * @private {boolean}
   */ /**
   * @private {function(number, string, number)}
   */ /**
   * @private {function(number)}
   */ /**
   * @private {function(string)}
   */ // This feature is disabled when drive is disabled.