| 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 #ifndef CHROME_BROWSER_EXTENSIONS_BROWSER_EVENT_ROUTER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_BROWSER_EVENT_ROUTER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_BROWSER_EVENT_ROUTER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_BROWSER_EVENT_ROUTER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 int index) OVERRIDE; | 48 int index) OVERRIDE; |
| 49 virtual void TabDetachedAt(content::WebContents* contents, | 49 virtual void TabDetachedAt(content::WebContents* contents, |
| 50 int index) OVERRIDE; | 50 int index) OVERRIDE; |
| 51 virtual void ActiveTabChanged(TabContents* old_contents, | 51 virtual void ActiveTabChanged(TabContents* old_contents, |
| 52 TabContents* new_contents, | 52 TabContents* new_contents, |
| 53 int index, | 53 int index, |
| 54 bool user_gesture) OVERRIDE; | 54 bool user_gesture) OVERRIDE; |
| 55 virtual void TabSelectionChanged( | 55 virtual void TabSelectionChanged( |
| 56 TabStripModel* tab_strip_model, | 56 TabStripModel* tab_strip_model, |
| 57 const TabStripSelectionModel& old_model) OVERRIDE; | 57 const TabStripSelectionModel& old_model) OVERRIDE; |
| 58 virtual void TabMoved(TabContents* contents, int from_index, | 58 virtual void TabMoved(content::WebContents* contents, |
| 59 int from_index, |
| 59 int to_index) OVERRIDE; | 60 int to_index) OVERRIDE; |
| 60 virtual void TabChangedAt(TabContents* contents, int index, | 61 virtual void TabChangedAt(TabContents* contents, int index, |
| 61 TabChangeType change_type) OVERRIDE; | 62 TabChangeType change_type) OVERRIDE; |
| 62 virtual void TabReplacedAt(TabStripModel* tab_strip_model, | 63 virtual void TabReplacedAt(TabStripModel* tab_strip_model, |
| 63 TabContents* old_contents, | 64 TabContents* old_contents, |
| 64 TabContents* new_contents, | 65 TabContents* new_contents, |
| 65 int index) OVERRIDE; | 66 int index) OVERRIDE; |
| 66 virtual void TabPinnedStateChanged(content::WebContents* contents, | 67 virtual void TabPinnedStateChanged(content::WebContents* contents, |
| 67 int index) OVERRIDE; | 68 int index) OVERRIDE; |
| 68 virtual void TabStripEmpty() OVERRIDE; | 69 virtual void TabStripEmpty() OVERRIDE; |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 202 |
| 202 // The main profile that owns this event router. | 203 // The main profile that owns this event router. |
| 203 Profile* profile_; | 204 Profile* profile_; |
| 204 | 205 |
| 205 DISALLOW_COPY_AND_ASSIGN(BrowserEventRouter); | 206 DISALLOW_COPY_AND_ASSIGN(BrowserEventRouter); |
| 206 }; | 207 }; |
| 207 | 208 |
| 208 } // namespace extensions | 209 } // namespace extensions |
| 209 | 210 |
| 210 #endif // CHROME_BROWSER_EXTENSIONS_BROWSER_EVENT_ROUTER_H_ | 211 #endif // CHROME_BROWSER_EXTENSIONS_BROWSER_EVENT_ROUTER_H_ |
| OLD | NEW |