| 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 CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ |
| 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ | 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ |
| 7 | 7 |
| 8 #include "content/browser/tab_contents/navigation_controller.h" | 8 #include "content/browser/tab_contents/navigation_controller.h" |
| 9 #include "content/common/page_transition_types.h" | 9 #include "content/common/page_transition_types.h" |
| 10 #include "ipc/ipc_channel.h" | 10 #include "ipc/ipc_channel.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 const NavigationController::LoadCommittedDetails& details, | 49 const NavigationController::LoadCommittedDetails& details, |
| 50 const ViewHostMsg_FrameNavigate_Params& params); | 50 const ViewHostMsg_FrameNavigate_Params& params); |
| 51 // |render_view_host| is the RenderViewHost for which the provisional load is | 51 // |render_view_host| is the RenderViewHost for which the provisional load is |
| 52 // happening. | 52 // happening. |
| 53 virtual void DidStartProvisionalLoadForFrame( | 53 virtual void DidStartProvisionalLoadForFrame( |
| 54 int64 frame_id, | 54 int64 frame_id, |
| 55 bool is_main_frame, | 55 bool is_main_frame, |
| 56 const GURL& validated_url, | 56 const GURL& validated_url, |
| 57 bool is_error_page, | 57 bool is_error_page, |
| 58 RenderViewHost* render_view_host); | 58 RenderViewHost* render_view_host); |
| 59 virtual void ProvisionalChangeToMainFrameUrl(const GURL& url); | 59 virtual void ProvisionalChangeToMainFrameUrl(const GURL& url, |
| 60 bool has_opener_set); |
| 60 virtual void DidCommitProvisionalLoadForFrame( | 61 virtual void DidCommitProvisionalLoadForFrame( |
| 61 int64 frame_id, | 62 int64 frame_id, |
| 62 bool is_main_frame, | 63 bool is_main_frame, |
| 63 const GURL& url, | 64 const GURL& url, |
| 64 PageTransition::Type transition_type); | 65 PageTransition::Type transition_type); |
| 65 virtual void DidFailProvisionalLoad(int64 frame_id, | 66 virtual void DidFailProvisionalLoad(int64 frame_id, |
| 66 bool is_main_frame, | 67 bool is_main_frame, |
| 67 const GURL& validated_url, | 68 const GURL& validated_url, |
| 68 int error_code); | 69 int error_code); |
| 69 virtual void DocumentLoadedInFrame(int64 frame_id); | 70 virtual void DocumentLoadedInFrame(int64 frame_id); |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 | 135 |
| 135 TabContents* tab_contents_; | 136 TabContents* tab_contents_; |
| 136 | 137 |
| 137 // The routing ID of the associated TabContents. | 138 // The routing ID of the associated TabContents. |
| 138 int routing_id_; | 139 int routing_id_; |
| 139 | 140 |
| 140 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver); | 141 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver); |
| 141 }; | 142 }; |
| 142 | 143 |
| 143 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ | 144 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ |
| OLD | NEW |