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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 // Tab Helpers --------------------------------------------------------------- | 265 // Tab Helpers --------------------------------------------------------------- |
266 // (These provide API for callers and have a getter function listed in the | 266 // (These provide API for callers and have a getter function listed in the |
267 // "Tab Helpers" section in the member functions area, above.) | 267 // "Tab Helpers" section in the member functions area, above.) |
268 | 268 |
269 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; | 269 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; |
270 scoped_refptr<AutofillManager> autofill_manager_; | 270 scoped_refptr<AutofillManager> autofill_manager_; |
271 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; | 271 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; |
272 scoped_ptr<AutomationTabHelper> automation_tab_helper_; | 272 scoped_ptr<AutomationTabHelper> automation_tab_helper_; |
273 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_; | 273 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_; |
274 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_; | 274 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_; |
275 scoped_ptr<chrome_browser_net::CacheStatsTabHelper> cache_stats_tab_helper_; | 275 scoped_ptr<chrome_browser_net::LoadTimeStatsTabHelper> |
| 276 load_time_stats_tab_helper_; |
276 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 277 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
277 scoped_ptr<captive_portal::CaptivePortalTabHelper> captive_portal_tab_helper_; | 278 scoped_ptr<captive_portal::CaptivePortalTabHelper> captive_portal_tab_helper_; |
278 #endif | 279 #endif |
279 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; | 280 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; |
280 scoped_ptr<CoreTabHelper> core_tab_helper_; | 281 scoped_ptr<CoreTabHelper> core_tab_helper_; |
281 scoped_ptr<extensions::TabHelper> extension_tab_helper_; | 282 scoped_ptr<extensions::TabHelper> extension_tab_helper_; |
282 scoped_ptr<FaviconTabHelper> favicon_tab_helper_; | 283 scoped_ptr<FaviconTabHelper> favicon_tab_helper_; |
283 scoped_ptr<FindTabHelper> find_tab_helper_; | 284 scoped_ptr<FindTabHelper> find_tab_helper_; |
284 scoped_ptr<HistoryTabHelper> history_tab_helper_; | 285 scoped_ptr<HistoryTabHelper> history_tab_helper_; |
285 scoped_ptr<HungPluginTabHelper> hung_plugin_tab_helper_; | 286 scoped_ptr<HungPluginTabHelper> hung_plugin_tab_helper_; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 | 343 |
343 // The supporting objects need to outlive the WebContents dtor (as they may | 344 // The supporting objects need to outlive the WebContents dtor (as they may |
344 // be called upon during its execution). As a result, this must come last | 345 // be called upon during its execution). As a result, this must come last |
345 // in the list. | 346 // in the list. |
346 scoped_ptr<content::WebContents> web_contents_; | 347 scoped_ptr<content::WebContents> web_contents_; |
347 | 348 |
348 DISALLOW_COPY_AND_ASSIGN(TabContents); | 349 DISALLOW_COPY_AND_ASSIGN(TabContents); |
349 }; | 350 }; |
350 | 351 |
351 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ | 352 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |