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" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "content/public/browser/web_contents_observer.h" | 12 #include "content/public/browser/web_contents_observer.h" |
13 | 13 |
14 class Browser; | 14 class Browser; |
15 class BrowserCommandsTabContentsCreator; | 15 class BrowserCommandsTabContentsCreator; |
16 class BrowserLauncherItemControllerContentsCreator; | 16 class BrowserLauncherItemControllerContentsCreator; |
17 class BrowserTabstripTabContentsCreator; | 17 class BrowserTabstripTabContentsCreator; |
18 class ChromeWebContentsHandler; | 18 class ChromeWebContentsHandler; |
19 class ConstrainedWebDialogDelegateBase; | 19 class ConstrainedWebDialogDelegateBase; |
20 class ExtensionTabUtil; | 20 class ExtensionTabUtil; |
21 class ExternalTabContainerWin; | 21 class ExternalTabContainerWin; |
22 class InfoBarControllerContentsCreator; | 22 class InfoBarControllerContentsCreator; |
23 class InstantLoader; | 23 class InstantLoader; |
24 class OffscreenTabContentsCreator; | 24 class OffscreenTabContentsCreator; |
25 class PanelHost; | 25 class PanelHost; |
26 class Profile; | 26 class Profile; |
27 class ShellWindow; | |
28 class TabContentsTestHarness; | 27 class TabContentsTestHarness; |
29 class TabStripModel; | 28 class TabStripModel; |
30 class TabStripModelContentsCreator; | 29 class TabStripModelContentsCreator; |
31 class TranslationInfoBarTestContentsCreator; | 30 class TranslationInfoBarTestContentsCreator; |
32 class WebDialogGtk; | 31 class WebDialogGtk; |
33 class WebDialogWindowControllerTabContentsCreator; | 32 class WebDialogWindowControllerTabContentsCreator; |
34 class WebIntentInlineDispositionBrowserTest; | 33 class WebIntentInlineDispositionBrowserTest; |
35 class WebIntentPickerCocoa; | 34 class WebIntentPickerCocoa; |
36 class WebIntentPickerGtk; | 35 class WebIntentPickerGtk; |
37 | 36 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 friend class ChromeWebContentsHandler; | 79 friend class ChromeWebContentsHandler; |
81 friend class ConstrainedWebDialogDelegateBase; | 80 friend class ConstrainedWebDialogDelegateBase; |
82 friend class extensions::WebAuthFlow; | 81 friend class extensions::WebAuthFlow; |
83 friend class ExtensionTabUtil; | 82 friend class ExtensionTabUtil; |
84 friend class ExternalTabContainerWin; | 83 friend class ExternalTabContainerWin; |
85 friend class InfoBarControllerContentsCreator; | 84 friend class InfoBarControllerContentsCreator; |
86 friend class InstantLoader; | 85 friend class InstantLoader; |
87 friend class OffscreenTabContentsCreator; | 86 friend class OffscreenTabContentsCreator; |
88 friend class PanelHost; | 87 friend class PanelHost; |
89 friend class prerender::PrerenderContents; | 88 friend class prerender::PrerenderContents; |
90 friend class ShellWindow; | |
91 // See crbug.com/153587 | 89 // See crbug.com/153587 |
92 friend class TabAndroid; | 90 friend class TabAndroid; |
93 friend class TabContentsTestHarness; | 91 friend class TabContentsTestHarness; |
94 friend class TabStripModel; | 92 friend class TabStripModel; |
95 friend class TabStripModelContentsCreator; | 93 friend class TabStripModelContentsCreator; |
96 friend class TranslationInfoBarTestContentsCreator; | 94 friend class TranslationInfoBarTestContentsCreator; |
97 friend class WebDialogGtk; | 95 friend class WebDialogGtk; |
98 friend class WebDialogWindowControllerTabContentsCreator; | 96 friend class WebDialogWindowControllerTabContentsCreator; |
99 friend class WebIntentInlineDispositionBrowserTest; | 97 friend class WebIntentInlineDispositionBrowserTest; |
100 friend class WebIntentPickerCocoa; | 98 friend class WebIntentPickerCocoa; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 | 147 |
150 // The supporting objects need to outlive the WebContents dtor (as they may | 148 // The supporting objects need to outlive the WebContents dtor (as they may |
151 // be called upon during its execution). As a result, this must come last | 149 // be called upon during its execution). As a result, this must come last |
152 // in the list. | 150 // in the list. |
153 scoped_ptr<content::WebContents> web_contents_; | 151 scoped_ptr<content::WebContents> web_contents_; |
154 | 152 |
155 DISALLOW_COPY_AND_ASSIGN(TabContents); | 153 DISALLOW_COPY_AND_ASSIGN(TabContents); |
156 }; | 154 }; |
157 | 155 |
158 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ | 156 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |