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
AutomationMouseEventProcessor::AutomationMouseEventProcessor(
    RenderViewHost* render_view_host,
    const AutomationMouseEvent& event,
    const CompletionCallback& completion_callback,
    const ErrorCallback& error_callback)
    : RenderViewHostObserver(render_view_host),
      completion_callback_(completion_callback),
      error_callback_(error_callback),
      has_point_(false) {
  registrar_.Add(this, chrome::NOTIFICATION_APP_MODAL_DIALOG_SHOWN,
                 content::NotificationService::AllSources());
  Send(new AutomationMsg_ProcessMouseEvent(routing_id(), event));
}

AutomationMouseEventProcessor::AutomationMouseEventProcessor(
    RenderViewHost* render_view_host,
    const AutomationMouseEvent& event,
    const CompletionCallback& completion_callback,
    const ErrorCallback& error_callback)
    : RenderViewHostObserver(render_view_host),
      completion_callback_(completion_callback),
      error_callback_(error_callback),
      has_point_(false) {
  registrar_.Add(this, chrome::NOTIFICATION_APP_MODAL_DIALOG_SHOWN,
                 content::NotificationService::AllSources());
  Send(new AutomationMsg_ProcessMouseEvent(routing_id(), event));
}
