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 25 matching lines...) Expand all Loading... |
36 class FindTabHelper; | 36 class FindTabHelper; |
37 class InfoBarTabHelper; | 37 class InfoBarTabHelper; |
38 class HistoryTabHelper; | 38 class HistoryTabHelper; |
39 class NavigationController; | 39 class NavigationController; |
40 class OmniboxSearchHint; | 40 class OmniboxSearchHint; |
41 class PasswordManager; | 41 class PasswordManager; |
42 class PasswordManagerDelegate; | 42 class PasswordManagerDelegate; |
43 class PluginObserver; | 43 class PluginObserver; |
44 class Profile; | 44 class Profile; |
45 class RestoreTabHelper; | 45 class RestoreTabHelper; |
| 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; |
53 class WebIntentPickerController; | 54 class WebIntentPickerController; |
54 | 55 |
55 namespace browser_sync { | 56 namespace browser_sync { |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_; |
325 scoped_ptr<PluginObserver> plugin_observer_; | 326 scoped_ptr<PluginObserver> plugin_observer_; |
326 scoped_ptr<printing::PrintPreviewMessageHandler> print_preview_; | 327 scoped_ptr<printing::PrintPreviewMessageHandler> print_preview_; |
| 328 scoped_ptr<SadTabObserver> sad_tab_observer_; |
327 scoped_ptr<ThumbnailGenerator> thumbnail_generation_observer_; | 329 scoped_ptr<ThumbnailGenerator> thumbnail_generation_observer_; |
328 | 330 |
329 // TabContents (MUST BE LAST) ------------------------------------------------ | 331 // TabContents (MUST BE LAST) ------------------------------------------------ |
330 | 332 |
331 // If true, we're running the destructor. | 333 // If true, we're running the destructor. |
332 bool in_destructor_; | 334 bool in_destructor_; |
333 | 335 |
334 // The supporting objects need to outlive the TabContents dtor (as they may | 336 // The supporting objects need to outlive the TabContents dtor (as they may |
335 // be called upon during its execution). As a result, this must come last | 337 // be called upon during its execution). As a result, this must come last |
336 // in the list. | 338 // in the list. |
337 scoped_ptr<TabContents> tab_contents_; | 339 scoped_ptr<TabContents> tab_contents_; |
338 | 340 |
339 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); | 341 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); |
340 }; | 342 }; |
341 | 343 |
342 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 344 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
OLD | NEW |