| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 class AutocompleteHistoryManager; | 62 class AutocompleteHistoryManager; |
| 63 class AutoFillManager; | 63 class AutoFillManager; |
| 64 class BlockedPluginManager; | 64 class BlockedPluginManager; |
| 65 class BlockedPopupContainer; | 65 class BlockedPopupContainer; |
| 66 class DOMUI; | 66 class DOMUI; |
| 67 class DownloadItem; | 67 class DownloadItem; |
| 68 class Extension; | 68 class Extension; |
| 69 class InfoBarDelegate; | 69 class InfoBarDelegate; |
| 70 class LoadNotificationDetails; | 70 class LoadNotificationDetails; |
| 71 class MatchPreview; |
| 71 class OmniboxSearchHint; | 72 class OmniboxSearchHint; |
| 72 class PasswordManager; | 73 class PasswordManager; |
| 73 class PluginInstaller; | 74 class PluginInstaller; |
| 74 class Profile; | 75 class Profile; |
| 75 struct RendererPreferences; | 76 struct RendererPreferences; |
| 76 class RenderViewHost; | 77 class RenderViewHost; |
| 77 class SiteInstance; | 78 class SiteInstance; |
| 78 class SkBitmap; | 79 class SkBitmap; |
| 79 class TabContents; | 80 class TabContents; |
| 80 class TabContentsDelegate; | 81 class TabContentsDelegate; |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 | 154 |
| 154 // Returns the PasswordManager, creating it if necessary. | 155 // Returns the PasswordManager, creating it if necessary. |
| 155 PasswordManager* GetPasswordManager(); | 156 PasswordManager* GetPasswordManager(); |
| 156 | 157 |
| 157 // Returns the PluginInstaller, creating it if necessary. | 158 // Returns the PluginInstaller, creating it if necessary. |
| 158 PluginInstaller* GetPluginInstaller(); | 159 PluginInstaller* GetPluginInstaller(); |
| 159 | 160 |
| 160 // Returns the TabContentsSSLHelper, creating if it necessary. | 161 // Returns the TabContentsSSLHelper, creating if it necessary. |
| 161 TabContentsSSLHelper* GetSSLHelper(); | 162 TabContentsSSLHelper* GetSSLHelper(); |
| 162 | 163 |
| 164 // Returns the MatchPreview. Returns NULL if MatchPreview is not enabled. |
| 165 MatchPreview* match_preview() { return match_preview_.get(); } |
| 166 |
| 163 // Returns the SavePackage which manages the page saving job. May be NULL. | 167 // Returns the SavePackage which manages the page saving job. May be NULL. |
| 164 SavePackage* save_package() const { return save_package_.get(); } | 168 SavePackage* save_package() const { return save_package_.get(); } |
| 165 | 169 |
| 166 // Return the currently active RenderProcessHost and RenderViewHost. Each of | 170 // Return the currently active RenderProcessHost and RenderViewHost. Each of |
| 167 // these may change over time. | 171 // these may change over time. |
| 168 RenderProcessHost* GetRenderProcessHost() const; | 172 RenderProcessHost* GetRenderProcessHost() const; |
| 169 RenderViewHost* render_view_host() const { | 173 RenderViewHost* render_view_host() const { |
| 170 return render_manager_.current_host(); | 174 return render_manager_.current_host(); |
| 171 } | 175 } |
| 172 // Returns the currently active RenderWidgetHostView. This may change over | 176 // Returns the currently active RenderWidgetHostView. This may change over |
| (...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1254 | 1258 |
| 1255 // Information about the language the page is in and has been translated to. | 1259 // Information about the language the page is in and has been translated to. |
| 1256 LanguageState language_state_; | 1260 LanguageState language_state_; |
| 1257 | 1261 |
| 1258 // See description above setter. | 1262 // See description above setter. |
| 1259 bool closed_by_user_gesture_; | 1263 bool closed_by_user_gesture_; |
| 1260 | 1264 |
| 1261 // See description in RenderViewHostDelegate::SetDisplayingPDFContent. | 1265 // See description in RenderViewHostDelegate::SetDisplayingPDFContent. |
| 1262 bool displaying_pdf_content_; | 1266 bool displaying_pdf_content_; |
| 1263 | 1267 |
| 1268 scoped_ptr<MatchPreview> match_preview_; |
| 1269 |
| 1264 // --------------------------------------------------------------------------- | 1270 // --------------------------------------------------------------------------- |
| 1265 | 1271 |
| 1266 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1272 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 1267 }; | 1273 }; |
| 1268 | 1274 |
| 1269 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1275 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |