| 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 22 matching lines...) Expand all Loading... |
| 33 class ExternalProtocolObserver; | 33 class ExternalProtocolObserver; |
| 34 class FaviconTabHelper; | 34 class FaviconTabHelper; |
| 35 class FindTabHelper; | 35 class FindTabHelper; |
| 36 class InfoBarTabHelper; | 36 class InfoBarTabHelper; |
| 37 class HistoryTabHelper; | 37 class HistoryTabHelper; |
| 38 class NavigationController; | 38 class NavigationController; |
| 39 class OmniboxSearchHint; | 39 class OmniboxSearchHint; |
| 40 class PasswordManager; | 40 class PasswordManager; |
| 41 class PasswordManagerDelegate; | 41 class PasswordManagerDelegate; |
| 42 class PluginObserver; | 42 class PluginObserver; |
| 43 class PrefService; |
| 43 class Profile; | 44 class Profile; |
| 44 class RestoreTabHelper; | 45 class RestoreTabHelper; |
| 45 class SadTabObserver; | 46 class SadTabObserver; |
| 46 class SearchEngineTabHelper; | 47 class SearchEngineTabHelper; |
| 47 class TabContentsSSLHelper; | 48 class TabContentsSSLHelper; |
| 48 class TabContentsWrapperDelegate; | 49 class TabContentsWrapperDelegate; |
| 49 class TabContentsWrapperSyncedTabDelegate; | 50 class TabContentsWrapperSyncedTabDelegate; |
| 50 class TabSpecificContentSettings; | 51 class TabSpecificContentSettings; |
| 51 class ThumbnailGenerator; | 52 class ThumbnailGenerator; |
| 52 class TranslateTabHelper; | 53 class TranslateTabHelper; |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 | 316 |
| 316 scoped_ptr<TranslateTabHelper> translate_tab_helper_; | 317 scoped_ptr<TranslateTabHelper> translate_tab_helper_; |
| 317 | 318 |
| 318 // Per-tab observers --------------------------------------------------------- | 319 // Per-tab observers --------------------------------------------------------- |
| 319 // (These provide no API for callers; objects that need to exist 1:1 with tabs | 320 // (These provide no API for callers; objects that need to exist 1:1 with tabs |
| 320 // and silently do their thing live here.) | 321 // and silently do their thing live here.) |
| 321 | 322 |
| 322 scoped_ptr<DownloadRequestLimiterObserver> download_request_limiter_observer_; | 323 scoped_ptr<DownloadRequestLimiterObserver> download_request_limiter_observer_; |
| 323 scoped_ptr<ExtensionWebNavigationTabObserver> webnavigation_observer_; | 324 scoped_ptr<ExtensionWebNavigationTabObserver> webnavigation_observer_; |
| 324 scoped_ptr<ExternalProtocolObserver> external_protocol_observer_; | 325 scoped_ptr<ExternalProtocolObserver> external_protocol_observer_; |
| 326 scoped_ptr<PrefService> per_tab_prefs_; // Allows overriding user preferences. |
| 325 scoped_ptr<PluginObserver> plugin_observer_; | 327 scoped_ptr<PluginObserver> plugin_observer_; |
| 326 scoped_ptr<printing::PrintPreviewMessageHandler> print_preview_; | 328 scoped_ptr<printing::PrintPreviewMessageHandler> print_preview_; |
| 327 scoped_ptr<SadTabObserver> sad_tab_observer_; | 329 scoped_ptr<SadTabObserver> sad_tab_observer_; |
| 328 scoped_ptr<ThumbnailGenerator> thumbnail_generation_observer_; | 330 scoped_ptr<ThumbnailGenerator> thumbnail_generation_observer_; |
| 329 | 331 |
| 330 // TabContents (MUST BE LAST) ------------------------------------------------ | 332 // TabContents (MUST BE LAST) ------------------------------------------------ |
| 331 | 333 |
| 332 // If true, we're running the destructor. | 334 // If true, we're running the destructor. |
| 333 bool in_destructor_; | 335 bool in_destructor_; |
| 334 | 336 |
| 335 // The supporting objects need to outlive the TabContents dtor (as they may | 337 // The supporting objects need to outlive the TabContents dtor (as they may |
| 336 // be called upon during its execution). As a result, this must come last | 338 // be called upon during its execution). As a result, this must come last |
| 337 // in the list. | 339 // in the list. |
| 338 scoped_ptr<TabContents> tab_contents_; | 340 scoped_ptr<TabContents> tab_contents_; |
| 339 | 341 |
| 340 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); | 342 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); |
| 341 }; | 343 }; |
| 342 | 344 |
| 343 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 345 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
| OLD | NEW |