OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 namespace printing { | 22 namespace printing { |
23 class PrintPreviewMessageHandler; | 23 class PrintPreviewMessageHandler; |
24 class PrintViewManager; | 24 class PrintViewManager; |
25 } | 25 } |
26 | 26 |
27 class AutocompleteHistoryManager; | 27 class AutocompleteHistoryManager; |
28 class AutofillManager; | 28 class AutofillManager; |
29 class DevToolsObserver; | 29 class DevToolsObserver; |
30 class Extension; | 30 class Extension; |
| 31 class ExtensionMessageObserver; |
31 class ExtensionTabHelper; | 32 class ExtensionTabHelper; |
32 class FileSelectObserver; | 33 class FileSelectObserver; |
33 class FindTabHelper; | 34 class FindTabHelper; |
34 class NavigationController; | 35 class NavigationController; |
35 class PasswordManager; | 36 class PasswordManager; |
36 class PasswordManagerDelegate; | 37 class PasswordManagerDelegate; |
37 class SearchEngineTabHelper; | 38 class SearchEngineTabHelper; |
38 class TabContentsWrapperDelegate; | 39 class TabContentsWrapperDelegate; |
39 | 40 |
40 // Wraps TabContents and all of its supporting objects in order to control | 41 // Wraps TabContents and all of its supporting objects in order to control |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 scoped_ptr<PasswordManagerDelegate> password_manager_delegate_; | 176 scoped_ptr<PasswordManagerDelegate> password_manager_delegate_; |
176 scoped_ptr<PasswordManager> password_manager_; | 177 scoped_ptr<PasswordManager> password_manager_; |
177 | 178 |
178 scoped_ptr<SearchEngineTabHelper> search_engine_tab_helper_; | 179 scoped_ptr<SearchEngineTabHelper> search_engine_tab_helper_; |
179 | 180 |
180 // Per-tab observers --------------------------------------------------------- | 181 // Per-tab observers --------------------------------------------------------- |
181 // (These provide no API for callers; objects that need to exist 1:1 with tabs | 182 // (These provide no API for callers; objects that need to exist 1:1 with tabs |
182 // and silently do their thing live here.) | 183 // and silently do their thing live here.) |
183 | 184 |
184 scoped_ptr<DevToolsObserver> dev_tools_observer_; | 185 scoped_ptr<DevToolsObserver> dev_tools_observer_; |
| 186 scoped_ptr<ExtensionMessageObserver> extension_message_observer_; |
185 scoped_ptr<FileSelectObserver> file_select_observer_; | 187 scoped_ptr<FileSelectObserver> file_select_observer_; |
186 scoped_ptr<prerender::PrerenderObserver> prerender_observer_; | 188 scoped_ptr<prerender::PrerenderObserver> prerender_observer_; |
187 | 189 |
188 // TabContents (MUST BE LAST) ------------------------------------------------ | 190 // TabContents (MUST BE LAST) ------------------------------------------------ |
189 | 191 |
190 // The supporting objects need to outlive the TabContents dtor (as they may | 192 // The supporting objects need to outlive the TabContents dtor (as they may |
191 // be called upon during its execution). As a result, this must come last | 193 // be called upon during its execution). As a result, this must come last |
192 // in the list. | 194 // in the list. |
193 scoped_ptr<TabContents> tab_contents_; | 195 scoped_ptr<TabContents> tab_contents_; |
194 | 196 |
195 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); | 197 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); |
196 }; | 198 }; |
197 | 199 |
198 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 200 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
OLD | NEW |