1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
7 using content::WebContents;
9 void TabStripModelObserver::TabInsertedAt(WebContents* contents,
14 void TabStripModelObserver::TabClosingAt(TabStripModel* tab_strip_model,
15 WebContents* contents,
19 void TabStripModelObserver::TabDetachedAt(WebContents* contents,
23 void TabStripModelObserver::TabDeactivated(WebContents* contents) {
26 void TabStripModelObserver::ActiveTabChanged(WebContents* old_contents,
27 WebContents* new_contents,
32 void TabStripModelObserver::TabSelectionChanged(
33 TabStripModel* tab_strip_model,
34 const ui::ListSelectionModel& model) {
37 void TabStripModelObserver::TabMoved(WebContents* contents,
42 void TabStripModelObserver::TabChangedAt(WebContents* contents,
44 TabChangeType change_type) {
47 void TabStripModelObserver::TabReplacedAt(TabStripModel* tab_strip_model,
48 WebContents* old_contents,
49 WebContents* new_contents,
53 void TabStripModelObserver::TabPinnedStateChanged(WebContents* contents,
57 void TabStripModelObserver::TabMiniStateChanged(WebContents* contents,
61 void TabStripModelObserver::TabBlockedStateChanged(WebContents* contents,
65 void TabStripModelObserver::TabStripEmpty() {}
67 void TabStripModelObserver::TabStripModelDeleted() {}