| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" | 5 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" |
| 6 | 6 |
| 7 using content::WebContents; | 7 using content::WebContents; |
| 8 | 8 |
| 9 void TabStripModelObserver::TabInsertedAt(WebContents* contents, | 9 void TabStripModelObserver::TabInsertedAt(WebContents* contents, |
| 10 int index, | 10 int index, |
| 11 bool foreground) { | 11 bool foreground) { |
| 12 } | 12 } |
| 13 | 13 |
| 14 void TabStripModelObserver::TabClosingAt(TabStripModel* tab_strip_model, | 14 void TabStripModelObserver::TabClosingAt(TabStripModel* tab_strip_model, |
| 15 WebContents* contents, | 15 WebContents* contents, |
| 16 int index) { | 16 int index) { |
| 17 } | 17 } |
| 18 | 18 |
| 19 void TabStripModelObserver::TabDetachedAt(WebContents* contents, | 19 void TabStripModelObserver::TabDetachedAt(WebContents* contents, |
| 20 int index) { | 20 int index, |
| 21 bool closing_all) { |
| 21 } | 22 } |
| 22 | 23 |
| 23 void TabStripModelObserver::TabDeactivated(WebContents* contents) { | 24 void TabStripModelObserver::TabDeactivated(WebContents* contents) { |
| 24 } | 25 } |
| 25 | 26 |
| 26 void TabStripModelObserver::ActiveTabChanged(WebContents* old_contents, | 27 void TabStripModelObserver::ActiveTabChanged(WebContents* old_contents, |
| 27 WebContents* new_contents, | 28 WebContents* new_contents, |
| 28 int index, | 29 int index, |
| 29 int reason) { | 30 int reason) { |
| 30 } | 31 } |
| (...skipping 27 matching lines...) Expand all Loading... |
| 58 int index) { | 59 int index) { |
| 59 } | 60 } |
| 60 | 61 |
| 61 void TabStripModelObserver::TabBlockedStateChanged(WebContents* contents, | 62 void TabStripModelObserver::TabBlockedStateChanged(WebContents* contents, |
| 62 int index) { | 63 int index) { |
| 63 } | 64 } |
| 64 | 65 |
| 65 void TabStripModelObserver::TabStripEmpty() {} | 66 void TabStripModelObserver::TabStripEmpty() {} |
| 66 | 67 |
| 67 void TabStripModelObserver::TabStripModelDeleted() {} | 68 void TabStripModelObserver::TabStripModelDeleted() {} |
| OLD | NEW |