| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 friend class ExtensionTabUtil; | 123 friend class ExtensionTabUtil; |
| 124 friend class ExternalTabContainerWin; | 124 friend class ExternalTabContainerWin; |
| 125 friend class FindBackendTestContentsCreator; | 125 friend class FindBackendTestContentsCreator; |
| 126 friend class GeolocationPermissionContextTests; | 126 friend class GeolocationPermissionContextTests; |
| 127 friend class InfoBarControllerContentsCreator; | 127 friend class InfoBarControllerContentsCreator; |
| 128 friend class InstantLoader; | 128 friend class InstantLoader; |
| 129 friend class OffscreenTabContentsCreator; | 129 friend class OffscreenTabContentsCreator; |
| 130 friend class PanelHost; | 130 friend class PanelHost; |
| 131 friend class prerender::PrerenderContents; | 131 friend class prerender::PrerenderContents; |
| 132 friend class ShellWindow; | 132 friend class ShellWindow; |
| 133 friend class TabAndroid; |
| 133 friend class TabContentsTestHarness; | 134 friend class TabContentsTestHarness; |
| 134 friend class TabStripModel; | 135 friend class TabStripModel; |
| 135 friend class TabStripModelContentsCreator; | 136 friend class TabStripModelContentsCreator; |
| 136 friend class TranslationInfoBarTestContentsCreator; | 137 friend class TranslationInfoBarTestContentsCreator; |
| 137 friend class WebDialogGtk; | 138 friend class WebDialogGtk; |
| 138 friend class WebDialogWindowControllerTabContentsCreator; | 139 friend class WebDialogWindowControllerTabContentsCreator; |
| 139 friend class WebIntentInlineDispositionBrowserTest; | 140 friend class WebIntentInlineDispositionBrowserTest; |
| 140 friend class WebIntentPickerCocoa; | 141 friend class WebIntentPickerCocoa; |
| 141 friend class WebIntentPickerGtk; | 142 friend class WebIntentPickerGtk; |
| 142 friend class WebUITestContentsCreator; | 143 friend class WebUITestContentsCreator; |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 | 307 |
| 307 // The supporting objects need to outlive the WebContents dtor (as they may | 308 // 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 | 309 // be called upon during its execution). As a result, this must come last |
| 309 // in the list. | 310 // in the list. |
| 310 scoped_ptr<content::WebContents> web_contents_; | 311 scoped_ptr<content::WebContents> web_contents_; |
| 311 | 312 |
| 312 DISALLOW_COPY_AND_ASSIGN(TabContents); | 313 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 313 }; | 314 }; |
| 314 | 315 |
| 315 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ | 316 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |