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_TAB_CONTENTS_TAB_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ |
6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ | 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 class CaptivePortalTabHelper; | 59 class CaptivePortalTabHelper; |
60 } | 60 } |
61 | 61 |
62 namespace chrome { | 62 namespace chrome { |
63 namespace search { | 63 namespace search { |
64 class SearchTabHelper; | 64 class SearchTabHelper; |
65 } | 65 } |
66 } | 66 } |
67 | 67 |
68 namespace chrome_browser_net { | 68 namespace chrome_browser_net { |
69 class CacheStatsTabHelper; | 69 class LoadTimeStatsTabHelper; |
70 } | 70 } |
71 | 71 |
72 namespace extensions { | 72 namespace extensions { |
73 class TabHelper; | 73 class TabHelper; |
74 class WebNavigationTabObserver; | 74 class WebNavigationTabObserver; |
75 } | 75 } |
76 | 76 |
77 namespace prerender { | 77 namespace prerender { |
78 class PrerenderTabHelper; | 78 class PrerenderTabHelper; |
79 } | 79 } |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 // Tab Helpers --------------------------------------------------------------- | 264 // Tab Helpers --------------------------------------------------------------- |
265 // (These provide API for callers and have a getter function listed in the | 265 // (These provide API for callers and have a getter function listed in the |
266 // "Tab Helpers" section in the member functions area, above.) | 266 // "Tab Helpers" section in the member functions area, above.) |
267 | 267 |
268 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; | 268 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; |
269 scoped_refptr<AutofillManager> autofill_manager_; | 269 scoped_refptr<AutofillManager> autofill_manager_; |
270 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; | 270 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; |
271 scoped_ptr<AutomationTabHelper> automation_tab_helper_; | 271 scoped_ptr<AutomationTabHelper> automation_tab_helper_; |
272 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_; | 272 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_; |
273 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_; | 273 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_; |
274 scoped_ptr<chrome_browser_net::CacheStatsTabHelper> cache_stats_tab_helper_; | 274 scoped_ptr<chrome_browser_net::LoadTimeStatsTabHelper> |
| 275 load_time_stats_tab_helper_; |
275 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 276 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
276 scoped_ptr<captive_portal::CaptivePortalTabHelper> captive_portal_tab_helper_; | 277 scoped_ptr<captive_portal::CaptivePortalTabHelper> captive_portal_tab_helper_; |
277 #endif | 278 #endif |
278 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; | 279 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; |
279 scoped_ptr<CoreTabHelper> core_tab_helper_; | 280 scoped_ptr<CoreTabHelper> core_tab_helper_; |
280 scoped_ptr<extensions::TabHelper> extension_tab_helper_; | 281 scoped_ptr<extensions::TabHelper> extension_tab_helper_; |
281 scoped_ptr<FaviconTabHelper> favicon_tab_helper_; | 282 scoped_ptr<FaviconTabHelper> favicon_tab_helper_; |
282 scoped_ptr<FindTabHelper> find_tab_helper_; | 283 scoped_ptr<FindTabHelper> find_tab_helper_; |
283 scoped_ptr<HistoryTabHelper> history_tab_helper_; | 284 scoped_ptr<HistoryTabHelper> history_tab_helper_; |
284 scoped_ptr<HungPluginTabHelper> hung_plugin_tab_helper_; | 285 scoped_ptr<HungPluginTabHelper> hung_plugin_tab_helper_; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 | 342 |
342 // The supporting objects need to outlive the WebContents dtor (as they may | 343 // The supporting objects need to outlive the WebContents dtor (as they may |
343 // be called upon during its execution). As a result, this must come last | 344 // be called upon during its execution). As a result, this must come last |
344 // in the list. | 345 // in the list. |
345 scoped_ptr<content::WebContents> web_contents_; | 346 scoped_ptr<content::WebContents> web_contents_; |
346 | 347 |
347 DISALLOW_COPY_AND_ASSIGN(TabContents); | 348 DISALLOW_COPY_AND_ASSIGN(TabContents); |
348 }; | 349 }; |
349 | 350 |
350 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ | 351 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |