| 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/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 class GeolocationPermissionContextTests; | 33 class GeolocationPermissionContextTests; |
| 34 class HistoryTabHelper; | 34 class HistoryTabHelper; |
| 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; | |
| 44 class PrefsTabHelper; | 43 class PrefsTabHelper; |
| 45 class Profile; | 44 class Profile; |
| 46 class ShellWindow; | 45 class ShellWindow; |
| 47 class TabAutofillManagerDelegate; | 46 class TabAutofillManagerDelegate; |
| 48 class TabContentsTestHarness; | 47 class TabContentsTestHarness; |
| 49 class TabSpecificContentSettings; | 48 class TabSpecificContentSettings; |
| 50 class TabStripModel; | 49 class TabStripModel; |
| 51 class TabStripModelContentsCreator; | 50 class TabStripModelContentsCreator; |
| 52 class ThumbnailGenerator; | 51 class ThumbnailGenerator; |
| 53 class TranslateTabHelper; | 52 class TranslateTabHelper; |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 | 253 |
| 255 scoped_ptr<ThumbnailGenerator> thumbnail_generator_; | 254 scoped_ptr<ThumbnailGenerator> thumbnail_generator_; |
| 256 scoped_ptr<TranslateTabHelper> translate_tab_helper_; | 255 scoped_ptr<TranslateTabHelper> translate_tab_helper_; |
| 257 | 256 |
| 258 // Per-tab observers --------------------------------------------------------- | 257 // Per-tab observers --------------------------------------------------------- |
| 259 // (These provide no API for callers; objects that need to exist 1:1 with tabs | 258 // (These provide no API for callers; objects that need to exist 1:1 with tabs |
| 260 // and silently do their thing live here.) | 259 // and silently do their thing live here.) |
| 261 | 260 |
| 262 scoped_ptr<ExternalProtocolObserver> external_protocol_observer_; | 261 scoped_ptr<ExternalProtocolObserver> external_protocol_observer_; |
| 263 scoped_ptr<NavigationMetricsRecorder> navigation_metrics_recorder_; | 262 scoped_ptr<NavigationMetricsRecorder> navigation_metrics_recorder_; |
| 264 scoped_ptr<PepperBrokerObserver> pepper_broker_observer_; | |
| 265 scoped_ptr<safe_browsing::SafeBrowsingTabObserver> | 263 scoped_ptr<safe_browsing::SafeBrowsingTabObserver> |
| 266 safe_browsing_tab_observer_; | 264 safe_browsing_tab_observer_; |
| 267 | 265 |
| 268 // WebContents (MUST BE LAST) ------------------------------------------------ | 266 // WebContents (MUST BE LAST) ------------------------------------------------ |
| 269 | 267 |
| 270 // If true, we're running the destructor. | 268 // If true, we're running the destructor. |
| 271 bool in_destructor_; | 269 bool in_destructor_; |
| 272 | 270 |
| 273 // The supporting objects need to outlive the WebContents dtor (as they may | 271 // The supporting objects need to outlive the WebContents dtor (as they may |
| 274 // be called upon during its execution). As a result, this must come last | 272 // be called upon during its execution). As a result, this must come last |
| 275 // in the list. | 273 // in the list. |
| 276 scoped_ptr<content::WebContents> web_contents_; | 274 scoped_ptr<content::WebContents> web_contents_; |
| 277 | 275 |
| 278 DISALLOW_COPY_AND_ASSIGN(TabContents); | 276 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 279 }; | 277 }; |
| 280 | 278 |
| 281 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ | 279 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |