| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WRAPPER_H_ | 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
| 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/scoped_ptr.h" | 10 #include "base/scoped_ptr.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "chrome/browser/tab_contents/tab_contents.h" | |
| 13 #include "chrome/browser/tab_contents/tab_contents_observer.h" | |
| 14 #include "chrome/common/notification_registrar.h" | 12 #include "chrome/common/notification_registrar.h" |
| 13 #include "content/browser/tab_contents/tab_contents.h" |
| 14 #include "content/browser/tab_contents/tab_contents_observer.h" |
| 15 | 15 |
| 16 class Extension; | 16 class Extension; |
| 17 class FindTabHelper; | 17 class FindTabHelper; |
| 18 class NavigationController; | 18 class NavigationController; |
| 19 class PasswordManager; | 19 class PasswordManager; |
| 20 class PasswordManagerDelegate; | 20 class PasswordManagerDelegate; |
| 21 class SearchEngineTabHelper; | 21 class SearchEngineTabHelper; |
| 22 class TabContentsWrapperDelegate; | 22 class TabContentsWrapperDelegate; |
| 23 | 23 |
| 24 // Wraps TabContents and all of its supporting objects in order to control | 24 // Wraps TabContents and all of its supporting objects in order to control |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 | 144 |
| 145 // The supporting objects need to outlive the TabContents dtor (as they may | 145 // The supporting objects need to outlive the TabContents dtor (as they may |
| 146 // be called upon during its execution). As a result, this must come last | 146 // be called upon during its execution). As a result, this must come last |
| 147 // in the list. | 147 // in the list. |
| 148 scoped_ptr<TabContents> tab_contents_; | 148 scoped_ptr<TabContents> tab_contents_; |
| 149 | 149 |
| 150 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); | 150 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); |
| 151 }; | 151 }; |
| 152 | 152 |
| 153 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 153 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
| OLD | NEW |