OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <map> | 10 #include <map> |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
16 #include "base/gfx/native_widget_types.h" | 16 #include "base/gfx/native_widget_types.h" |
17 #include "base/gfx/rect.h" | 17 #include "base/gfx/rect.h" |
18 #include "base/scoped_ptr.h" | 18 #include "base/scoped_ptr.h" |
19 #include "chrome/browser/autocomplete/autocomplete_edit.h" | 19 #include "chrome/browser/autocomplete/autocomplete_edit.h" |
20 #include "chrome/browser/cancelable_request.h" | 20 #include "chrome/browser/cancelable_request.h" |
21 #include "chrome/browser/download/save_package.h" | 21 #include "chrome/browser/download/save_package.h" |
22 #include "chrome/browser/fav_icon_helper.h" | 22 #include "chrome/browser/fav_icon_helper.h" |
23 #include "chrome/browser/find_notification_details.h" | 23 #include "chrome/browser/find_notification_details.h" |
24 #include "chrome/browser/shell_dialogs.h" | 24 #include "chrome/browser/shell_dialogs.h" |
25 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 25 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
26 #include "chrome/browser/renderer_host/render_view_host_manager.h" | |
27 #include "chrome/browser/tab_contents/constrained_window.h" | 26 #include "chrome/browser/tab_contents/constrained_window.h" |
28 #include "chrome/browser/tab_contents/infobar_delegate.h" | 27 #include "chrome/browser/tab_contents/infobar_delegate.h" |
29 #include "chrome/browser/tab_contents/navigation_controller.h" | 28 #include "chrome/browser/tab_contents/navigation_controller.h" |
30 #include "chrome/browser/tab_contents/page_navigator.h" | 29 #include "chrome/browser/tab_contents/page_navigator.h" |
| 30 #include "chrome/browser/tab_contents/render_view_host_manager.h" |
31 #include "chrome/common/url_constants.h" | 31 #include "chrome/common/url_constants.h" |
32 #include "chrome/common/gears_api.h" | 32 #include "chrome/common/gears_api.h" |
33 #include "chrome/common/navigation_types.h" | 33 #include "chrome/common/navigation_types.h" |
34 #include "chrome/common/notification_registrar.h" | 34 #include "chrome/common/notification_registrar.h" |
35 #include "chrome/common/page_action.h" | 35 #include "chrome/common/page_action.h" |
36 #include "chrome/common/property_bag.h" | 36 #include "chrome/common/property_bag.h" |
37 #include "chrome/common/renderer_preferences.h" | 37 #include "chrome/common/renderer_preferences.h" |
38 #include "net/base/load_states.h" | 38 #include "net/base/load_states.h" |
39 #include "webkit/glue/password_form.h" | 39 #include "webkit/glue/password_form.h" |
40 #include "webkit/glue/webpreferences.h" | 40 #include "webkit/glue/webpreferences.h" |
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 const SkBitmap& bitmap, | 761 const SkBitmap& bitmap, |
762 const ThumbnailScore& score); | 762 const ThumbnailScore& score); |
763 virtual void UpdateInspectorSettings(const std::wstring& raw_settings); | 763 virtual void UpdateInspectorSettings(const std::wstring& raw_settings); |
764 virtual void Close(RenderViewHost* render_view_host); | 764 virtual void Close(RenderViewHost* render_view_host); |
765 virtual void RequestMove(const gfx::Rect& new_bounds); | 765 virtual void RequestMove(const gfx::Rect& new_bounds); |
766 virtual void DidStartLoading(RenderViewHost* render_view_host); | 766 virtual void DidStartLoading(RenderViewHost* render_view_host); |
767 virtual void DidStopLoading(RenderViewHost* render_view_host); | 767 virtual void DidStopLoading(RenderViewHost* render_view_host); |
768 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host, | 768 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host, |
769 bool is_main_frame, | 769 bool is_main_frame, |
770 const GURL& url); | 770 const GURL& url); |
| 771 virtual void DidStartReceivingResourceResponse( |
| 772 ResourceRequestDetails* details); |
771 virtual void DidRedirectProvisionalLoad(int32 page_id, | 773 virtual void DidRedirectProvisionalLoad(int32 page_id, |
772 const GURL& source_url, | 774 const GURL& source_url, |
773 const GURL& target_url); | 775 const GURL& target_url); |
| 776 virtual void DidRedirectResource(ResourceRequestDetails* details); |
774 virtual void DidLoadResourceFromMemoryCache( | 777 virtual void DidLoadResourceFromMemoryCache( |
775 const GURL& url, | 778 const GURL& url, |
776 const std::string& frame_origin, | 779 const std::string& frame_origin, |
777 const std::string& main_frame_origin, | 780 const std::string& main_frame_origin, |
778 const std::string& security_info); | 781 const std::string& security_info); |
779 virtual void DidFailProvisionalLoadWithError( | 782 virtual void DidFailProvisionalLoadWithError( |
780 RenderViewHost* render_view_host, | 783 RenderViewHost* render_view_host, |
781 bool is_main_frame, | 784 bool is_main_frame, |
782 int error_code, | 785 int error_code, |
783 const GURL& url, | 786 const GURL& url, |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1082 // True if the user has decided to block future javascript messages. This is | 1085 // True if the user has decided to block future javascript messages. This is |
1083 // reset on navigations to false on navigations. | 1086 // reset on navigations to false on navigations. |
1084 bool suppress_javascript_messages_; | 1087 bool suppress_javascript_messages_; |
1085 | 1088 |
1086 // --------------------------------------------------------------------------- | 1089 // --------------------------------------------------------------------------- |
1087 | 1090 |
1088 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1091 DISALLOW_COPY_AND_ASSIGN(TabContents); |
1089 }; | 1092 }; |
1090 | 1093 |
1091 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1094 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |