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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 namespace captive_portal { | 58 namespace captive_portal { |
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 { |
| 69 class CacheStatsTabHelper; |
| 70 } |
| 71 |
68 namespace extensions { | 72 namespace extensions { |
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 { |
77 class PrintViewManager; | 81 class PrintViewManager; |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 // Tab Helpers --------------------------------------------------------------- | 259 // Tab Helpers --------------------------------------------------------------- |
256 // (These provide API for callers and have a getter function listed in the | 260 // (These provide API for callers and have a getter function listed in the |
257 // "Tab Helpers" section in the member functions area, above.) | 261 // "Tab Helpers" section in the member functions area, above.) |
258 | 262 |
259 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; | 263 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; |
260 scoped_refptr<AutofillManager> autofill_manager_; | 264 scoped_refptr<AutofillManager> autofill_manager_; |
261 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; | 265 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; |
262 scoped_ptr<AutomationTabHelper> automation_tab_helper_; | 266 scoped_ptr<AutomationTabHelper> automation_tab_helper_; |
263 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_; | 267 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_; |
264 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_; | 268 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_; |
| 269 scoped_ptr<chrome_browser_net::CacheStatsTabHelper> cache_stats_tab_helper_; |
265 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 270 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
266 scoped_ptr<captive_portal::CaptivePortalTabHelper> captive_portal_tab_helper_; | 271 scoped_ptr<captive_portal::CaptivePortalTabHelper> captive_portal_tab_helper_; |
267 #endif | 272 #endif |
268 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; | 273 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; |
269 scoped_ptr<CoreTabHelper> core_tab_helper_; | 274 scoped_ptr<CoreTabHelper> core_tab_helper_; |
270 scoped_ptr<ExtensionTabHelper> extension_tab_helper_; | 275 scoped_ptr<ExtensionTabHelper> extension_tab_helper_; |
271 scoped_ptr<FaviconTabHelper> favicon_tab_helper_; | 276 scoped_ptr<FaviconTabHelper> favicon_tab_helper_; |
272 scoped_ptr<FindTabHelper> find_tab_helper_; | 277 scoped_ptr<FindTabHelper> find_tab_helper_; |
273 scoped_ptr<HistoryTabHelper> history_tab_helper_; | 278 scoped_ptr<HistoryTabHelper> history_tab_helper_; |
274 scoped_ptr<HungPluginTabHelper> hung_plugin_tab_helper_; | 279 scoped_ptr<HungPluginTabHelper> hung_plugin_tab_helper_; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 | 334 |
330 // The supporting objects need to outlive the WebContents dtor (as they may | 335 // The supporting objects need to outlive the WebContents dtor (as they may |
331 // be called upon during its execution). As a result, this must come last | 336 // be called upon during its execution). As a result, this must come last |
332 // in the list. | 337 // in the list. |
333 scoped_ptr<content::WebContents> web_contents_; | 338 scoped_ptr<content::WebContents> web_contents_; |
334 | 339 |
335 DISALLOW_COPY_AND_ASSIGN(TabContents); | 340 DISALLOW_COPY_AND_ASSIGN(TabContents); |
336 }; | 341 }; |
337 | 342 |
338 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ | 343 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |