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