| 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_BROWSER_COMMAND_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_COMMAND_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_COMMAND_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_COMMAND_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/prefs/pref_change_registrar.h" | 10 #include "base/prefs/pref_change_registrar.h" |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 // Overridden from ProfileInfoCacheObserver: | 99 // Overridden from ProfileInfoCacheObserver: |
| 100 virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE; | 100 virtual void OnProfileAdded(const base::FilePath& profile_path) OVERRIDE; |
| 101 virtual void OnProfileWasRemoved(const base::FilePath& profile_path, | 101 virtual void OnProfileWasRemoved(const base::FilePath& profile_path, |
| 102 const string16& profile_name) OVERRIDE; | 102 const string16& profile_name) OVERRIDE; |
| 103 | 103 |
| 104 // Overridden from TabStripModelObserver: | 104 // Overridden from TabStripModelObserver: |
| 105 virtual void TabInsertedAt(content::WebContents* contents, | 105 virtual void TabInsertedAt(content::WebContents* contents, |
| 106 int index, | 106 int index, |
| 107 bool foreground) OVERRIDE; | 107 bool foreground) OVERRIDE; |
| 108 virtual void TabDetachedAt(content::WebContents* contents, | 108 virtual void TabDetachedAt(content::WebContents* contents, |
| 109 int index) OVERRIDE; | 109 int index, |
| 110 bool closing_all) OVERRIDE; |
| 110 virtual void TabReplacedAt(TabStripModel* tab_strip_model, | 111 virtual void TabReplacedAt(TabStripModel* tab_strip_model, |
| 111 content::WebContents* old_contents, | 112 content::WebContents* old_contents, |
| 112 content::WebContents* new_contents, | 113 content::WebContents* new_contents, |
| 113 int index) OVERRIDE; | 114 int index) OVERRIDE; |
| 114 virtual void TabBlockedStateChanged(content::WebContents* contents, | 115 virtual void TabBlockedStateChanged(content::WebContents* contents, |
| 115 int index) OVERRIDE; | 116 int index) OVERRIDE; |
| 116 | 117 |
| 117 // Overridden from TabRestoreServiceObserver: | 118 // Overridden from TabRestoreServiceObserver: |
| 118 virtual void TabRestoreServiceChanged(TabRestoreService* service) OVERRIDE; | 119 virtual void TabRestoreServiceChanged(TabRestoreService* service) OVERRIDE; |
| 119 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) OVERRIDE; | 120 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) OVERRIDE; |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 PrefChangeRegistrar profile_pref_registrar_; | 207 PrefChangeRegistrar profile_pref_registrar_; |
| 207 PrefChangeRegistrar local_pref_registrar_; | 208 PrefChangeRegistrar local_pref_registrar_; |
| 208 BooleanPrefMember pref_signin_allowed_; | 209 BooleanPrefMember pref_signin_allowed_; |
| 209 | 210 |
| 210 DISALLOW_COPY_AND_ASSIGN(BrowserCommandController); | 211 DISALLOW_COPY_AND_ASSIGN(BrowserCommandController); |
| 211 }; | 212 }; |
| 212 | 213 |
| 213 } // namespace chrome | 214 } // namespace chrome |
| 214 | 215 |
| 215 #endif // CHROME_BROWSER_UI_BROWSER_COMMAND_CONTROLLER_H_ | 216 #endif // CHROME_BROWSER_UI_BROWSER_COMMAND_CONTROLLER_H_ |
| OLD | NEW |