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