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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 namespace printing { | 60 namespace printing { |
61 class PrintViewManager; | 61 class PrintViewManager; |
62 } | 62 } |
63 | 63 |
64 namespace IPC { | 64 namespace IPC { |
65 class Message; | 65 class Message; |
66 } | 66 } |
67 | 67 |
68 class AutocompleteHistoryManager; | 68 class AutocompleteHistoryManager; |
69 class AutoFillManager; | 69 class AutoFillManager; |
| 70 class BlockedPluginManager; |
70 class BlockedPopupContainer; | 71 class BlockedPopupContainer; |
71 class DOMUI; | 72 class DOMUI; |
72 class DownloadItem; | 73 class DownloadItem; |
73 class Extension; | 74 class Extension; |
74 class GeolocationSettingsState; | 75 class GeolocationSettingsState; |
75 class InfoBarDelegate; | 76 class InfoBarDelegate; |
76 class LoadNotificationDetails; | 77 class LoadNotificationDetails; |
77 class OmniboxSearchHint; | 78 class OmniboxSearchHint; |
78 class PasswordManager; | 79 class PasswordManager; |
79 class PluginInstaller; | 80 class PluginInstaller; |
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 const gfx::Rect& selection_rect, | 834 const gfx::Rect& selection_rect, |
834 int active_match_ordinal, | 835 int active_match_ordinal, |
835 bool final_update); | 836 bool final_update); |
836 virtual void GoToEntryAtOffset(int offset); | 837 virtual void GoToEntryAtOffset(int offset); |
837 virtual void OnMissingPluginStatus(int status); | 838 virtual void OnMissingPluginStatus(int status); |
838 virtual void OnCrashedPlugin(const FilePath& plugin_path); | 839 virtual void OnCrashedPlugin(const FilePath& plugin_path); |
839 virtual void OnCrashedWorker(); | 840 virtual void OnCrashedWorker(); |
840 virtual void OnDidGetApplicationInfo( | 841 virtual void OnDidGetApplicationInfo( |
841 int32 page_id, | 842 int32 page_id, |
842 const webkit_glue::WebApplicationInfo& info); | 843 const webkit_glue::WebApplicationInfo& info); |
| 844 virtual void OnDisabledOutdatedPlugin(const string16& name, |
| 845 const GURL& update_url); |
843 virtual void OnPageContents(const GURL& url, | 846 virtual void OnPageContents(const GURL& url, |
844 int renderer_process_id, | 847 int renderer_process_id, |
845 int32 page_id, | 848 int32 page_id, |
846 const string16& contents, | 849 const string16& contents, |
847 const std::string& language, | 850 const std::string& language, |
848 bool page_translatable); | 851 bool page_translatable); |
849 virtual void OnPageTranslated(int32 page_id, | 852 virtual void OnPageTranslated(int32 page_id, |
850 const std::string& original_lang, | 853 const std::string& original_lang, |
851 const std::string& translated_lang, | 854 const std::string& translated_lang, |
852 TranslateErrors::Type error_type); | 855 TranslateErrors::Type error_type); |
(...skipping 30 matching lines...) Expand all Loading... |
883 GetRendererManagementDelegate(); | 886 GetRendererManagementDelegate(); |
884 virtual RenderViewHostDelegate::BrowserIntegration* | 887 virtual RenderViewHostDelegate::BrowserIntegration* |
885 GetBrowserIntegrationDelegate(); | 888 GetBrowserIntegrationDelegate(); |
886 virtual RenderViewHostDelegate::Resource* GetResourceDelegate(); | 889 virtual RenderViewHostDelegate::Resource* GetResourceDelegate(); |
887 virtual RenderViewHostDelegate::ContentSettings* GetContentSettingsDelegate(); | 890 virtual RenderViewHostDelegate::ContentSettings* GetContentSettingsDelegate(); |
888 virtual RenderViewHostDelegate::Save* GetSaveDelegate(); | 891 virtual RenderViewHostDelegate::Save* GetSaveDelegate(); |
889 virtual RenderViewHostDelegate::Printing* GetPrintingDelegate(); | 892 virtual RenderViewHostDelegate::Printing* GetPrintingDelegate(); |
890 virtual RenderViewHostDelegate::FavIcon* GetFavIconDelegate(); | 893 virtual RenderViewHostDelegate::FavIcon* GetFavIconDelegate(); |
891 virtual RenderViewHostDelegate::Autocomplete* GetAutocompleteDelegate(); | 894 virtual RenderViewHostDelegate::Autocomplete* GetAutocompleteDelegate(); |
892 virtual RenderViewHostDelegate::AutoFill* GetAutoFillDelegate(); | 895 virtual RenderViewHostDelegate::AutoFill* GetAutoFillDelegate(); |
| 896 virtual RenderViewHostDelegate::BlockedPlugin* GetBlockedPluginDelegate(); |
893 virtual AutomationResourceRoutingDelegate* | 897 virtual AutomationResourceRoutingDelegate* |
894 GetAutomationResourceRoutingDelegate(); | 898 GetAutomationResourceRoutingDelegate(); |
895 virtual TabContents* GetAsTabContents(); | 899 virtual TabContents* GetAsTabContents(); |
896 virtual ViewType::Type GetRenderViewType() const; | 900 virtual ViewType::Type GetRenderViewType() const; |
897 virtual int GetBrowserWindowID() const; | 901 virtual int GetBrowserWindowID() const; |
898 virtual void RenderViewCreated(RenderViewHost* render_view_host); | 902 virtual void RenderViewCreated(RenderViewHost* render_view_host); |
899 virtual void RenderViewReady(RenderViewHost* render_view_host); | 903 virtual void RenderViewReady(RenderViewHost* render_view_host); |
900 virtual void RenderViewGone(RenderViewHost* render_view_host); | 904 virtual void RenderViewGone(RenderViewHost* render_view_host); |
901 virtual void RenderViewDeleted(RenderViewHost* render_view_host); | 905 virtual void RenderViewDeleted(RenderViewHost* render_view_host); |
902 virtual void DidNavigate(RenderViewHost* render_view_host, | 906 virtual void DidNavigate(RenderViewHost* render_view_host, |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1057 | 1061 |
1058 // AutoFillManager, lazily created. | 1062 // AutoFillManager, lazily created. |
1059 scoped_ptr<AutoFillManager> autofill_manager_; | 1063 scoped_ptr<AutoFillManager> autofill_manager_; |
1060 | 1064 |
1061 // PasswordManager, lazily created. | 1065 // PasswordManager, lazily created. |
1062 scoped_ptr<PasswordManager> password_manager_; | 1066 scoped_ptr<PasswordManager> password_manager_; |
1063 | 1067 |
1064 // PluginInstaller, lazily created. | 1068 // PluginInstaller, lazily created. |
1065 scoped_ptr<PluginInstaller> plugin_installer_; | 1069 scoped_ptr<PluginInstaller> plugin_installer_; |
1066 | 1070 |
| 1071 scoped_ptr<BlockedPluginManager> blocked_plugin_manager_; |
| 1072 |
1067 // Handles drag and drop event forwarding to extensions. | 1073 // Handles drag and drop event forwarding to extensions. |
1068 BookmarkDrag* bookmark_drag_; | 1074 BookmarkDrag* bookmark_drag_; |
1069 | 1075 |
1070 // Handles downloading favicons. | 1076 // Handles downloading favicons. |
1071 FavIconHelper fav_icon_helper_; | 1077 FavIconHelper fav_icon_helper_; |
1072 | 1078 |
1073 // Dialog box used for choosing files to upload from file form fields. | 1079 // Dialog box used for choosing files to upload from file form fields. |
1074 scoped_refptr<SelectFileDialog> select_file_dialog_; | 1080 scoped_refptr<SelectFileDialog> select_file_dialog_; |
1075 | 1081 |
1076 // Cached web app info data. | 1082 // Cached web app info data. |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1257 | 1263 |
1258 // See description above setter. | 1264 // See description above setter. |
1259 bool closed_by_user_gesture_; | 1265 bool closed_by_user_gesture_; |
1260 | 1266 |
1261 // --------------------------------------------------------------------------- | 1267 // --------------------------------------------------------------------------- |
1262 | 1268 |
1263 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1269 DISALLOW_COPY_AND_ASSIGN(TabContents); |
1264 }; | 1270 }; |
1265 | 1271 |
1266 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1272 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |