| 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(TabStripModel* tab_strip_model, |
| 10 WebContents* contents, |
| 10 int index, | 11 int index, |
| 11 bool foreground) { | 12 bool foreground) { |
| 12 } | 13 } |
| 13 | 14 |
| 14 void TabStripModelObserver::TabClosingAt(TabStripModel* tab_strip_model, | 15 void TabStripModelObserver::TabClosingAt(TabStripModel* tab_strip_model, |
| 15 WebContents* contents, | 16 WebContents* contents, |
| 16 int index) { | 17 int index) { |
| 17 } | 18 } |
| 18 | 19 |
| 19 void TabStripModelObserver::TabDetachedAt(WebContents* contents, | 20 void TabStripModelObserver::TabDetachedAt(WebContents* contents, |
| (...skipping 23 matching lines...) Expand all Loading... |
| 43 int index, | 44 int index, |
| 44 TabChangeType change_type) { | 45 TabChangeType change_type) { |
| 45 } | 46 } |
| 46 | 47 |
| 47 void TabStripModelObserver::TabReplacedAt(TabStripModel* tab_strip_model, | 48 void TabStripModelObserver::TabReplacedAt(TabStripModel* tab_strip_model, |
| 48 WebContents* old_contents, | 49 WebContents* old_contents, |
| 49 WebContents* new_contents, | 50 WebContents* new_contents, |
| 50 int index) { | 51 int index) { |
| 51 } | 52 } |
| 52 | 53 |
| 53 void TabStripModelObserver::TabPinnedStateChanged(WebContents* contents, | 54 void TabStripModelObserver::TabPinnedStateChanged( |
| 54 int index) { | 55 TabStripModel* tab_strip_model, |
| 56 WebContents* contents, |
| 57 int index) { |
| 55 } | 58 } |
| 56 | 59 |
| 57 void TabStripModelObserver::TabBlockedStateChanged(WebContents* contents, | 60 void TabStripModelObserver::TabBlockedStateChanged(WebContents* contents, |
| 58 int index) { | 61 int index) { |
| 59 } | 62 } |
| 60 | 63 |
| 61 void TabStripModelObserver::TabStripEmpty() { | 64 void TabStripModelObserver::TabStripEmpty() { |
| 62 } | 65 } |
| 63 | 66 |
| 64 void TabStripModelObserver::WillCloseAllTabs() { | 67 void TabStripModelObserver::WillCloseAllTabs() { |
| 65 } | 68 } |
| 66 | 69 |
| 67 void TabStripModelObserver::CloseAllTabsCanceled() { | 70 void TabStripModelObserver::CloseAllTabsCanceled() { |
| 68 } | 71 } |
| OLD | NEW |