| 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 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #include <deque> | 10 #include <deque> |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 class OmniboxSearchHint; | 77 class OmniboxSearchHint; |
| 78 class PluginInstaller; | 78 class PluginInstaller; |
| 79 class Profile; | 79 class Profile; |
| 80 struct RendererPreferences; | 80 struct RendererPreferences; |
| 81 class RenderViewHost; | 81 class RenderViewHost; |
| 82 class SiteInstance; | 82 class SiteInstance; |
| 83 class SkBitmap; | 83 class SkBitmap; |
| 84 class TabContents; | 84 class TabContents; |
| 85 class TabContentsDelegate; | 85 class TabContentsDelegate; |
| 86 class TabContentsFactory; | 86 class TabContentsFactory; |
| 87 class TabContentsSSLHelper; |
| 87 class TabContentsView; | 88 class TabContentsView; |
| 88 class URLPattern; | 89 class URLPattern; |
| 89 class URLRequestContextGetter; | 90 class URLRequestContextGetter; |
| 90 struct ThumbnailScore; | 91 struct ThumbnailScore; |
| 91 struct ViewHostMsg_DidPrintPage_Params; | 92 struct ViewHostMsg_DidPrintPage_Params; |
| 92 struct ViewHostMsg_FrameNavigate_Params; | 93 struct ViewHostMsg_FrameNavigate_Params; |
| 93 struct ViewHostMsg_RunFileChooser_Params; | 94 struct ViewHostMsg_RunFileChooser_Params; |
| 94 struct WebPreferences; | 95 struct WebPreferences; |
| 95 | 96 |
| 96 // Describes what goes in the main content area of a tab. TabContents is | 97 // Describes what goes in the main content area of a tab. TabContents is |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 | 158 |
| 158 // Returns the AutoFillManager, creating it if necessary. | 159 // Returns the AutoFillManager, creating it if necessary. |
| 159 AutoFillManager* GetAutoFillManager(); | 160 AutoFillManager* GetAutoFillManager(); |
| 160 | 161 |
| 161 // Returns the PasswordManager, creating it if necessary. | 162 // Returns the PasswordManager, creating it if necessary. |
| 162 PasswordManager* GetPasswordManager(); | 163 PasswordManager* GetPasswordManager(); |
| 163 | 164 |
| 164 // Returns the PluginInstaller, creating it if necessary. | 165 // Returns the PluginInstaller, creating it if necessary. |
| 165 PluginInstaller* GetPluginInstaller(); | 166 PluginInstaller* GetPluginInstaller(); |
| 166 | 167 |
| 168 // Returns the TabContentsSSLHelper, creating if it necessary. |
| 169 TabContentsSSLHelper* GetSSLHelper(); |
| 170 |
| 167 // Returns the SavePackage which manages the page saving job. May be NULL. | 171 // Returns the SavePackage which manages the page saving job. May be NULL. |
| 168 SavePackage* save_package() const { return save_package_.get(); } | 172 SavePackage* save_package() const { return save_package_.get(); } |
| 169 | 173 |
| 170 // Return the currently active RenderProcessHost and RenderViewHost. Each of | 174 // Return the currently active RenderProcessHost and RenderViewHost. Each of |
| 171 // these may change over time. | 175 // these may change over time. |
| 172 RenderProcessHost* GetRenderProcessHost() const; | 176 RenderProcessHost* GetRenderProcessHost() const; |
| 173 RenderViewHost* render_view_host() const { | 177 RenderViewHost* render_view_host() const { |
| 174 return render_manager_.current_host(); | 178 return render_manager_.current_host(); |
| 175 } | 179 } |
| 176 // Returns the currently active RenderWidgetHostView. This may change over | 180 // Returns the currently active RenderWidgetHostView. This may change over |
| (...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 882 GetRendererManagementDelegate(); | 886 GetRendererManagementDelegate(); |
| 883 virtual RenderViewHostDelegate::BrowserIntegration* | 887 virtual RenderViewHostDelegate::BrowserIntegration* |
| 884 GetBrowserIntegrationDelegate(); | 888 GetBrowserIntegrationDelegate(); |
| 885 virtual RenderViewHostDelegate::Resource* GetResourceDelegate(); | 889 virtual RenderViewHostDelegate::Resource* GetResourceDelegate(); |
| 886 virtual RenderViewHostDelegate::ContentSettings* GetContentSettingsDelegate(); | 890 virtual RenderViewHostDelegate::ContentSettings* GetContentSettingsDelegate(); |
| 887 virtual RenderViewHostDelegate::Save* GetSaveDelegate(); | 891 virtual RenderViewHostDelegate::Save* GetSaveDelegate(); |
| 888 virtual RenderViewHostDelegate::Printing* GetPrintingDelegate(); | 892 virtual RenderViewHostDelegate::Printing* GetPrintingDelegate(); |
| 889 virtual RenderViewHostDelegate::FavIcon* GetFavIconDelegate(); | 893 virtual RenderViewHostDelegate::FavIcon* GetFavIconDelegate(); |
| 890 virtual RenderViewHostDelegate::Autocomplete* GetAutocompleteDelegate(); | 894 virtual RenderViewHostDelegate::Autocomplete* GetAutocompleteDelegate(); |
| 891 virtual RenderViewHostDelegate::AutoFill* GetAutoFillDelegate(); | 895 virtual RenderViewHostDelegate::AutoFill* GetAutoFillDelegate(); |
| 896 virtual RenderViewHostDelegate::SSL* GetSSLDelegate(); |
| 892 virtual AutomationResourceRoutingDelegate* | 897 virtual AutomationResourceRoutingDelegate* |
| 893 GetAutomationResourceRoutingDelegate(); | 898 GetAutomationResourceRoutingDelegate(); |
| 894 virtual TabContents* GetAsTabContents(); | 899 virtual TabContents* GetAsTabContents(); |
| 895 virtual ViewType::Type GetRenderViewType() const; | 900 virtual ViewType::Type GetRenderViewType() const; |
| 896 virtual int GetBrowserWindowID() const; | 901 virtual int GetBrowserWindowID() const; |
| 897 virtual void RenderViewCreated(RenderViewHost* render_view_host); | 902 virtual void RenderViewCreated(RenderViewHost* render_view_host); |
| 898 virtual void RenderViewReady(RenderViewHost* render_view_host); | 903 virtual void RenderViewReady(RenderViewHost* render_view_host); |
| 899 virtual void RenderViewGone(RenderViewHost* render_view_host); | 904 virtual void RenderViewGone(RenderViewHost* render_view_host); |
| 900 virtual void RenderViewDeleted(RenderViewHost* render_view_host); | 905 virtual void RenderViewDeleted(RenderViewHost* render_view_host); |
| 901 virtual void DidNavigate(RenderViewHost* render_view_host, | 906 virtual void DidNavigate(RenderViewHost* render_view_host, |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1063 | 1068 |
| 1064 // AutoFillManager, lazily created. | 1069 // AutoFillManager, lazily created. |
| 1065 scoped_ptr<AutoFillManager> autofill_manager_; | 1070 scoped_ptr<AutoFillManager> autofill_manager_; |
| 1066 | 1071 |
| 1067 // PasswordManager, lazily created. | 1072 // PasswordManager, lazily created. |
| 1068 scoped_ptr<PasswordManager> password_manager_; | 1073 scoped_ptr<PasswordManager> password_manager_; |
| 1069 | 1074 |
| 1070 // PluginInstaller, lazily created. | 1075 // PluginInstaller, lazily created. |
| 1071 scoped_ptr<PluginInstaller> plugin_installer_; | 1076 scoped_ptr<PluginInstaller> plugin_installer_; |
| 1072 | 1077 |
| 1078 // TabContentsSSLHelper, lazily created. |
| 1079 scoped_ptr<TabContentsSSLHelper> ssl_helper_; |
| 1080 |
| 1073 // Handles drag and drop event forwarding to extensions. | 1081 // Handles drag and drop event forwarding to extensions. |
| 1074 BookmarkDrag* bookmark_drag_; | 1082 BookmarkDrag* bookmark_drag_; |
| 1075 | 1083 |
| 1076 // Handles downloading favicons. | 1084 // Handles downloading favicons. |
| 1077 FavIconHelper fav_icon_helper_; | 1085 FavIconHelper fav_icon_helper_; |
| 1078 | 1086 |
| 1079 // Dialog box used for choosing files to upload from file form fields. | 1087 // Dialog box used for choosing files to upload from file form fields. |
| 1080 scoped_refptr<SelectFileDialog> select_file_dialog_; | 1088 scoped_refptr<SelectFileDialog> select_file_dialog_; |
| 1081 | 1089 |
| 1082 // Cached web app info data. | 1090 // Cached web app info data. |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1263 | 1271 |
| 1264 // See description above setter. | 1272 // See description above setter. |
| 1265 bool closed_by_user_gesture_; | 1273 bool closed_by_user_gesture_; |
| 1266 | 1274 |
| 1267 // --------------------------------------------------------------------------- | 1275 // --------------------------------------------------------------------------- |
| 1268 | 1276 |
| 1269 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1277 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 1270 }; | 1278 }; |
| 1271 | 1279 |
| 1272 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1280 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |