| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WRAPPER_H_ | 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
| 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 class BookmarkTabHelper; | 25 class BookmarkTabHelper; |
| 26 class ConstrainedWindowTabHelper; | 26 class ConstrainedWindowTabHelper; |
| 27 class DownloadRequestLimiterObserver; | 27 class DownloadRequestLimiterObserver; |
| 28 class Extension; | 28 class Extension; |
| 29 class ExtensionTabHelper; | 29 class ExtensionTabHelper; |
| 30 class ExtensionWebNavigationTabObserver; | 30 class ExtensionWebNavigationTabObserver; |
| 31 class ExternalProtocolObserver; | 31 class ExternalProtocolObserver; |
| 32 class FaviconTabHelper; | 32 class FaviconTabHelper; |
| 33 class FileSelectObserver; | 33 class FileSelectObserver; |
| 34 class FindTabHelper; | 34 class FindTabHelper; |
| 35 class FirewallTraversalObserver; | |
| 36 class InfoBarTabHelper; | 35 class InfoBarTabHelper; |
| 37 class HistoryTabHelper; | 36 class HistoryTabHelper; |
| 38 class NavigationController; | 37 class NavigationController; |
| 39 class OmniboxSearchHint; | 38 class OmniboxSearchHint; |
| 40 class PasswordManager; | 39 class PasswordManager; |
| 41 class PasswordManagerDelegate; | 40 class PasswordManagerDelegate; |
| 42 class PluginObserver; | 41 class PluginObserver; |
| 43 class Profile; | 42 class Profile; |
| 44 class RestoreTabHelper; | 43 class RestoreTabHelper; |
| 45 class SearchEngineTabHelper; | 44 class SearchEngineTabHelper; |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 | 312 |
| 314 scoped_ptr<TranslateTabHelper> translate_tab_helper_; | 313 scoped_ptr<TranslateTabHelper> translate_tab_helper_; |
| 315 | 314 |
| 316 // Per-tab observers --------------------------------------------------------- | 315 // Per-tab observers --------------------------------------------------------- |
| 317 // (These provide no API for callers; objects that need to exist 1:1 with tabs | 316 // (These provide no API for callers; objects that need to exist 1:1 with tabs |
| 318 // and silently do their thing live here.) | 317 // and silently do their thing live here.) |
| 319 | 318 |
| 320 scoped_ptr<DownloadRequestLimiterObserver> download_request_limiter_observer_; | 319 scoped_ptr<DownloadRequestLimiterObserver> download_request_limiter_observer_; |
| 321 scoped_ptr<ExtensionWebNavigationTabObserver> webnavigation_observer_; | 320 scoped_ptr<ExtensionWebNavigationTabObserver> webnavigation_observer_; |
| 322 scoped_ptr<ExternalProtocolObserver> external_protocol_observer_; | 321 scoped_ptr<ExternalProtocolObserver> external_protocol_observer_; |
| 323 scoped_ptr<FirewallTraversalObserver> firewall_traversal_observer_; | |
| 324 scoped_ptr<PluginObserver> plugin_observer_; | 322 scoped_ptr<PluginObserver> plugin_observer_; |
| 325 scoped_ptr<printing::PrintPreviewMessageHandler> print_preview_; | 323 scoped_ptr<printing::PrintPreviewMessageHandler> print_preview_; |
| 326 scoped_ptr<ThumbnailGenerator> thumbnail_generation_observer_; | 324 scoped_ptr<ThumbnailGenerator> thumbnail_generation_observer_; |
| 327 | 325 |
| 328 // TabContents (MUST BE LAST) ------------------------------------------------ | 326 // TabContents (MUST BE LAST) ------------------------------------------------ |
| 329 | 327 |
| 330 // If true, we're running the destructor. | 328 // If true, we're running the destructor. |
| 331 bool in_destructor_; | 329 bool in_destructor_; |
| 332 | 330 |
| 333 // The supporting objects need to outlive the TabContents dtor (as they may | 331 // The supporting objects need to outlive the TabContents dtor (as they may |
| 334 // be called upon during its execution). As a result, this must come last | 332 // be called upon during its execution). As a result, this must come last |
| 335 // in the list. | 333 // in the list. |
| 336 scoped_ptr<TabContents> tab_contents_; | 334 scoped_ptr<TabContents> tab_contents_; |
| 337 | 335 |
| 338 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); | 336 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); |
| 339 }; | 337 }; |
| 340 | 338 |
| 341 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 339 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
| OLD | NEW |