| 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_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ash/launcher/launcher_types.h" | 10 #include "ash/launcher/launcher_types.h" |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 // TabStripModel overrides: | 84 // TabStripModel overrides: |
| 85 virtual void ActiveTabChanged(content::WebContents* old_contents, | 85 virtual void ActiveTabChanged(content::WebContents* old_contents, |
| 86 content::WebContents* new_contents, | 86 content::WebContents* new_contents, |
| 87 int index, | 87 int index, |
| 88 int reason) OVERRIDE; | 88 int reason) OVERRIDE; |
| 89 virtual void TabInsertedAt(content::WebContents* contents, | 89 virtual void TabInsertedAt(content::WebContents* contents, |
| 90 int index, | 90 int index, |
| 91 bool foreground) OVERRIDE; | 91 bool foreground) OVERRIDE; |
| 92 virtual void TabDetachedAt(content::WebContents* contents, | 92 virtual void TabDetachedAt(content::WebContents* contents, |
| 93 int index) OVERRIDE; | 93 int index, |
| 94 bool closing_all) OVERRIDE; |
| 94 virtual void TabChangedAt( | 95 virtual void TabChangedAt( |
| 95 content::WebContents* contents, | 96 content::WebContents* contents, |
| 96 int index, | 97 int index, |
| 97 TabStripModelObserver::TabChangeType change_type) OVERRIDE; | 98 TabStripModelObserver::TabChangeType change_type) OVERRIDE; |
| 98 virtual void TabReplacedAt(TabStripModel* tab_strip_model, | 99 virtual void TabReplacedAt(TabStripModel* tab_strip_model, |
| 99 content::WebContents* old_contents, | 100 content::WebContents* old_contents, |
| 100 content::WebContents* new_contents, | 101 content::WebContents* new_contents, |
| 101 int index) OVERRIDE; | 102 int index) OVERRIDE; |
| 102 | 103 |
| 103 // aura::WindowObserver overrides: | 104 // aura::WindowObserver overrides: |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 | 136 |
| 136 TabStripModel* tab_model_; | 137 TabStripModel* tab_model_; |
| 137 | 138 |
| 138 // Whether this is associated with an incognito profile. | 139 // Whether this is associated with an incognito profile. |
| 139 const bool is_incognito_; | 140 const bool is_incognito_; |
| 140 | 141 |
| 141 DISALLOW_COPY_AND_ASSIGN(BrowserLauncherItemController); | 142 DISALLOW_COPY_AND_ASSIGN(BrowserLauncherItemController); |
| 142 }; | 143 }; |
| 143 | 144 |
| 144 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_ | 145 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_ |
| OLD | NEW |