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/macros.h" | 10 #include "base/macros.h" |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 Profile* profile); | 77 Profile* profile); |
78 | 78 |
79 private: | 79 private: |
80 class InterstitialObserver; | 80 class InterstitialObserver; |
81 | 81 |
82 // Overridden from CommandUpdaterDelegate: | 82 // Overridden from CommandUpdaterDelegate: |
83 void ExecuteCommandWithDisposition(int id, WindowOpenDisposition disposition) | 83 void ExecuteCommandWithDisposition(int id, WindowOpenDisposition disposition) |
84 override; | 84 override; |
85 | 85 |
86 // Overridden from TabStripModelObserver: | 86 // Overridden from TabStripModelObserver: |
87 void TabInsertedAt(content::WebContents* contents, | 87 void TabInsertedAt(TabStripModel* tab_strip_model, |
| 88 content::WebContents* contents, |
88 int index, | 89 int index, |
89 bool foreground) override; | 90 bool foreground) override; |
90 void TabDetachedAt(content::WebContents* contents, int index) override; | 91 void TabDetachedAt(content::WebContents* contents, int index) override; |
91 void TabReplacedAt(TabStripModel* tab_strip_model, | 92 void TabReplacedAt(TabStripModel* tab_strip_model, |
92 content::WebContents* old_contents, | 93 content::WebContents* old_contents, |
93 content::WebContents* new_contents, | 94 content::WebContents* new_contents, |
94 int index) override; | 95 int index) override; |
95 void TabBlockedStateChanged(content::WebContents* contents, | 96 void TabBlockedStateChanged(content::WebContents* contents, |
96 int index) override; | 97 int index) override; |
97 | 98 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 PrefChangeRegistrar profile_pref_registrar_; | 192 PrefChangeRegistrar profile_pref_registrar_; |
192 PrefChangeRegistrar local_pref_registrar_; | 193 PrefChangeRegistrar local_pref_registrar_; |
193 BooleanPrefMember pref_signin_allowed_; | 194 BooleanPrefMember pref_signin_allowed_; |
194 | 195 |
195 DISALLOW_COPY_AND_ASSIGN(BrowserCommandController); | 196 DISALLOW_COPY_AND_ASSIGN(BrowserCommandController); |
196 }; | 197 }; |
197 | 198 |
198 } // namespace chrome | 199 } // namespace chrome |
199 | 200 |
200 #endif // CHROME_BROWSER_UI_BROWSER_COMMAND_CONTROLLER_H_ | 201 #endif // CHROME_BROWSER_UI_BROWSER_COMMAND_CONTROLLER_H_ |
OLD | NEW |