Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / tabs / tab_strip_model_observer.cc
blob9fdf1a14b5d20015974710f6c13cbb1834541777
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,
10 int index,
11 bool foreground) {
14 void TabStripModelObserver::TabClosingAt(TabStripModel* tab_strip_model,
15 WebContents* contents,
16 int index) {
19 void TabStripModelObserver::TabDetachedAt(WebContents* contents,
20 int index) {
23 void TabStripModelObserver::TabDeactivated(WebContents* contents) {
26 void TabStripModelObserver::ActiveTabChanged(WebContents* old_contents,
27 WebContents* new_contents,
28 int index,
29 int reason) {
32 void TabStripModelObserver::TabSelectionChanged(
33 TabStripModel* tab_strip_model,
34 const ui::ListSelectionModel& model) {
37 void TabStripModelObserver::TabMoved(WebContents* contents,
38 int from_index,
39 int to_index) {
42 void TabStripModelObserver::TabChangedAt(WebContents* contents,
43 int index,
44 TabChangeType change_type) {
47 void TabStripModelObserver::TabReplacedAt(TabStripModel* tab_strip_model,
48 WebContents* old_contents,
49 WebContents* new_contents,
50 int index) {
53 void TabStripModelObserver::TabPinnedStateChanged(WebContents* contents,
54 int index) {
57 void TabStripModelObserver::TabBlockedStateChanged(WebContents* contents,
58 int index) {
61 void TabStripModelObserver::TabStripEmpty() {
64 void TabStripModelObserver::WillCloseAllTabs() {
67 void TabStripModelObserver::CloseAllTabsCanceled() {
70 void TabStripModelObserver::TabStripModelDeleted() {