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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 FULLSCREEN_METRO_SNAP, | 91 FULLSCREEN_METRO_SNAP, |
92 }; | 92 }; |
93 | 93 |
94 // Overridden from CommandUpdaterDelegate: | 94 // Overridden from CommandUpdaterDelegate: |
95 virtual void ExecuteCommandWithDisposition( | 95 virtual void ExecuteCommandWithDisposition( |
96 int id, | 96 int id, |
97 WindowOpenDisposition disposition) OVERRIDE; | 97 WindowOpenDisposition disposition) OVERRIDE; |
98 | 98 |
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 OnProfileWillBeRemoved( | |
102 const base::FilePath& profile_path) OVERRIDE; | |
103 virtual void OnProfileWasRemoved(const base::FilePath& profile_path, | 101 virtual void OnProfileWasRemoved(const base::FilePath& profile_path, |
104 const string16& profile_name) OVERRIDE; | 102 const string16& profile_name) OVERRIDE; |
105 virtual void OnProfileNameChanged(const base::FilePath& profile_path, | |
106 const string16& old_profile_name) OVERRIDE; | |
107 virtual void OnProfileAvatarChanged(const base::FilePath& profile_path) OVERRI
DE; | |
108 | 103 |
109 // Overridden from TabStripModelObserver: | 104 // Overridden from TabStripModelObserver: |
110 virtual void TabInsertedAt(content::WebContents* contents, | 105 virtual void TabInsertedAt(content::WebContents* contents, |
111 int index, | 106 int index, |
112 bool foreground) OVERRIDE; | 107 bool foreground) OVERRIDE; |
113 virtual void TabDetachedAt(content::WebContents* contents, | 108 virtual void TabDetachedAt(content::WebContents* contents, |
114 int index) OVERRIDE; | 109 int index) OVERRIDE; |
115 virtual void TabReplacedAt(TabStripModel* tab_strip_model, | 110 virtual void TabReplacedAt(TabStripModel* tab_strip_model, |
116 content::WebContents* old_contents, | 111 content::WebContents* old_contents, |
117 content::WebContents* new_contents, | 112 content::WebContents* new_contents, |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 PrefChangeRegistrar profile_pref_registrar_; | 206 PrefChangeRegistrar profile_pref_registrar_; |
212 PrefChangeRegistrar local_pref_registrar_; | 207 PrefChangeRegistrar local_pref_registrar_; |
213 BooleanPrefMember pref_signin_allowed_; | 208 BooleanPrefMember pref_signin_allowed_; |
214 | 209 |
215 DISALLOW_COPY_AND_ASSIGN(BrowserCommandController); | 210 DISALLOW_COPY_AND_ASSIGN(BrowserCommandController); |
216 }; | 211 }; |
217 | 212 |
218 } // namespace chrome | 213 } // namespace chrome |
219 | 214 |
220 #endif // CHROME_BROWSER_UI_BROWSER_COMMAND_CONTROLLER_H_ | 215 #endif // CHROME_BROWSER_UI_BROWSER_COMMAND_CONTROLLER_H_ |
OLD | NEW |