| 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_TAB_CONTENTS_TAB_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 class AutocompleteHistoryManager; | 62 class AutocompleteHistoryManager; |
| 63 class AutoFillManager; | 63 class AutoFillManager; |
| 64 class BlockedContentContainer; | 64 class BlockedContentContainer; |
| 65 class DOMUI; | 65 class DOMUI; |
| 66 class DownloadItem; | 66 class DownloadItem; |
| 67 class Extension; | 67 class Extension; |
| 68 class FileSelectHelper; | 68 class FileSelectHelper; |
| 69 class InfoBarDelegate; | 69 class InfoBarDelegate; |
| 70 class LoadNotificationDetails; | 70 class LoadNotificationDetails; |
| 71 class OmniboxSearchHint; | 71 class OmniboxSearchHint; |
| 72 class PluginInstaller; | 72 class PluginInstallerInfoBarDelegate; |
| 73 class Profile; | 73 class Profile; |
| 74 class PrerenderManager; | 74 class PrerenderManager; |
| 75 struct RendererPreferences; | 75 struct RendererPreferences; |
| 76 class RenderViewHost; | 76 class RenderViewHost; |
| 77 class SessionStorageNamespace; | 77 class SessionStorageNamespace; |
| 78 class SiteInstance; | 78 class SiteInstance; |
| 79 class SkBitmap; | 79 class SkBitmap; |
| 80 class TabContents; | 80 class TabContents; |
| 81 class TabContentsDelegate; | 81 class TabContentsDelegate; |
| 82 class TabContentsSSLHelper; | 82 class TabContentsSSLHelper; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 NavigationController& controller() { return controller_; } | 143 NavigationController& controller() { return controller_; } |
| 144 const NavigationController& controller() const { return controller_; } | 144 const NavigationController& controller() const { return controller_; } |
| 145 | 145 |
| 146 // Returns the user profile associated with this TabContents (via the | 146 // Returns the user profile associated with this TabContents (via the |
| 147 // NavigationController). | 147 // NavigationController). |
| 148 Profile* profile() const { return controller_.profile(); } | 148 Profile* profile() const { return controller_.profile(); } |
| 149 | 149 |
| 150 // Returns true if contains content rendered by an extension. | 150 // Returns true if contains content rendered by an extension. |
| 151 bool HostsExtension() const; | 151 bool HostsExtension() const; |
| 152 | 152 |
| 153 // Returns the PluginInstaller, creating it if necessary. | 153 // Returns the PluginInstallerInfoBarDelegate, creating it if necessary. |
| 154 PluginInstaller* GetPluginInstaller(); | 154 PluginInstallerInfoBarDelegate* GetPluginInstaller(); |
| 155 | 155 |
| 156 // Returns the TabContentsSSLHelper, creating it if necessary. | 156 // Returns the TabContentsSSLHelper, creating it if necessary. |
| 157 TabContentsSSLHelper* GetSSLHelper(); | 157 TabContentsSSLHelper* GetSSLHelper(); |
| 158 | 158 |
| 159 // Returns the SavePackage which manages the page saving job. May be NULL. | 159 // Returns the SavePackage which manages the page saving job. May be NULL. |
| 160 SavePackage* save_package() const { return save_package_.get(); } | 160 SavePackage* save_package() const { return save_package_.get(); } |
| 161 | 161 |
| 162 // Return the currently active RenderProcessHost and RenderViewHost. Each of | 162 // Return the currently active RenderProcessHost and RenderViewHost. Each of |
| 163 // these may change over time. | 163 // these may change over time. |
| 164 RenderProcessHost* GetRenderProcessHost() const; | 164 RenderProcessHost* GetRenderProcessHost() const; |
| (...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1124 | 1124 |
| 1125 // SavePackage, lazily created. | 1125 // SavePackage, lazily created. |
| 1126 scoped_refptr<SavePackage> save_package_; | 1126 scoped_refptr<SavePackage> save_package_; |
| 1127 | 1127 |
| 1128 // AutocompleteHistoryManager. | 1128 // AutocompleteHistoryManager. |
| 1129 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; | 1129 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; |
| 1130 | 1130 |
| 1131 // AutoFillManager. | 1131 // AutoFillManager. |
| 1132 scoped_ptr<AutoFillManager> autofill_manager_; | 1132 scoped_ptr<AutoFillManager> autofill_manager_; |
| 1133 | 1133 |
| 1134 // PluginInstaller, lazily created. | 1134 // PluginInstallerInfoBarDelegate, lazily created. |
| 1135 scoped_ptr<PluginInstaller> plugin_installer_; | 1135 scoped_ptr<PluginInstallerInfoBarDelegate> plugin_installer_; |
| 1136 | 1136 |
| 1137 // TabContentsSSLHelper, lazily created. | 1137 // TabContentsSSLHelper, lazily created. |
| 1138 scoped_ptr<TabContentsSSLHelper> ssl_helper_; | 1138 scoped_ptr<TabContentsSSLHelper> ssl_helper_; |
| 1139 | 1139 |
| 1140 // FileSelectHelper, lazily created. | 1140 // FileSelectHelper, lazily created. |
| 1141 scoped_ptr<FileSelectHelper> file_select_helper_; | 1141 scoped_ptr<FileSelectHelper> file_select_helper_; |
| 1142 | 1142 |
| 1143 // Handles drag and drop event forwarding to extensions. | 1143 // Handles drag and drop event forwarding to extensions. |
| 1144 BookmarkDrag* bookmark_drag_; | 1144 BookmarkDrag* bookmark_drag_; |
| 1145 | 1145 |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1348 // (full-page plugins for now only) permissions. | 1348 // (full-page plugins for now only) permissions. |
| 1349 int content_restrictions_; | 1349 int content_restrictions_; |
| 1350 | 1350 |
| 1351 // All the IPC message filters for this render view. | 1351 // All the IPC message filters for this render view. |
| 1352 std::vector<IPC::Channel::Listener*> message_filters_; | 1352 std::vector<IPC::Channel::Listener*> message_filters_; |
| 1353 | 1353 |
| 1354 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1354 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 1355 }; | 1355 }; |
| 1356 | 1356 |
| 1357 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1357 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |