| 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 23 matching lines...) Expand all Loading... |
| 34 class HungPluginTabHelper; | 34 class HungPluginTabHelper; |
| 35 class InfoBarControllerContentsCreator; | 35 class InfoBarControllerContentsCreator; |
| 36 class InfoBarTabHelper; | 36 class InfoBarTabHelper; |
| 37 class InstantLoader; | 37 class InstantLoader; |
| 38 class NavigationMetricsRecorder; | 38 class NavigationMetricsRecorder; |
| 39 class OffscreenTabContentsCreator; | 39 class OffscreenTabContentsCreator; |
| 40 class PanelHost; | 40 class PanelHost; |
| 41 class PasswordManager; | 41 class PasswordManager; |
| 42 class PasswordManagerDelegate; | 42 class PasswordManagerDelegate; |
| 43 class PepperBrokerObserver; | 43 class PepperBrokerObserver; |
| 44 class PluginObserver; | |
| 45 class PrefsTabHelper; | 44 class PrefsTabHelper; |
| 46 class Profile; | 45 class Profile; |
| 47 class ShellWindow; | 46 class ShellWindow; |
| 48 class TabAutofillManagerDelegate; | 47 class TabAutofillManagerDelegate; |
| 49 class TabContentsTestHarness; | 48 class TabContentsTestHarness; |
| 50 class TabSpecificContentSettings; | 49 class TabSpecificContentSettings; |
| 51 class TabStripModel; | 50 class TabStripModel; |
| 52 class TabStripModelContentsCreator; | 51 class TabStripModelContentsCreator; |
| 53 class ThumbnailGenerator; | 52 class ThumbnailGenerator; |
| 54 class TranslateTabHelper; | 53 class TranslateTabHelper; |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 | 273 |
| 275 scoped_ptr<ZoomController> zoom_controller_; | 274 scoped_ptr<ZoomController> zoom_controller_; |
| 276 | 275 |
| 277 // Per-tab observers --------------------------------------------------------- | 276 // Per-tab observers --------------------------------------------------------- |
| 278 // (These provide no API for callers; objects that need to exist 1:1 with tabs | 277 // (These provide no API for callers; objects that need to exist 1:1 with tabs |
| 279 // and silently do their thing live here.) | 278 // and silently do their thing live here.) |
| 280 | 279 |
| 281 scoped_ptr<ExternalProtocolObserver> external_protocol_observer_; | 280 scoped_ptr<ExternalProtocolObserver> external_protocol_observer_; |
| 282 scoped_ptr<NavigationMetricsRecorder> navigation_metrics_recorder_; | 281 scoped_ptr<NavigationMetricsRecorder> navigation_metrics_recorder_; |
| 283 scoped_ptr<PepperBrokerObserver> pepper_broker_observer_; | 282 scoped_ptr<PepperBrokerObserver> pepper_broker_observer_; |
| 284 scoped_ptr<PluginObserver> plugin_observer_; | |
| 285 scoped_ptr<safe_browsing::SafeBrowsingTabObserver> | 283 scoped_ptr<safe_browsing::SafeBrowsingTabObserver> |
| 286 safe_browsing_tab_observer_; | 284 safe_browsing_tab_observer_; |
| 287 | 285 |
| 288 // WebContents (MUST BE LAST) ------------------------------------------------ | 286 // WebContents (MUST BE LAST) ------------------------------------------------ |
| 289 | 287 |
| 290 // If true, we're running the destructor. | 288 // If true, we're running the destructor. |
| 291 bool in_destructor_; | 289 bool in_destructor_; |
| 292 | 290 |
| 293 // The supporting objects need to outlive the WebContents dtor (as they may | 291 // The supporting objects need to outlive the WebContents dtor (as they may |
| 294 // be called upon during its execution). As a result, this must come last | 292 // be called upon during its execution). As a result, this must come last |
| 295 // in the list. | 293 // in the list. |
| 296 scoped_ptr<content::WebContents> web_contents_; | 294 scoped_ptr<content::WebContents> web_contents_; |
| 297 | 295 |
| 298 DISALLOW_COPY_AND_ASSIGN(TabContents); | 296 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 299 }; | 297 }; |
| 300 | 298 |
| 301 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ | 299 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |