/** Reinflates and updates all components of this view. */
  public void refresh() {
    if (mTopSitesAdapter != null) mTopSitesAdapter.notifyDataSetChanged();

    removeAllViews(); // We must remove the currently inflated view to allow for reinflation.
    inflate();
    mTopSitesGrid.setAdapter(
        mTopSitesAdapter); // mTopSitesGrid is a new instance (from loadTopSites()).
    update(AboutHomeContent.UpdateFlags.ALL); // Refresh all elements.
  }