Remove TabContents from TabStripModelObserver::TabDetachedAt.

BUG=107201
TEST=no visible change


Review URL: https://chromiumcodereview.appspot.com/11293205

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167122 0039d316-1c4b-4281-b951-d872f2087c98
void BrowserWindowGtk::OnPreferenceChanged(PrefServiceBase* service,
                                           const std::string& pref_name) {
  if (pref_name == prefs::kUseCustomChromeFrame) {
    UpdateCustomFrame();
    ui::SetHideTitlebarWhenMaximizedProperty(
        ui::GetX11WindowFromGtkWidget(GTK_WIDGET(window_)),
        UseCustomFrame() ?
            ui::HIDE_TITLEBAR_WHEN_MAXIMIZED :
            ui::SHOW_TITLEBAR_WHEN_MAXIMIZED);
  } else {
    NOTREACHED() << "Got pref change notification we didn't register for!";
   }
 }

void BrowserWindowGtk::OnPreferenceChanged(PrefServiceBase* service,
                                           const std::string& pref_name) {
  if (pref_name == prefs::kUseCustomChromeFrame) {
    UpdateCustomFrame();
    ui::SetHideTitlebarWhenMaximizedProperty(
        ui::GetX11WindowFromGtkWidget(GTK_WIDGET(window_)),
        UseCustomFrame() ?
            ui::HIDE_TITLEBAR_WHEN_MAXIMIZED :
            ui::SHOW_TITLEBAR_WHEN_MAXIMIZED);
  } else {
    NOTREACHED() << "Got pref change notification we didn't register for!";
   }
 }
