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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 class PasswordManagerDelegate; | 49 class PasswordManagerDelegate; |
50 class PDFTabObserver; | 50 class PDFTabObserver; |
51 class PluginObserver; | 51 class PluginObserver; |
52 class PrefsTabHelper; | 52 class PrefsTabHelper; |
53 class Profile; | 53 class Profile; |
54 class RestoreTabHelper; | 54 class RestoreTabHelper; |
55 class SadTabHelper; | 55 class SadTabHelper; |
56 class SearchEngineTabHelper; | 56 class SearchEngineTabHelper; |
57 class ShellWindow; | 57 class ShellWindow; |
58 class SnapshotTabHelper; | 58 class SnapshotTabHelper; |
| 59 class TabAutofillManagerDelegate; |
59 class TabContentsSSLHelper; | 60 class TabContentsSSLHelper; |
60 class TabContentsTestHarness; | 61 class TabContentsTestHarness; |
61 class TabSpecificContentSettings; | 62 class TabSpecificContentSettings; |
62 class TabStripModel; | 63 class TabStripModel; |
63 class TabStripModelContentsCreator; | 64 class TabStripModelContentsCreator; |
64 class ThumbnailGenerator; | 65 class ThumbnailGenerator; |
65 class TranslateTabHelper; | 66 class TranslateTabHelper; |
66 class TranslationInfoBarTestContentsCreator; | 67 class TranslationInfoBarTestContentsCreator; |
67 class WebDialogGtk; | 68 class WebDialogGtk; |
68 class WebDialogWindowControllerTabContentsCreator; | 69 class WebDialogWindowControllerTabContentsCreator; |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 // Create a TabContents with the same state as this one. The returned | 341 // Create a TabContents with the same state as this one. The returned |
341 // heap-allocated pointer is owned by the caller. | 342 // heap-allocated pointer is owned by the caller. |
342 TabContents* Clone(); | 343 TabContents* Clone(); |
343 | 344 |
344 // Tab Helpers --------------------------------------------------------------- | 345 // Tab Helpers --------------------------------------------------------------- |
345 // (These provide API for callers and have a getter function listed in the | 346 // (These provide API for callers and have a getter function listed in the |
346 // "Tab Helpers" section in the member functions area, above.) | 347 // "Tab Helpers" section in the member functions area, above.) |
347 | 348 |
348 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; | 349 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; |
349 scoped_refptr<AutofillManager> autofill_manager_; | 350 scoped_refptr<AutofillManager> autofill_manager_; |
| 351 scoped_ptr<TabAutofillManagerDelegate> autofill_delegate_; |
350 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; | 352 scoped_ptr<AutofillExternalDelegate> autofill_external_delegate_; |
351 scoped_ptr<AutomationTabHelper> automation_tab_helper_; | 353 scoped_ptr<AutomationTabHelper> automation_tab_helper_; |
352 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_; | 354 scoped_ptr<BlockedContentTabHelper> blocked_content_tab_helper_; |
353 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_; | 355 scoped_ptr<BookmarkTabHelper> bookmark_tab_helper_; |
354 scoped_ptr<chrome_browser_net::LoadTimeStatsTabHelper> | 356 scoped_ptr<chrome_browser_net::LoadTimeStatsTabHelper> |
355 load_time_stats_tab_helper_; | 357 load_time_stats_tab_helper_; |
356 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 358 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
357 scoped_ptr<captive_portal::CaptivePortalTabHelper> captive_portal_tab_helper_; | 359 scoped_ptr<captive_portal::CaptivePortalTabHelper> captive_portal_tab_helper_; |
358 #endif | 360 #endif |
359 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; | 361 scoped_ptr<ConstrainedWindowTabHelper> constrained_window_tab_helper_; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 | 424 |
423 // The supporting objects need to outlive the WebContents dtor (as they may | 425 // The supporting objects need to outlive the WebContents dtor (as they may |
424 // be called upon during its execution). As a result, this must come last | 426 // be called upon during its execution). As a result, this must come last |
425 // in the list. | 427 // in the list. |
426 scoped_ptr<content::WebContents> web_contents_; | 428 scoped_ptr<content::WebContents> web_contents_; |
427 | 429 |
428 DISALLOW_COPY_AND_ASSIGN(TabContents); | 430 DISALLOW_COPY_AND_ASSIGN(TabContents); |
429 }; | 431 }; |
430 | 432 |
431 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ | 433 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |